Remove implicit /debian from mirror
This commit is contained in:
parent
02a4b05e59
commit
e770efe64f
|
@ -29,7 +29,7 @@ show_help() {
|
||||||
echo -e " -o: Create the ISO as <output_filename> instead of the default."
|
echo -e " -o: Create the ISO as <output_filename> instead of the default."
|
||||||
echo -e " -u: Change 'deploy' user to a new username."
|
echo -e " -u: Change 'deploy' user to a new username."
|
||||||
echo -e " -c: Change CPU architecture to a new architecture [x86_64/aarch64]."
|
echo -e " -c: Change CPU architecture to a new architecture [x86_64/aarch64]."
|
||||||
echo -e " -m: Change the mirror server (default 'https://ftp.debian.org')."
|
echo -e " -m: Change the mirror server (default 'https://ftp.debian.org/debian')."
|
||||||
echo -e " -a: Preserve live-build artifacts."
|
echo -e " -a: Preserve live-build artifacts."
|
||||||
echo -e " -k: Preserve live-build config."
|
echo -e " -k: Preserve live-build config."
|
||||||
}
|
}
|
||||||
|
@ -101,7 +101,7 @@ if [[ -z ${deployusername} ]]; then
|
||||||
deployusername="deploy"
|
deployusername="deploy"
|
||||||
fi
|
fi
|
||||||
if [[ -z ${mirror_server} ]]; then
|
if [[ -z ${mirror_server} ]]; then
|
||||||
mirror_server="https://ftp.debian.org"
|
mirror_server="https://ftp.debian.org/debian"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p artifacts/lb
|
mkdir -p artifacts/lb
|
||||||
|
@ -116,7 +116,7 @@ echo "Initializing config..."
|
||||||
lb config \
|
lb config \
|
||||||
--distribution bullseye \
|
--distribution bullseye \
|
||||||
--archive-areas "main contrib non-free" \
|
--archive-areas "main contrib non-free" \
|
||||||
--mirror-bootstrap "${mirror_server}/debian" \
|
--mirror-bootstrap "${mirror_server}" \
|
||||||
--mirror-chroot-security "http://security.debian.org/debian-security" \
|
--mirror-chroot-security "http://security.debian.org/debian-security" \
|
||||||
--debconf-frontend readline \
|
--debconf-frontend readline \
|
||||||
--apt-recommends false \
|
--apt-recommends false \
|
||||||
|
|
|
@ -29,7 +29,7 @@ show_help() {
|
||||||
echo -e " -h: Display this help message."
|
echo -e " -h: Display this help message."
|
||||||
echo -e " -o: Create the PXE images under <outputdirectory> instead of the default."
|
echo -e " -o: Create the PXE images under <outputdirectory> instead of the default."
|
||||||
echo -e " -u: Change 'deploy' user to a new username."
|
echo -e " -u: Change 'deploy' user to a new username."
|
||||||
echo -e " -m: Change the mirror server (default 'https://ftp.debian.org')."
|
echo -e " -m: Change the mirror server (default 'https://ftp.debian.org/debian')."
|
||||||
echo -e " -a: Preserve live-build artifacts (passed through to buildiso.sh)."
|
echo -e " -a: Preserve live-build artifacts (passed through to buildiso.sh)."
|
||||||
echo -e " -k: Preserve live-build config (passed through to buildiso.sh)."
|
echo -e " -k: Preserve live-build config (passed through to buildiso.sh)."
|
||||||
echo -e " -i: Preserve live-build ISO image."
|
echo -e " -i: Preserve live-build ISO image."
|
||||||
|
|
Loading…
Reference in New Issue