subiquity: fix name of mdoules.squashfs to mount

ubuntu-cdimage/debian-cd/tools/add_live_filesystem helpfully adds a
'filesystem.' prefix to the squashfs, hence the name of the file
didn't match what's on disk.
snap-tool-base-none
Dimitri John Ledkov 6 years ago
parent ad4f8f745c
commit 98e0b1031d
No known key found for this signature in database
GPG Key ID: E8E84908F903AFB5

@ -68,7 +68,7 @@ esac
echo ${kernel_metapkg} > /run/kernel-meta-package
mkdir -p \$rootmnt/lib/modules
mount \$rootmnt/cdrom/casper/extras/modules.squashfs-$flavor \$rootmnt/lib/modules
mount \$rootmnt/cdrom/casper/extras/filesystem.modules.squashfs-$flavor \$rootmnt/lib/modules
EOF
chmod +x "$KERNEL_BITS_ROOT"/etc/initramfs-tools/scripts/init-bottom/live-server

Loading…
Cancel
Save