Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
46fd7c8
Minor Updates
voncloft Apr 6, 2021
0dce8c0
Minor Updates
voncloft Apr 28, 2021
a5d7e40
Minor Updates
voncloft Apr 28, 2021
12b2690
Minor Updates
voncloft Apr 28, 2021
e935f9a
Minor Updates
voncloft Apr 28, 2021
b788307
Minor Updates
voncloft Apr 28, 2021
d12ace0
Minor Updates
voncloft Apr 28, 2021
c51654c
Minor Updates
voncloft Apr 28, 2021
5a479d3
Minor Updates
voncloft Apr 28, 2021
d7509d5
Minor Updates
voncloft Apr 28, 2021
2bd782e
Minor Updates
voncloft Apr 29, 2021
561c149
Minor Updates
voncloft Apr 29, 2021
e925099
Minor Updates
voncloft Apr 29, 2021
255fcc6
Minor Updates
voncloft Apr 29, 2021
b828f45
Minor Updates
voncloft Apr 29, 2021
655588e
Minor Updates
voncloft Apr 29, 2021
081b428
Minor Updates
voncloft Apr 29, 2021
35c4906
Minor Updates
voncloft Apr 29, 2021
8e0374c
Minor Updates
voncloft Apr 29, 2021
16cd016
Minor Updates
voncloft May 1, 2021
8520012
Minor Updates
voncloft May 1, 2021
6d29e04
Minor Updates
voncloft May 1, 2021
71c1db7
Minor Updates
voncloft May 1, 2021
827c08c
fixed out of order problem causing perl-xml to fail
voncloft May 2, 2021
bfab414
removed linux install from script want to do it manually
voncloft May 2, 2021
651b5b1
Minor Updates
voncloft May 2, 2021
be288f7
Minor Updates
voncloft May 2, 2021
ec93d4a
Minor Updates
voncloft May 2, 2021
809d298
Minor Updates
voncloft May 3, 2021
b31becf
Minor Updates
voncloft May 3, 2021
eef05a3
Minor Updates
voncloft May 3, 2021
801fd9c
Minor Updates
voncloft May 10, 2021
bfb7dcf
Minor Updates
voncloft May 15, 2021
6f96c77
upgraded lib scratchpkg db thingy
voncloft Sep 9, 2021
a5b21ab
Minor Updates
voncloft Sep 9, 2021
81cd7c4
Minor Updates
voncloft Sep 9, 2021
41835dd
updated packages
voncloft Sep 9, 2021
2fe9a12
Minor Updates
voncloft Oct 5, 2021
da5e6e9
Minor Updates
voncloft Oct 5, 2021
7336223
Minor Updates
voncloft Oct 8, 2021
1f8df8e
Minor Updates
voncloft Nov 11, 2021
6f3ba55
Minor Updates
voncloft Nov 17, 2021
86a27e6
Minor Updates
voncloft Nov 30, 2021
9e7b94e
Minor Updates
voncloft Dec 10, 2021
30ee161
Minor Updates
voncloft Jan 9, 2022
10ea8be
Update Pkgfile
kizeren Jan 11, 2022
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
19 changes: 11 additions & 8 deletions 02-base
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash

