Commit 6ff35684 authored by Anton Midyukov's avatar Anton Midyukov

stage2, live-install: --no-hardlinks to squashcfg.mk if LIVE_INSTALL specified

--no-hardlinks is only needed for live, which will be installed.
parent 14ed7ccc
#!/bin/sh -efu
[ -n "${GLOBAL_LIVE_INSTALL:-}" ] || exit 0
[ -s /.image/squashcfg.mk ] || exit 1
sed -i 's/PACK_SQUASHFS_OPTS=/PACK_SQUASHFS_OPTS=-no-hardlinks /' /.image/squashcfg.mk
......@@ -55,4 +55,4 @@ options()
fi
}
echo "PACK_SQUASHFS_OPTS=-no-recovery -no-hardlinks `options`" > /.image/squashcfg.mk
echo "PACK_SQUASHFS_OPTS=-no-recovery `options`" > /.image/squashcfg.mk
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment