User Tools

Site Tools


lfs:pkg:efivar-37

efivar-37

Taille du paquet 390K
Somme de contrôle SHA256 4cd1aab9f3133d5c39b96ee5295a5ceee906d2677976e0f25ff3a11a994179b9
Estimation du temps de construction 20.934 secondes
Dependances popt-1.16
TIMEFORMAT='(BUSYBOX) Compilation de efivar-37 en %R seconds ...'
time {
wget https://github.com/rhboot/efivar/releases/download/37/efivar-37.tar.bz2 -O ${LFS}/download/efivar-37.tar.bz2  --no-check-certificate &&
wget http://www.linuxfromscratch.org/~xry111/efivar-37-gcc_9-1.patch -O ${LFS}/download/efivar-37-gcc_9-1.patch   --no-check-certificate &&
rm -Rf ${LFS}/src/efivar-37 &&
tar xjf ${LFS}/download/efivar-37.tar.bz2 -C ${LFS}/src &&
cd ${LFS}/src/efivar-37 &&
patch -Np1 -i ${LFS}/download/efivar-37-gcc_9-1.patch &&
make libdir=/usr/lib &&
make DESTDIR=$PWD/_pkg libdir=/usr/lib install &&
strip -v  _pkg/usr/bin/*
strip -v  _pkg/usr/lib/*
ln -s /usr/include/efivar/efiboot.h _pkg/usr/include/ &&
ln -s /usr/include/efivar/efivar.h _pkg/usr/include/ &&
tar -C _pkg/ -cvf ${LFS}/pkg/efivar-37.tar.gz ./ &&
cd "${LFS}/"
}


EOF

cat  > /wiki/efibootmgr-16.txt << EOF
# efibootmgr-16

EOF

echo "^ Taille du paquet | 5.0M |" >> /wiki/efibootmgr-16.txt
echo  "^ Somme de contrôle SHA256 | b5b14f41174e1e8879deda502d812349a7eaca63c349f366be4ed167d4c20f2d |" >> /wiki/efibootmgr-16.txt
echo "^ Estimation du temps de construction |3.411 secondes |" >> /wiki/efibootmgr-16.txt
cat >> /wiki/efibootmgr-16.txt << EOG

# Required: popt-1.16, efivar-37
TIMEFORMAT='(BUSYBOX) Compilation de efibootmgr-16 en %R seconds ...'
time {
wget https://github.com/rhboot/efibootmgr/archive/16.tar.gz -O ${LFS}/download/efibootmgr-16.tar.gz  --no-check-certificate &&
wget http://unifoundry.com/pub/unifont/unifont-12.1.03/font-builds/unifont-12.1.03.pcf.gz -O ${LFS}/download/unifont-12.1.03.pcf.gz --no-check-certificate &&
rm -Rf ${LFS}/src/efibootmgr-16 &&
tar xzf ${LFS}/download/efibootmgr-16.tar.gz -C ${LFS}/src &&
cd ${LFS}/src/efibootmgr-16 &&
make EFIDIR=LFS
mkdir -pv _pkg/usr/{sbin/,share/man/man8/} &&
install -v -D -m0755 src/efibootmgr _pkg/usr/sbin/efibootmgr &&
install -v -D -m0644 src/efibootmgr.8             _pkg/usr/share/man/man8/efibootmgr.8 &&
mkdir -pv _pkg/usr/share/fonts/unifont &&
gunzip -c ${LFS}/download/unifont-12.1.03.pcf.gz >  _pkg/usr/share/fonts/unifont/unifont.pc && 
strip -v _pkg/usr/sbin/*
tar -C _pkg/ -cvf ${LFS}/pkg/efibootmgr-16.tar.gz ./ &&
cd "${LFS}/"
}
lfs/pkg/efivar-37.txt · Last modified: 2025/02/19 10:59 by 127.0.0.1