config: enable ext4 rootfs and gzip
Also disable for x86 by default
This commit is contained in:
parent
b9749d61aa
commit
ed025d9baa
@ -79,7 +79,8 @@ menu "Target Images"
|
||||
|
||||
menuconfig TARGET_ROOTFS_EXT4FS
|
||||
bool "ext4"
|
||||
default n
|
||||
default y if USES_EXT4
|
||||
default n if TARGET_x86
|
||||
help
|
||||
Build an ext4 root filesystem.
|
||||
|
||||
@ -288,7 +289,8 @@ menu "Target Images"
|
||||
config TARGET_IMAGES_GZIP
|
||||
bool "GZip images"
|
||||
depends on TARGET_IMAGES_PAD || TARGET_ROOTFS_EXT4FS || TARGET_x86
|
||||
default n
|
||||
default y
|
||||
default n if TARGET_x86
|
||||
|
||||
comment "Image Options"
|
||||
|
||||
|
||||
@ -150,7 +150,7 @@ platform_do_upgrade_uDPU() {
|
||||
platform_copy_config_uDPU() {
|
||||
# Config is saved on the /misc partition and copied on the rootfs after the reboot
|
||||
if [ -f /tmp/sysupgrade.tgz ]; then
|
||||
cp -f /tmp/sysupgrade.tgz /tmp/syscfg/sysupgrade.tgz
|
||||
cp -f /tmp/sysupgrade.tgz /misc/
|
||||
sync
|
||||
fi
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user