Fixes regarding live-sdk.

This commit is contained in:
parazyd 2017-12-16 20:35:23 +01:00
parent c09251517d
commit 95146870fe
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
2 changed files with 13 additions and 3 deletions

View File

@ -87,10 +87,20 @@ iso_squash_strap() {
notice "creating squashfs out of strapdir"
[[ -n "$mkefi" ]] && _uefi_opt="-Xbcj x86"
case "$arch" in
amd64|i386)
_compfilt="-Xbcj x86"
;;
arm*)
_compfilt="-Xbcj arm"
;;
*)
_compfilt=""
;;
esac
pushd $workdir
sudo mksquashfs $strapdir binary/live/filesystem.squashfs \
-comp xz ${=_uefi_opt} -noappend || zerr
-comp xz ${=_compfilt} -noappend || zerr
popd
}

View File

@ -30,7 +30,7 @@ EOF
conf_print_fstab() {
fn conf_print_fstab
[[ -n "$livesdk_version" ]] && return
cat <<EOF
#<file system> <mount point> <type> <options> <dump> <pass>
# rootfs