Workaround for #1058994

fakeroot is not required for building the debian-installer
This commit is contained in:
Roland Clobus 2023-12-27 12:01:06 +01:00
parent e9dd83edf8
commit 3dbcbab578
No known key found for this signature in database
GPG Key ID: 62C57C6AA61495BD
1 changed files with 2 additions and 1 deletions

View File

@ -307,7 +307,8 @@ fi
# TARGETS -> only these targets are required # TARGETS -> only these targets are required
# USE_UDEBS_FROM -> use the same distribution as the chroot # USE_UDEBS_FROM -> use the same distribution as the chroot
export LINUX_KERNEL_ABI=\$(dpkg-query --showformat "\\\${db:Status-Abbrev} \\\${Package}\n" --show linux-image-* | awk '\$1=="ii" { c = split(\$2, a, "-"); if (c>4) { print a[3] "-" a[4] } }' | sort | tail -1) export LINUX_KERNEL_ABI=\$(dpkg-query --showformat "\\\${db:Status-Abbrev} \\\${Package}\n" --show linux-image-* | awk '\$1=="ii" { c = split(\$2, a, "-"); if (c>4) { print a[3] "-" a[4] } }' | sort | tail -1)
MIRROR="[check-valid-until=no] ${LB_PARENT_MIRROR_CHROOT}" TARGETS="build_cdrom_gtk build_cdrom_isolinux" USE_UDEBS_FROM=${LB_PARENT_DISTRIBUTION_CHROOT} bash ./daily-build build-only # ROOTCMD -> Workaround for #1058994. Fakeroot is not present in the chroot (and not required)
MIRROR="[check-valid-until=no] ${LB_PARENT_MIRROR_CHROOT}" TARGETS="build_cdrom_gtk build_cdrom_isolinux" USE_UDEBS_FROM=${LB_PARENT_DISTRIBUTION_CHROOT} ROOTCMD=" " bash ./daily-build build-only
EOF EOF
Chroot chroot "sh buildit.sh" Chroot chroot "sh buildit.sh"
# Place the files in the cache. Download_file will use the cache instead of downloading # Place the files in the cache. Download_file will use the cache instead of downloading