TODO: permission should be corrected before making packages, Slackware approach is:
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
lfs-gdbm.sh is temporarily changed: chmod 644 ${ENCAP}/${SRC}/usr/include/*.h
lfs-inetutils.sh is temporarily changed: chmod 755 ${ENCAP}/${SRC}/bin/* ${ENCAP}/${SRC}/sbin/*
man-db-2.5.9-encap-ix86-linux2.6.tar.gz made by epkg. lfs-man-db.sh changed
TODO: strip should be added to every package, Slackware approch is :
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
patch-2.6.1-encap-ix86-linux2.6.tar.gz made by epkg. lfs-patch.sh changed.
gcc-4.5.2-encap-ix86-linux2.6.tar.gz RE-made by epkg. lfs-gcc.sh changed. ldconfig was nagging:
/usr/lib/libstdc++.so.6.0.14-gdb.py is not an ELF file - it has the wrong magic bytes at the start
solved by moving /usr/lib/libstdc++.so.6.0.14-gdb.py to /usr/share/gcc-4.5.2/.
epkg user and group added to: lfs-create-files.sh
'epkg:x:98:98::/home/epkg:/bin/bash' added to /etc/passwd
'epkg:x:98:' added to /etc/group