Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion mklive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ umask 022

. ./lib.sh


## Store `lib.sh / XBPS_REPOSITORY` to `DEFAULT_XBPS_REPOSITORY`
DEFAULT_XBPS_REPOSITORY="${XBPS_REPOSITORY}"
## Reset `XBPS_REPOSITORY` to `empty string`
XBPS_REPOSITORY=""


REQUIRED_PKGS=(base-files libgcc dash coreutils sed tar gawk squashfs-tools xorriso)
TARGET_PKGS=(base-files)
INITRAMFS_PKGS=(binutils xz device-mapper dhclient dracut-network openresolv)
Expand Down Expand Up @@ -528,7 +535,11 @@ while getopts "a:b:r:c:C:T:Kk:l:i:I:S:e:s:o:p:g:v:P:x:Vh" opt; do
esac
done
shift $((OPTIND - 1))
XBPS_REPOSITORY="$XBPS_REPOSITORY --repository=https://repo-default.voidlinux.org/current --repository=https://repo-default.voidlinux.org/current/musl --repository=https://repo-default.voidlinux.org/current/aarch64"


#XBPS_REPOSITORY="$XBPS_REPOSITORY --repository=https://repo-default.voidlinux.org/current --repository=https://repo-default.voidlinux.org/current/musl --repository=https://repo-default.voidlinux.org/current/aarch64"
: ${XBPS_REPOSITORY:=${DEFAULT_XBPS_REPOSITORY}}


# Configure dracut to use overlayfs for the writable overlay.
BOOT_CMDLINE="$BOOT_CMDLINE rd.live.overlay.overlayfs=1 "
Expand Down