### before starting the build decide whether you want sysvinit or systemd
LFS=/mnt/lfs
lfs_dirs() {
mkdir -pv $LFS/dev
mknod -m 600 $LFS/dev/console c 5 1 || true
Expand Down Expand Up @@ -148,14 +149,16 @@ if [ -x $LFS/usr/bin/env ]; then
else
ENVLFS=/tools/bin/env
fi

###add back into below for efi
#wget pkgutils libnl dbus libxml2 dhcpcd wpa_supplicant lzo lz4 squashfs-tools popt efivar pciutils efibootmgr libpng which freetype2 dosfstools grub-efi
###remember mbr = msdos gpt=efi
PKGS="filesystem linux-api-headers man-pages glibc tzdata zlib bzip2 file readline m4 bc binutils gmp mpfr mpc attr acl shadow gcc
pkg-config ncurses libcap sed psmisc iana-etc bison flex grep bash libtool gdbm gperf expat inetutils
perl perl-xml-parser intltool autoconf automake xz kmod gettext elfutils libffi openssl python3 coreutils
diffutils gawk findutils groff fuse2 grub less gzip iproute2 kbd libpipeline make patch man-db tar texinfo vim procps-ng
util-linux e2fsprogs sysklogd sysvinit eudev lfs-bootscripts linux-firmware libarchive mkinitramfs linux libtasn1 p11-kit ca-certificates
wget pkgutils libnl dbus libxml2 dhcpcd wpa_supplicant lzo lz4 squashfs-tools popt efivar pciutils efibootmgr libpng which freetype2 dosfstools grub-efi
curl ports httpup gpm libevent links mtools syslinux"
xz tar libarchive perl perl-xml-parser intltool autoconf automake kmod gettext elfutils libffi openssl python3 coreutils
diffutils gawk findutils groff fuse2 grub less gzip iproute2 kbd libpipeline make patch man-db texinfo procps-ng
util-linux e2fsprogs sysklogd sysvinit eudev lfs-bootscripts linux-firmware mkinitramfs libtasn1 p11-kit ca-certificates
wget pkgutils libnl dbus libxml2 dhcpcd wpa_supplicant lzo lz4 squashfs-tools popt pciutils libpng which freetype2 dosfstools
curl ports httpup gpm libevent links mtools syslinux nano git scratchpkg finalize"

if [ ! -f $LFS/var/lib/pkg/db ]; then
lfs_dirs
Expand All @@ -168,7 +171,7 @@ cp -Ra ports/* $LFS/usr/ports/

for pkg in $PKGS; do
case $pkg in
filesystem|gcc|bash|perl|coreutils) runinchroot pkgin -i -ic $pkg || die;;
filesystem|gcc|bash|perl|coreutils|scratchpkg) runinchroot pkgin -i -ic $pkg || die;;
*) runinchroot pkgin -i $pkg || die;;
esac
done
Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,16 @@ This repo contain scripts to automate multilib LFS build + livecd. This LFS buil
* wget
* passes lfs version-check.sh test
* squashfs-tools & libisoburn (optional to create the livecd iso)

* g++
* texinfo
* pkg-config
* m4
* gcc-multilib
* g++-multilib
- libarchive-dev
### Partition Notes
* MBR = BIOS
* GPT = EUFI (EWWWWW FI - I haaaaaate EUFI)
### Scripts

* 01-toolchain
Expand Down
Empty file added pkg/.placeholder
Empty file.
6 changes: 4 additions & 2 deletions ports/core/acl/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Depends on:

name=acl
version=2.2.53
version=2.3.1
release=1
source=(https://download.savannah.gnu.org/releases/$name/$name-$version.tar.gz)

Expand All @@ -16,7 +16,9 @@ build() {
--disable-static \
--libexecdir=/usr/lib
make
make DESTDIR=$PKG install
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make DESTDIR=$PKG install

mkdir -p $PKG/lib
mv -v $PKG/usr/lib/libacl.so.* $PKG/lib
Expand Down
4 changes: 3 additions & 1 deletion ports/core/attr/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Depends on:

name=attr
version=2.4.48
version=2.5.1
release=1
source=(https://download.savannah.gnu.org/releases/$name/$name-$version.tar.gz)

Expand All @@ -16,6 +16,8 @@ build() {
--disable-static \
--sysconfdir=/etc
make
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make DESTDIR=$PKG install

mkdir -p $PKG/lib
Expand Down
4 changes: 3 additions & 1 deletion ports/core/autoconf/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Depends on:

name=autoconf
version=2.69
version=2.71
release=1
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)

Expand All @@ -13,5 +13,7 @@ build() {

./configure --prefix=/usr
make
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make DESTDIR=$PKG install
}
4 changes: 3 additions & 1 deletion ports/core/automake/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Depends on:

name=automake
version=1.16.2
version=1.16.5
release=1
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)

Expand All @@ -13,5 +13,7 @@ build() {

./configure --prefix=/usr
make
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make DESTDIR=$PKG install
}
4 changes: 3 additions & 1 deletion ports/core/bash/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Depends on:

name=bash
version=5.0
version=5.1.16
release=1
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)

Expand All @@ -15,6 +15,8 @@ build() {
--without-bash-malloc \
--with-installed-readline
make
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make DESTDIR=$PKG install

mkdir -p $PKG/bin
Expand Down
4 changes: 3 additions & 1 deletion ports/core/bc/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Depends on:

name=bc
version=3.1.6
version=5.2.1
release=1
source=(https://github.com/gavinhoward/bc/archive/$version/bc-$version.tar.gz)

Expand All @@ -13,5 +13,7 @@ build() {

PREFIX=/usr CC=gcc CFLAGS="-std=c99" ./configure.sh -G -O3
make
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make DESTDIR=$PKG install
}
4 changes: 3 additions & 1 deletion ports/core/binutils/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Depends on:

name=binutils
version=2.35.1
version=2.37
release=1
source=(https://ftp.gnu.org/gnu/binutils/$name-$version.tar.xz)

Expand All @@ -26,5 +26,7 @@ build() {
--enable-multilib \
--with-lib-path=/usr/lib:/lib:/usr/lib32
make tooldir=/usr
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make tooldir=/usr DESTDIR=$PKG install
}
6 changes: 4 additions & 2 deletions ports/core/bison/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Depends on:

name=bison
version=3.7.3
version=3.8.2
release=1
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)

Expand All @@ -13,5 +13,7 @@ build() {

./configure --prefix=/usr
make -j1
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make -j1 DESTDIR=$PKG install
}
}
2 changes: 2 additions & 0 deletions ports/core/bzip2/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ build() {
make -f Makefile-libbz2_so
make clean
make
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make PREFIX=$PKG/usr install

mkdir -pv $PKG/{bin,lib,usr/lib}
Expand Down
3 changes: 2 additions & 1 deletion ports/core/ca-certificates/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ build() {

cp certdata.txt $PKG/etc/ssl
install -vm755 make-ca.sh-$version $PKG/usr/sbin/make-ca

mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
$PKG/usr/sbin/make-ca -D $PKG

ln -sv /etc/ssl/ca-bundle.crt $PKG/etc/ssl/certs/ca-certificates.crt
Expand Down
4 changes: 3 additions & 1 deletion ports/core/coreutils/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Depends on:

name=coreutils
version=8.32
version=9.0
release=1
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz
coreutils-i18n-1.patch)
Expand All @@ -23,6 +23,8 @@ build() {
--prefix=/usr \
--enable-no-install-program=kill,uptime
make
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make DESTDIR=$PKG install

mkdir -pv $PKG/{bin,usr/sbin}
Expand Down
4 changes: 3 additions & 1 deletion ports/core/curl/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Depends on: ca-certificates openssl

name=curl
version=7.73.0
version=7.81.0
release=1
source=(https://curl.haxx.se/download/$name-$version.tar.xz)

Expand All @@ -16,5 +16,7 @@ build() {
--enable-threaded-resolver \
--with-ca-path=/etc/ssl/certs
make
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make DESTDIR=$PKG install
}
2 changes: 2 additions & 0 deletions ports/core/dbus/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ build() {
--with-system-pid-file=/run/dbus/pid \
--with-system-socket=/run/dbus/system_bus_socket
make
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make DESTDIR=$PKG install

mkdir -p $PKG/lib
Expand Down
6 changes: 5 additions & 1 deletion ports/core/dhcpcd/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Depends on:

name=dhcpcd
version=9.3.2
version=9.4.1
bootscriptsversion=20201002
release=1
source=(https://roy.marples.name/downloads/dhcpcd/dhcpcd-$version.tar.xz
Expand All @@ -16,6 +16,8 @@ build() {
./configure --libexecdir=/lib/dhcpcd \
--dbdir=/var/lib/dhcpcd
make
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make DESTDIR=$PKG install

cd ../blfs-bootscripts-$bootscriptsversion
Expand All @@ -29,4 +31,6 @@ SERVICE="dhcpcd"
#DHCP_START="-b -q <insert appropriate start options here>"
#DHCP_STOP="-k <insert additional stop options here>"
EOF


}
4 changes: 3 additions & 1 deletion ports/core/diffutils/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Depends on: bash

name=diffutils
version=3.7
version=3.8
release=1
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)

Expand All @@ -13,5 +13,7 @@ build() {

./configure --prefix=/usr
make
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make DESTDIR=$PKG install
}
4 changes: 3 additions & 1 deletion ports/core/dosfstools/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Depends on:

name=dosfstools
version=4.1
version=4.2
release=1
source=(https://github.com/dosfstools/dosfstools/releases/download/v$version/dosfstools-$version.tar.xz)

Expand All @@ -16,5 +16,7 @@ build() {
--mandir=/usr/share/man \
--docdir=/usr/share/doc/$name
make
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make DESTDIR=$PKG install
}
2 changes: 2 additions & 0 deletions ports/core/e2fsprogs/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ build() {
--disable-uuidd \
--disable-fsck
make
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make DESTDIR=$PKG install
make DESTDIR=$PKG install-libs

Expand Down
2 changes: 2 additions & 0 deletions ports/core/efibootmgr/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ build() {
EFIDIR=/boot/efi make
install -D src/efibootmgr $PKG/usr/sbin/efibootmgr
install -D src/efibootmgr.8 $PKG/usr/share/man/man8/efibootmgr.8
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
}
2 changes: 2 additions & 0 deletions ports/core/efivar/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ build() {
cd $name-$version
sed -e 's/-Werror//g' -i gcc.specs
make -j1
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make libdir=/usr/lib DESTDIR=$PKG install
}
2 changes: 2 additions & 0 deletions ports/core/elfutils/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ build() {

./configure --prefix=/usr --program-prefix="eu-" --disable-debuginfod
make
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make DESTDIR=$PKG install
}
5 changes: 3 additions & 2 deletions ports/core/eudev/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Depends on:

name=eudev
version=3.2.9
version=3.2.10
release=1
source=(https://dev.gentoo.org/~blueness/$name/$name-$version.tar.gz)

Expand All @@ -22,7 +22,8 @@ build() {
--enable-manpages \
--disable-static
make

mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
mkdir -pv $PKG/lib/udev/rules.d
mkdir -pv $PKG/etc/udev/rules.d

Expand Down
4 changes: 3 additions & 1 deletion ports/core/expat/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Depends on:

name=expat
version=2.2.10
version=2.4.2
release=1
source=(https://sourceforge.net/projects/expat/files/expat/$version/expat-$version.tar.bz2)

Expand All @@ -17,5 +17,7 @@ build() {
./configure --prefix=/usr \
--disable-static
make
mkdir -pv $PKG/var/lib/scratchpkg/db
echo "$version release=1" >> $PKG/var/lib/scratchpkg/db/$name
make DESTDIR=$PKG install
}
Loading