From 7482f1af30eb5e40de00cd80e7b20c321c90d519 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 28 Feb 2018 00:52:03 +0100 Subject: Allow overriding files --- build_rootfs.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build_rootfs.sh b/build_rootfs.sh index 863ff3a..b672326 100755 --- a/build_rootfs.sh +++ b/build_rootfs.sh @@ -123,14 +123,14 @@ install_packages() { unpack disable_root -add_files $files_dir $instroot -if test -n "$files"; then - add_files $files $instroot -fi add_file $metadata $metadata_dir $dir add_files templates/ $dir/templates/ add_packages bin/packages/${ARCH}/${SUBARCH} update_packages install_packages "$packages" +add_files $files_dir $instroot +if test -n "$files"; then + add_files $files $instroot +fi pack #pack_squashfs -- cgit v1.2.3