Skip to content

Commit

Permalink
Adjust file results
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Mar 10, 2022
1 parent 3ce730b commit 3988313
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rebuild
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,8 @@ refactor_files() {
cp -rf ${tmp_armbian}/* ${tag_rootfs} && sync

# Unzip the relevant files
tar -xzf "${armbian_path}/boot-common.tar.gz" -C ${tag_bootfs}
tar -xzf "${armbian_path}/root-common.tar.gz" -C ${tag_rootfs}
tar -xJf "${armbian_path}/boot-common.tar.xz" -C ${tag_bootfs}
tar -xzf "${armbian_path}/firmware.tar.xz" -C ${tag_rootfs}/usr

# Copy the same files of the release for ROOTFS
[[ "$(ls ${configfiles_path}/files 2>/dev/null | wc -w)" -ne "0" ]] && cp -rf ${configfiles_path}/files/* ${tag_rootfs}
Expand Down

0 comments on commit 3988313

Please sign in to comment.