diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2018-02-28 00:52:03 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2018-02-28 00:52:03 +0100 |
commit | 7482f1af30eb5e40de00cd80e7b20c321c90d519 (patch) | |
tree | 9d3b49eab4fd1a69a5c87aaa82385bb203a88f5f | |
parent | 552543d717de964bc6ebc18c6926a7fcf1560537 (diff) |
Allow overriding files
-rwxr-xr-x | build_rootfs.sh | 8 |
1 files 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 |