Comment 23 for bug 1890803

Revision history for this message
Ryan Harper (raharper) wrote :

In case one wants to test a local initrd change, you can do this:

wget http://images.maas.io/ephemeral-v3/daily/groovy/amd64/20200812/ga-20.10/generic/boot-initrd
UNPACKED=`pwd`/unpacked
unmkinitramfs boot-initrd unpacked

# Make changes in unpacked/main/; repack with
NEW_INITRD=`pwd`/boot-initrd.new
(cd $UNPACKED/early && find . -print0 | cpio --null --create --format=newc) > ${NEW_INITRD}
(cd $UNPACKED/early2 && find . -print0 | cpio --null --create --format=newc) >> ${NEW_INITRD}
(cd $UNPACKED/main && find . -print0 | cpio --null --create --format=newc | lz4 -9 -l) >> ${NEW_INITRD}

With the linked MR patch to overlayroot in main/scripts/init-bottom/overlayroot curtin's vmtest GroovyTestBasic now passes (where it hung in the past).

Note, I'm fairly sure that Paride had groovy tests passing back in June or early July, so this squashfs removal of etc/fstab for *MAAS* images must have changed after we landed groovy release to curtin vmtest.