#!/bin/zsh
DO=$0
main() {
args build_dir fstab url
clone-depend sysresccd-squashfs-mounted url:
eval $(getvars)
patch_build_dir data/sysresccd-enable-supplement.patch -p1
fsapply_build_dir data/sysresccd-enable-supplement.fslist
#/livemnt/boot/supplement.dat /mnt/supplement squashfs defaults 0 0
confz fstab \
fstab=$build_dir/etc/fstab \
device=/livemnt/boot/supplement.dat \
mountpoint=/mnt/supplement \
filesystem=squashfs \
opts=loop,ro \
|| die "Could not update fstab"
}
. ./common.zsh
# vim: fileencoding=utf8 ft=zsh noet sw=4 ts=4 sts=4