diff options
Diffstat (limited to 'repo/system')
-rw-r--r-- | repo/system/binutils.xibuild | 5 | ||||
-rw-r--r-- | repo/system/bzip2.xibuild | 6 | ||||
-rw-r--r-- | repo/system/efivar.xibuild | 7 | ||||
-rw-r--r-- | repo/system/glibc.xibuild | 2 | ||||
-rw-r--r-- | repo/system/grub.xibuild | 8 | ||||
-rw-r--r-- | repo/system/sysvinit.xibuild | 7 |
6 files changed, 21 insertions, 14 deletions
diff --git a/repo/system/binutils.xibuild b/repo/system/binutils.xibuild index bea9c90..2a71ffe 100644 --- a/repo/system/binutils.xibuild +++ b/repo/system/binutils.xibuild @@ -5,10 +5,13 @@ DEPS=(glib zlib elfutils) PKG_VER=2.37 SOURCE=https://ftp.gnu.org/gnu/binutils/binutils-$PKG_VER.tar.xz +ADDITIONAL=( + https://www.linuxfromscratch.org/patches/lfs/development/binutils-$PKG_VER-upstream_fix-1.patch + ) + DESC="tools for handling object files" prepare () { - curl -sSL https://www.linuxfromscratch.org/patches/lfs/development/binutils-$PKG_VER-upstream_fix-1.patch > binutils-$PKG_VER-upstream_fix-1.patch /usr/bin/patch -Np1 -i binutils-$PKG_VER-upstream_fix-1.patch # An error in the building system causes the shipped man pages to be empty. Workaround the issue and remove the shipped man pages, so the man pages will be regenerated correctly: diff --git a/repo/system/bzip2.xibuild b/repo/system/bzip2.xibuild index 4e04af3..ff2f2d0 100644 --- a/repo/system/bzip2.xibuild +++ b/repo/system/bzip2.xibuild @@ -10,15 +10,9 @@ DESC="a selection of programs for compressing and decompressing bzip2 files" prepare () { - #curl https://www.linuxfromscratch.org/patches/lfs/development/bzip2-$PKG_VER-install_docs-1.patch > bzip2-$PKG_VER-install_docs-1.patch - - #patch -Np1 -i bzip2-$PKG_VER-install_docs-1.patch - # ensure symbolic links are relative sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile - - #sed -i "s@(PREFIX)/man@(PREFIX)/share/man@g" Makefile } build () { diff --git a/repo/system/efivar.xibuild b/repo/system/efivar.xibuild index e01d66b..e4b38b2 100644 --- a/repo/system/efivar.xibuild +++ b/repo/system/efivar.xibuild @@ -5,11 +5,14 @@ DEPS=() PKG_VER=37 SOURCE=https://github.com/rhboot/efivar/releases/download/$PKG_VER/efivar-$PKG_VER.tar.bz2 +ADDITIONAL=( + https://www.linuxfromscratch.org/patches/blfs/svn/efivar-$PKG_VER-gcc_9-1.patch + ) + DESC="Tools and libraries to manupulate EFI variables" prepare () { - curl -SsL https://www.linuxfromscratch.org/patches/blfs/svn/efivar-$PKG_VER-gcc_9-1.patch > efivar-$PKG_VER.patch - patch -Np1 -i efivar-$PKG_VER.patch + patch -Np1 -i efivar-$PKG_VER-gcc_9.1.patch } build () { diff --git a/repo/system/glibc.xibuild b/repo/system/glibc.xibuild index c5cfd74..b9d6669 100644 --- a/repo/system/glibc.xibuild +++ b/repo/system/glibc.xibuild @@ -75,8 +75,6 @@ rpc: files # End /etc/nsswitch.conf EOF - - curl #install -m755 locale-gen "$PKG_DEST/usr/bin" #curl https://data.iana.org/time-zones/releases/tzdata2021e.tar.gz > tzdata2021e.tar.gz diff --git a/repo/system/grub.xibuild b/repo/system/grub.xibuild index 31eaff0..77647c9 100644 --- a/repo/system/grub.xibuild +++ b/repo/system/grub.xibuild @@ -5,11 +5,15 @@ DEPS=(sh xz gettext device-mapper efibootmgr freetype2) PKG_VER=2.06 SOURCE=https://ftp.gnu.org/gnu/grub/grub-$PKG_VER.tar.xz +ADDITIONAL=( + https://unifoundry.com/pub/unifont/unifont-13.0.06/font-builds/unifont-13.0.06.pcf.gz + ) + + DESC="GNU GRand Unified Bootloader v2" prepare () { - curl -SsL https://unifoundry.com/pub/unifont/unifont-13.0.06/font-builds/unifont-13.0.06.pcf.gz > unifont-13.0.06.pcf.gz - gunzip -c unifont-13.0.06.pcf.gz > /usr/share/fonts/unifont/unifont.pcf + gunzip -c unifont-13.0.06.pcf.gz > $PKG_DEST/usr/share/fonts/unifont/unifont.pcf unset {C,CPP,CXX,LD}FLAGS } diff --git a/repo/system/sysvinit.xibuild b/repo/system/sysvinit.xibuild index 63cd422..7d9add8 100644 --- a/repo/system/sysvinit.xibuild +++ b/repo/system/sysvinit.xibuild @@ -5,12 +5,17 @@ DEPS=(sh glibc) PKG_VER=3.01 SOURCE=http://download.savannah.nongnu.org/releases/sysvinit/sysvinit-$PKG_VER.tar.xz +ADDITIONAL=( + https://www.linuxfromscratch.org/patches/lfs/development/sysvinit-$PKG_VER-consolidated-1.patch + ) + DESC="The sysvinit system for controlling startup, running and shutdown of the system" + prepare () { - curl https://www.linuxfromscratch.org/patches/lfs/development/sysvinit-$PKG_VER-consolidated-1.patch > sysvinit-$PKG_VER-consolidated-1.patch patch -Np1 -i sysvinit-$PKG_VER-consolidated-1.patch } + build () { make } |