fixed bug introduced in download_sources target

master
phanes 2023-04-02 18:49:57 -04:00
parent f276e5e3e7
commit 7428c41ce9
4 changed files with 9 additions and 2 deletions

View File

@ -99,6 +99,7 @@ master:
livecd:
set -e
make disarm_chroot
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/livecd.sh"
# example:

View File

@ -19,7 +19,6 @@ wget \
https://storage.darkhorselinux.org/sources/upstream_sources/ \
|| echofail "Downloading sources..."
echo "Validating source downloads..."
pushd ${dir_sources} 1>/dev/null 2>/dev/null

View File

@ -138,7 +138,7 @@ mode_build() {
--sysconfdir=/etc \
--disable-static \
--with-history \
--docdir=/usr/share/doc/${APPNAME}-${VERSION}
--docdir=/usr/share/doc/${APPNAME}-${VERSION} \
PYTHON=/usr/bin/python3
assert_zero $?

View File

@ -41,6 +41,13 @@ assert_zero $?
pushd ${dir_artifacts}
assert_zero $?
logprint "Emptying source stage..."
rm -Rf ${TEMP_STAGE_DIR}
assert_zero $?
rm -Rf /rex_embedded
assert_zero $?
logprint "Generating initramfs..."
# TODO chroot ignores this, and it breaks binutils pass 3
ulimit -n 3000000