Change 'LIVEBOOT' to 'LIVESYSTEM'

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I894684aac8d8831c7eb30e97c0aa35bcdb5affc7
This commit is contained in:
Dongjin Kim
2021-04-01 12:51:52 +09:00
parent 09c7fcf46e
commit ac136d299e
3 changed files with 5 additions and 5 deletions

View File

@@ -6,4 +6,4 @@ TARGET_DEVICE=/srv/workspace/odroid-stamper/binary.img
DEFAULT_USER=odroid
DEFAULT_PASSWD=odroid
ALLOW_ROOT_LOGIN=false
LIVEBOOT=true
LIVESYSTEM=true

View File

@@ -3,7 +3,7 @@
echo flash-kernel flash-kernel/linux_cmdline string @@LINUX_KERNEL_CMDLINE@@ | \
debconf-set-selections
if [ "x@@LIVEBOOT@@" = "xtrue" ]; then
if [ "x@@LIVESYSTEM@@" = "xtrue" ]; then
cat>/usr/share/flash-kernel/preboot.d/upstream/99-liveboot<<__EOF
setenv bootargs "\${bootargs} boot=casper toram"
__EOF

View File

@@ -110,7 +110,7 @@ get_flavour_packages() {
[ -f custom/${CUSTOMOS}/packages ] &&
pkgs="${pkgs} $(get_packages custom/${CUSTOMOS}/packages)"
if [ "x${LIVEBOOT}" = "xtrue" ]; then
if [ "x${LIVESYSTEM}" = "xtrue" ]; then
pkgs="${pkgs} casper"
fi
@@ -318,7 +318,7 @@ do_preinstall() {
-e "s,@@DEFAULT_USER@@,$(default_user),g" \
-e "s,@@DEFAULT_USER_PASSWD@@,$(default_user_passwd),g" \
-e "s,@@DEFAULT_DISTRO@@,${DISTRO},g" \
-e "s,@@LIVEBOOT@@,${LIVEBOOT},g" \
-e "s,@@LIVESYSTEM@@,${LIVESYSTEM},g" \
${fixup}
done
@@ -420,7 +420,7 @@ do_create_image() {
do_postinstall
do_cleanup
do_unmount
if [ "x${LIVEBOOT}" = "xtrue" ]; then
if [ "x${LIVESYSTEM}" = "xtrue" ]; then
do_create_squashfs ${baseimage}
else
do_create_partition ${baseimage} 256