mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 01:48:42 +09:00
Change 'LIVEBOOT' to 'LIVESYSTEM'
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I894684aac8d8831c7eb30e97c0aa35bcdb5affc7
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user