diff options
Diffstat (limited to 'scripts/build_rootfs.sh')
-rwxr-xr-x | scripts/build_rootfs.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build_rootfs.sh b/scripts/build_rootfs.sh index dd8ca1d..8c1f6ea 100755 --- a/scripts/build_rootfs.sh +++ b/scripts/build_rootfs.sh @@ -66,10 +66,12 @@ OPKG="env LD_PRELOAD= IPKG_NO_SCRIPT=1 IPKG_INSTROOT=$instroot $SDK/staging_dir/ unpack() { mkdir -p $instroot cat $src_tar | (cd $instroot && tar -xz) + mkdir -p $instroot/var/lock/ } pack() { echo Pack rootfs + (cd $instroot && rm -rf var/lock/) if test -n "$metadata"; then (cd $dir && tar -cz *) > $dst_file else |