Skip to content

Commit

Permalink
Tweak dependency checking
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Jan 22, 2022
1 parent f804156 commit c08dbd4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rebuild
Original file line number Diff line number Diff line change
Expand Up @@ -449,9 +449,13 @@ copy_files() {
rm -f etc/systemd/system/basic.target.wants/armbian-resize-filesystem.service 2>/dev/null
rm -f var/lib/dpkg/info/linux-image* 2>/dev/null

# renaming/disabling related files
# Renaming/disabling related files
mv -f etc/udev/rules.d/hdmi.rules etc/udev/rules.d/hdmi.rules.bak 2>/dev/null

# Add other files
[ -f "usr/bin/ddbr" ] || cp -f ${configfiles_path}/patches/rootfs/usr/bin/ddbr usr/bin/
[ -f "usr/bin/uuidgen" ] || cp -f ${configfiles_path}/patches/rootfs/usr/bin/uuidgen usr/bin/

# Edit the etc/fstab
[ -f "etc/fstab" ] || error_msg "The etc/fstab File does not exist."
sed -i "s|LABEL=ROOTFS|UUID=${ROOTFS_UUID}|g" etc/fstab
Expand Down

0 comments on commit c08dbd4

Please sign in to comment.