mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-24 07:46:41 +00:00
Change format for rootfs to gzip
This commit is contained in:
parent
08b64592e2
commit
deb2e46c5d
@ -15,8 +15,8 @@ docker run --rm \
|
||||
-v `pwd`:/source \
|
||||
-v `pwd`/dest:/dest \
|
||||
supervisor-base-builder
|
||||
if [ -f dest/rootfs.tar.bz2 ]; then
|
||||
cat dest/rootfs.tar.bz2 | docker import - $REPO:$date
|
||||
if [ -f dest/rootfs.tar.gz ]; then
|
||||
cat dest/rootfs.tar.gz | docker import - $REPO:$date
|
||||
docker tag -f $REPO:$date $REPO:latest
|
||||
docker push $REPO
|
||||
else
|
||||
|
@ -10,4 +10,4 @@ cd $BUILD_DIR
|
||||
source oe-core/oe-init-build-env build bitbake
|
||||
bitbake core-image-minimal
|
||||
qemu=$(cat conf/local.conf | grep '^MACHINE ??= ' | grep -o '"[^"]\+"' | tr -d '"')
|
||||
cp --dereference tmp/deploy/images/$qemu/core-image-minimal-$qemu.tar.bz2 $DEST_DIR/rootfs.tar.bz2
|
||||
cp --dereference tmp/deploy/images/$qemu/core-image-minimal-$qemu.tar.gz $DEST_DIR/rootfs.tar.gz
|
||||
|
@ -11,6 +11,7 @@
|
||||
# the option is a question of removing the # character and making any change to the
|
||||
# variable as required.
|
||||
|
||||
|
||||
#
|
||||
# Machine Selection
|
||||
#
|
||||
@ -131,6 +132,7 @@ EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
|
||||
# NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended
|
||||
# image-prelink disabled for now due to issues with IFUNC symbol relocation
|
||||
USER_CLASSES ?= "buildstats image-mklibs"
|
||||
IMAGE_FSTYPES ?= "tar.gz"
|
||||
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user