-Enlever automatiquement les patches antérieures du style:
[module]-[version]-[nom_patch]-[version_patch]
--install guitartex
-
-installer modes emacs: php, html, css, etc.
-install gdb.
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=17
CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
-# CONFIG_CGROUPS is not set
+CONFIG_CGROUPS=y
+# CONFIG_CGROUP_DEBUG is not set
+# CONFIG_CGROUP_FREEZER is not set
+# CONFIG_CGROUP_DEVICE is not set
+# CONFIG_CPUSETS is not set
+# CONFIG_CGROUP_CPUACCT is not set
+# CONFIG_RESOURCE_COUNTERS is not set
+# CONFIG_CGROUP_PERF is not set
+CONFIG_CGROUP_SCHED=y
+CONFIG_FAIR_GROUP_SCHED=y
+# CONFIG_CFS_BANDWIDTH is not set
+# CONFIG_RT_GROUP_SCHED is not set
+# CONFIG_BLK_CGROUP is not set
# CONFIG_CHECKPOINT_RESTORE is not set
CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
# CONFIG_USER_NS is not set
# CONFIG_PID_NS is not set
# CONFIG_NET_NS is not set
-# CONFIG_SCHED_AUTOGROUP is not set
+CONFIG_SCHED_AUTOGROUP=y
# CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set
# CONFIG_BLK_DEV_INITRD is not set
CONFIG_DNS_RESOLVER=y
# CONFIG_BATMAN_ADV is not set
# CONFIG_OPENVSWITCH is not set
+# CONFIG_NETPRIO_CGROUP is not set
CONFIG_BQL=y
CONFIG_HAVE_BPF_JIT=y
# CONFIG_BPF_JIT is not set
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
-# CONFIG_DEVTMPFS is not set
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
#
# CONFIG_HYPERV is not set
# CONFIG_STAGING is not set
-# CONFIG_X86_PLATFORM_DEVICES is not set
+CONFIG_X86_PLATFORM_DEVICES=y
+# CONFIG_ACER_WMI is not set
+# CONFIG_ACERHDF is not set
+# CONFIG_ASUS_LAPTOP is not set
+# CONFIG_DELL_WMI is not set
+# CONFIG_DELL_WMI_AIO is not set
+# CONFIG_FUJITSU_LAPTOP is not set
+# CONFIG_FUJITSU_TABLET is not set
+# CONFIG_HP_ACCEL is not set
+# CONFIG_HP_WMI is not set
+# CONFIG_PANASONIC_LAPTOP is not set
+# CONFIG_THINKPAD_ACPI is not set
+# CONFIG_SENSORS_HDAPS is not set
+# CONFIG_INTEL_MENLOW is not set
CONFIG_ACPI_WMI=y
+# CONFIG_MSI_WMI is not set
+# CONFIG_TOPSTAR_LAPTOP is not set
+# CONFIG_ACPI_TOSHIBA is not set
+# CONFIG_TOSHIBA_BT_RFKILL is not set
+# CONFIG_ACPI_CMPC is not set
+# CONFIG_INTEL_IPS is not set
+# CONFIG_IBM_RTL is not set
+# CONFIG_XO15_EBOOK is not set
+# CONFIG_SAMSUNG_LAPTOP is not set
CONFIG_MXM_WMI=y
+# CONFIG_SAMSUNG_Q10 is not set
+# CONFIG_APPLE_GMUX is not set
#
# Hardware Spinlock drivers
-
#!/bin/sh
${INTLTOOL}: ${PERL_MOD_XML_PARSER}
${GUILE}:
${GNUTLS}: ${LIBGCRYPT} ${LIBTASN1} ${GUILE}
-${LIBIDL}: ${GLIB}
-${ORBIT2}: ${LIBIDL} ${OPENSSL}
-${GCONF}: ${ORBIT2} ${POLKIT} ${GTK} ${DBUS_GLIB}
+${GCONF}: ${GTK} ${DBUS_GLIB}
${LIBPROXY}: ${GCONF}
${GNOME_KEYRING}: ${GCONF} ${LIBTASN1} ${LIBGCRYPT}
${RUBBERBAND}: ${LIBSNDFILE} ${FFTW} ${VAMP}
${RALENTI}: ${RUBBERBAND} ${LIBSNDFILE}
+
+${MAN_DB}: ${LIBPIPELINE}
ATK="atk-2.4.0"
ATKMM="atkmm-2.22.6"
AUDIOFILE="audiofile-0.3.2"
-AUTOCONF="autoconf-2.68"
-AUTOMAKE="automake-1.11.1"
+AUTOCONF="autoconf-2.69"
+AUTOMAKE="automake-1.12.2"
BABL="babl-0.1.6"
BASH="bash-4.2"
CKERMIT="ckermit-8.0.211"
CHORDPACK="chordpack-0.8.2"
CLAMAV="clamav-0.93.3"
-CLOOG_PPL="cloog-ppl-0.15.11"
+CLOOG="cloog-0.16.3"
COLORDIFF="colordiff-1.0.9"
-COREUTILS="coreutils-8.14"
+COREUTILS="coreutils-8.16"
CPIO="cpio-2.11"
CUPS="cups-1.4.8"
CUPS_PDF="cups-pdf-2.5.1"
E2FSPROGS="e2fsprogs-1.42.5"
EASYTAG="easytag-2.1.6"
-EGLIBC="eglibc-2.13-r13356"
-EGLIBC_PORTS="eglibc-ports-2.13-r13356"
+EGLIBC="eglibc-2.15-r17386"
+EGLIBC_PORTS="eglibc-ports-2.15-r17386"
UCLIBC="uClibc-0.9.30.1"
-EMACS="emacs-23.3"
+EMACS="emacs-24.1"
ESOUND="esound-0.2.37"
EVINCE="evince-2.32.0"
EXPAT="expat-2.0.1"
FFMPEG="ffmpeg-0.10.2"
FFTW="fftw-3.3"
FIREFOX="firefox-12.0"
-FILE_PKG="file-5.09"
+FILE_PKG="file-5.11"
FINDUTILS="findutils-4.4.2"
FIRMWARE_B43_LPPHY="broadcom-wl-4.178.10.4"
FLAC="flac-1.2.1"
FUSE="fuse-2.8.6"
B43_FWCUTTER="b43-fwcutter-013"
-GAWK="gawk-4.0.0"
-GCC="gcc-4.6.2"
+GAWK="gawk-4.0.1"
+GCC="gcc-4.6.3"
# Specify bug-fixing patches manually
#GCC_PATCHES="branch_update-1"
-GCONF="GConf-2.32.3"
+GCONF="GConf-3.2.5"
GDB="gdb-6.4"
GDBM="gdbm-1.10"
GDK_PIXBUF="gdk-pixbuf-2.26.1"
GLIB="glib-2.32.1"
GLIBMM="glibmm-2.32.0"
GLITZ="glitz-0.5.6"
-GMP="gmp-5.0.2"
+GMP="gmp-5.0.5"
GNASH=" gnash-0.8.9"
GNOME_KEYRING="gnome-keyring-2.32.1"
GNOME_ICON_THEME="gnome-icon-theme-2.30.3"
GOBJECT_INSTROSPECTION="gobject-introspection-1.32.1"
GOFFICE="goffice-0.8.17"
GPERF="gperf-3.0.4"
-GREP="grep-2.10"
+GREP="grep-2.12"
GRIP="grip-3.4.0"
GROFF="groff-1.21"
GRUB="grub-1.99"
IMAGE_MAGICK="ImageMagick-6.6.8-1"
IMLIB2="imlib-1.4.2"
INDENT="indent-2.2.10"
-INETUTILS="inetutils-1.8"
+INETUTILS="inetutils-1.9.1"
INKSCAPE="inkscape-0.48.3.1"
INTLTOOL="intltool-0.50.0"
-IPROUTE2="iproute2-3.1.0"
+IPROUTE2="iproute2-3.3.0"
IPTABLES="iptables-1.4.14"
ISO_CODES="iso-codes-3.23"
JACK="jack-audio-connection-kit-0.121.3"
JASPER="jasper-1.900.1"
-KBD="kbd-1.15.2"
+KBD="kbd-1.15.3"
KERBEROS5="krb5-1.10"
KERNEL="linux-3.4.7"
KVM="kvm-84"
LIBGPG_ERROR="libgpg-error-1.10"
LIBGSF="libgsf-1.14.19"
LIBID3TAG="libid3tag-0.15.1b"
-LIBIDL="libIDL-0.8.14"
LIBJPEG="libjpeg-8c"
LIBMAD="libmad-0.15.1b"
LIBMNG="libmng-1.0.10"
LIBOIL="liboil-0.3.17"
LIBOPENJPEG="openjpeg_v1_4_sources_r697"
LIBPCAP="libpcap-1.1.1"
-LIBPIPELINE="libpipeline-1.2.0"
-LIBPNG="libpng-1.5.5"
+LIBPIPELINE="libpipeline-1.2.1"
+LIBPNG="libpng-1.5.12"
LIBPTHREAD_STUBS="libpthread-stubs-0.3"
LIBRSVG="librsvg-2.32.1"
LIBSAMPLERATE="libsamplerate-0.1.8"
LYNX="lynx2.8.7rel.2"
MAKE_PACKAGE="make-3.82"
-MAN_DB="man-db-2.6.0.2"
-MANPAGES="man-pages-3.35"
+MAN_DB="man-db-2.6.2"
+MANPAGES="man-pages-3.41"
MFOUR="m4-1.4.16"
MILTER_GREYLIST="milter-greylist-4.0"
MILTER_SPF="smf-spf-2.0.1"
MOC="moc-2.4.4"
-MODULE_INIT_TOOLS="module-init-tools-3.16"
+KMOD="kmod-8"
MPC="mpc-0.9"
MPFR="mpfr-3.1.0"
MUTT="mutt-1.5.21"
OPENSSH="openssh-5.9p1"
OPENSSL="openssl-1.0.0e"
OPENSSL_ROOT_CERTS="BLFS-ca-bundle-3.12.8.0"
-ORBIT2="ORBit2-2.14.19"
PAM="Linux-PAM-1.1.5"
PANGO="pango-1.30.0"
PPL="ppl-0.11.2"
PROCMAIL="procmail-3.22"
PROCPS="procps-3.2.8"
-PSMISC="psmisc-22.13"
+PSMISC="psmisc-22.17"
PYCAIRO="py2cairo-1.10.0"
PYGOBJECT="pygobject-2.28.6"
PYGTK="pygtk-2.24.0"
-PYTHON="Python-2.7.2"
+PYTHON="Python-2.7.3"
QT="qt-everywhere-opensource-src-4.7.1"
SGML_DTD4_VER="4.5"
SGML_DTD4="sgml-dtd-${SGML_DTD4_VER}"
SGML_SPM="SGMLSpm-1.03ii"
-SHADOW="shadow-4.1.4.3"
+SHADOW="shadow-4.1.5.1"
SHARED_MIME_INFO="shared-mime-info-0.90"
SPAMASSASSIN="Mail-SpamAssassin-3.3.1"
SPEEX="speex-1.2rc1"
SSMTP="ssmtp-2.64"
STARTUP_NOTIFICATION="startup-notification-0.9"
STRACE="strace-4.6"
-SUBVERSION="subversion-1.7.2"
+SUBVERSION="subversion-1.7.5"
SYLPHEED="sylpheed-3.2.0"
SUDO="sudo-1.8.2"
SYSKLOGD="sysklogd-1.5"
TK="tk8.5.9-src"
TRANSMISSION="transmission-2.33"
-UDEV="udev-173"
+UDEV="udev-182"
UML_UTILITIES="uml_utilities_20070815"
UNRAR="unrar-3.9.10"
UNZIP="unzip-6.0"
WINDOWMAKER_EXTRA="WindowMaker-extra-0.1"
WIRELESS_TOOLS="wireless_tools.29"
WMNOTIFY="wmnotify-1.0.0"
-WPA_SUPPLICANT="wpa_supplicant-0.7.3"
+WPA_SUPPLICANT="wpa_supplicant-1.0"
WV="wv-1.2.9"
XORG_VER="7.7-1"
YASM="yasm-1.1.0"
ZIP="zip-3.0"
-ZLIB="zlib-1.2.5"
+ZLIB="zlib-1.2.7"
LFS_PACKAGES_URL="ftp://ftp.osuosl.org/pub/lfs/lfs-packages/conglomeration"
CLFS_PKG_SVN_URL="http://cross-lfs.org/files/packages/svn"
+CLFS_PKG_COSMO_URL="http://cross-lfs.org/~cosmo/sources"
BLFS_XORG_URL="http://anduin.linuxfromscratch.org/files/BLFS/svn/xorg"
BLFS_SVN_SRC_URL="http://anduin.linuxfromscratch.org/sources/BLFS/svn"
BLFS_PM_URL="${BLFS_SVN_SRC_URL}/perl-modules"
set -o errtrace # Let shell functions inherit ERR trap.
set -o errexit
+# Don' t locate and remember (hash) commands as they are looked up for
+# execution (don' t remember path):
+set +h
+
hvtrap_setup()
{
# Setting ERR trap does implicit `set -o errexit'.
--disable-optimization \
--with-libgmp-prefix=/cross-tools \
--with-libgmpxx-prefix=/cross-tools"
-ipkg ${CLOOG_PPL} "\
+ipkg ${CLOOG} "\
--enable-shared \
--with-bits=gmp \
- --with-gmp=/cross-tools \
- --with-ppl=/cross-tools"
+ --with-gmp=/cross-tools"
LDFLAGS=""
fpkg -e "tar.gz" ${MPC} "http://www.multiprecision.org/mpc/download"
fpkg -s "$(get_pkg_ver ${PPL})" ${PPL} \
"http://bugseng.com/products/ppl/download/ftp/releases"
-fpkg -e "tar.gz" ${CLOOG_PPL} "ftp://gcc.gnu.org/pub/gcc/infrastructure"
+fpkg -e "tar.gz" ${CLOOG} "http://www.bastoul.net/cloog/pages/download"
fpkg -e "tar.bz2" -m gnu ${BINUTILS}
# For GCC, we don't use LFS or BLFS patches because we want to carefully
USE_LFS_PATCHES=1
USE_BLFS_PATCHES=1
-fpkg ${EGLIBC} ${CLFS_PKG_SVN_URL}
-fpkg ${EGLIBC_PORTS} ${CLFS_PKG_SVN_URL}
+fpkg ${EGLIBC} ${CLFS_PKG_COSMO_URL}
+fpkg ${EGLIBC_PORTS} ${CLFS_PKG_COSMO_URL}
exit $?
--- /dev/null
+#!/bin/bash
+
+hvconfig_pre()
+{
+ # Prevents the configure script from setting LD_LIBRARY_PATH when it finds
+ # PPL. This will prevent any conflicts with libraries from the host system.
+ sed -e "/LD_LIBRARY_PATH=/d" -i ${LFS_TMP}/${PACKAGE}/configure
+}
+++ /dev/null
-#!/bin/bash
-
-hvconfig_pre()
-{
- # Prevents the configure script from setting LD_LIBRARY_PATH when it finds PPL.
- # This will prevent any conflicts with libraries from the host system.
- sed -e "/LD_LIBRARY_PATH=/d" -i ${LFS_TMP}/${PACKAGE}/configure
-}
EOF
}
+hvbuild()
+{
+ ${HVMAKE}
+ ${HVMAKE} install inst_vardbdir=/tools/var/db
+}
+
hvconfig_post()
{
unset BUILD_CC
--with-gmp=/cross-tools \
--with-ppl=/cross-tools \
--with-cloog=/cross-tools \
+ --enable-cloog-backend=isl \
--disable-multilib"
if [ "x${HVLABEL}" = "x${GCC}-pass1" ]; then
case "$1" in
start)
+ # /dev is automatically mounted by the kernel
+
# The "-n: option tells mount not to write to the /etc/mtab
# file (because /etc/mtab is a symbolic link to /proc/mounts,
# which we are in the process of mounting).
- cmd_run_log_box "Mounting /proc file system" mount -n proc
- cmd_run_log_box "Mounting /sys file system" mount sys
+ cmd_run_log_box "Mounting /proc" mount -n /proc
+ cmd_run_log_box "Mounting /sys" mount /sys
+ cmd_run_log_box "Mounting /run" mount /run
;;
stop)
# udev
# Udev cold-plugging script
-DAEMON=/sbin/udevd
+DAEMON=/lib/udev/udevd
DAEMON_DESC=UDEV
DAEMON_OPTS="--daemon"
udev_coldplug()
{
# Unlikely, but we may be faster than the first event
- mkdir -p /dev/.udev/queue &&
+ mkdir -p /dev/udev/queue &&
# Configure all devices
- /sbin/udevadm trigger &&
+ /bin/udevadm trigger --action=add --type=subsystems &&
+ /bin/udevadm trigger --action=add --type=devices &&
# Now wait for udevd to process the uevents we triggered
- /sbin/udevadm settle
+ /bin/udevadm settle
}
udev_start()
{
+ # Udev handles uevents itself, so we don't need to have
+ # the kernel call out to any binary in response to them
echo "" > /sys/kernel/uevent_helper &&
# Start the udev daemon to continually watch for, and act on uevents
boot_failure "FAILURE: Unable to create devices without a SysFS filesystem."
fi
- # Mount a temporary file system over /dev, so that any devices
- # made or removed during this boot don't affect the next one.
- # The reason we don't write to mtab is because we don't ever
- # want /dev to be unavailable (such as by `umount -a').
- cmd_run_log_box "Mounting /dev in tmpfs" mount -n -t tmpfs -o mode=0755 udev /dev
cmd_run_log_box "Copying static /dev entries" cp --preserve=all --recursive --remove-destination /lib/udev/devices/* /dev
cmd_run_log_box "Setting permissons on /dev/shm" chmod 1777 /dev/shm
cat >> ${LFS}/etc/fstab << "EOF"
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
+tmpfs /run tmpfs defaults 0 0
devpts /dev/pts devpts gid=4,mode=620 0 0
shm /dev/shm tmpfs defaults 0 0
EOF
source ../functions/main
mkdir -pv ${LFS}/{bin,boot,dev,{etc/,}opt,home,lib,mnt}
-mkdir -pv ${LFS}/{proc,media,sbin,srv,sys}
+mkdir -pv ${LFS}/{proc,media,run,sbin,srv,sys}
mkdir -pv ${LFS}/var/{lock,log,mail,run,spool}
mkdir -pv ${LFS}/var/{opt,cache,lib/{misc,locate},local}
fi
done
+# 'env' symlink is for glib
source=/tools/bin
target=${LFS}/usr/bin
-link=${source}/file
-if [ ! -L ${target}/$(basename ${link}) ]; then
- ln -sv ${link} ${target}
-fi
+for link in ${source}/{env,file}; do
+ if [ ! -L ${target}/$(basename ${link}) ]; then
+ ln -sv ${link} ${target}
+ fi
+done
source=/tools/lib
target=${LFS}/usr/lib
--disable-optimization \
--with-libgmp-prefix=/tools \
--with-libgmpxx-prefix=/tools"
-ipkg ${CLOOG_PPL} "\
+ipkg ${CLOOG} "\
--enable-shared \
- --with-bits=gmp \
- --with-gmp=/tools \
- --with-ppl=/tools"
+ --with-gmp=/tools"
ipkg -m acnb ${ZLIB}
ipkg ${BINUTILS}
ipkg ${GCC}
--disable-makeinstall-chown"
ipkg ${E2FSPROGS}
ipkg -m noac ${SYSVINIT}
-ipkg ${MODULE_INIT_TOOLS}
+ipkg ${KMOD}
ipkg ${UDEV}
ipkg -c -m noac ${KERNEL}
lpkg 0 ${MPFR}
lpkg 0 ${MPC}
lpkg 0 ${PPL}
-lpkg 0 ${CLOOG_PPL}
+lpkg 0 ${CLOOG}
lpkg 0 ${BINUTILS}
lpkg 0 ${GCC}
lpkg 0 ${NCURSES}
${UTIL_LINUX} ${KERNEL_URL}
fpkg -m sf ${E2FSPROGS}
fpkg ${SYSVINIT} "http://download.savannah.gnu.org/releases/sysvinit"
-fpkg -s "linux/utils/kernel/module-init-tools" ${MODULE_INIT_TOOLS} \
- ${KERNEL_URL}
+fpkg -e "tar.xz" -s "linux/utils/kernel/kmod" ${KMOD} ${KERNEL_URL}
+
fpkg -s "linux/utils/kernel/hotplug" ${UDEV} ${KERNEL_URL}
exit $?
--- /dev/null
+#!/bin/bash
+
+# Prevents the configure script from setting LD_LIBRARY_PATH when it finds PPL.
+# This will prevent any conflicts with libraries from the host system.
+hvconfig_pre()
+{
+ sed -e "/LD_LIBRARY_PATH=/d" -i ${LFS_TMP}/${PACKAGE}/configure
+}
+++ /dev/null
-#!/bin/bash
-
-# Prevents the configure script from setting LD_LIBRARY_PATH when it finds PPL.
-# This will prevent any conflicts with libraries from the host system.
-hvconfig_pre()
-{
- sed -e "/LD_LIBRARY_PATH=/d" -i ${LFS_TMP}/${PACKAGE}/configure
-}
cat > ${LFS_TMP}/${PACKAGE}-build/config.cache << EOF
fu_cv_sys_stat_statfs2_bsize=yes
gl_cv_func_working_mkstemp=yes
-gl_cv_func_fstatat_zero_flag=yes
EOF
}
-
-hvbuild_post()
-{
- # Create needed symlink for glib:
- LINKS="env"
-
- for link in ${LINKS}; do
- ln -svfT /tools/bin/${link} ${LFS}/usr/bin/${link}
- done
-}
--- /dev/null
+#!/bin/bash
+
+hvconfig_pre()
+{
+ CONFIGURE_OPTS="\
+ --prefix=/tools \
+ --bindir=/bin \
+ --build=${CLFS_HOST} \
+ --host=${CLFS_TARGET}"
+}
+
+hvbuild()
+{
+ make
+ make DESTDIR=${LFS} install
+}
+
+hvbuild_post()
+{
+ # Create symbolic links for programs that expect Module-Init-Tools:
+ ln -svfT kmod ${CLFS}/bin/lsmod
+ ln -svfT ../bin/kmod ${CLFS}/sbin/depmod
+ ln -svfT ../bin/kmod ${CLFS}/sbin/insmod
+ ln -svfT ../bin/kmod ${CLFS}/sbin/modprobe
+ ln -svfT ../bin/kmod ${CLFS}/sbin/modinfo
+ ln -svfT ../bin/kmod ${CLFS}/sbin/rmmod
+}
+++ /dev/null
-#!/bin/bash
-
-hvconfig_pre()
-{
- CONFIGURE_OPTS="\
- --prefix=/ \
- --bindir=/bin \
- --sbindir=/sbin \
- --mandir=/usr/share/man \
- --build=${CLFS_HOST} \
- --host=${CLFS_TARGET}"
-}
-
-hvbuild()
-{
- make DOCBOOKTOMAN=""
- make DESTDIR=${LFS} install
-}
hvconfig_pre()
{
+ export LIBS="-lpthread"
+ export BLKID_CFLAGS="-I/tools/include/blkid"
+ export BLKID_LIBS="-L/tools/lib64 -lblkid"
+ export KMOD_CFLAGS="-I/tools/include"
+ export KMOD_LIBS="-L${CLFS}/lib64 -lkmod"
+
CONFIGURE_OPTS="\
--prefix=/usr \
--build=${CLFS_HOST} \
--host=${CLFS_TARGET} \
--exec-prefix="" \
+ --with-rootprefix=${LFS}
--sysconfdir=/etc \
- --libexecdir=/lib/udev \
- --libdir=/usr/lib \
- --disable-extras \
+ --libexecdir=/lib \
+ --libdir=/usr/lib64 \
--disable-introspection \
- --disable-hwdb \
+ --with-usb-ids-path=no \
+ --with-pci-ids-path=no \
+ --disable-gtk-doc-html \
+ --disable-gudev \
--disable-keymap \
- --disable-gudev"
+ --disable-logging"
cd ${LFS_TMP}/${PACKAGE}
install -dv ${LFS}/lib/{firmware,udev/devices/{pts,shm}}
--- /dev/null
+#!/bin/bash
+
+source ../functions/main
+
+# Set root password
+passwd root
ipkg -c -m noac -l "kernel-headers" -s "kernel-headers" ${KERNEL}
ipkg -m noac ${MANPAGES}
ipkg ${EGLIBC}
+
rscr once "Adjusting toolchain" toolchain-adjust
rscr mult "Testing toolchain" toolchain-test
ipkg ${MPC}
CPPFLAGS=-fexceptions \
ipkg ${PPL} "--enable-shared --disable-optimization"
-ipkg ${CLOOG_PPL} "--enable-shared --with-gmp --with-ppl"
+ipkg ${CLOOG} "--enable-shared"
unset CC
unset CXX
ipkg ${NCURSES}
ipkg ${UTIL_LINUX}
ipkg ${E2FSPROGS}
-ipkg ${COREUTILS}
+FORCE_UNSAFE_CONFIGURE=1 ipkg ${COREUTILS}
ipkg -m noac ${IANA}
ipkg ${MFOUR}
ipkg ${BISON}
--with-browser=/usr/bin/lynx \
--with-vgrind=/usr/bin/vgrind \
--with-grap=/usr/bin/grap"
-ipkg ${MODULE_INIT_TOOLS}
+ipkg ${KMOD}
ipkg ${PATCH_PACKAGE}
ipkg ${PSMISC}
ipkg ${SHADOW}
rscr mult "Compressing man pages" compressdoc
#rscr mult "Stripping" stripping
-# Creating root password
-passwd root
+echo "Setting root password:"
+rscr once "" create-root-password
rscr mult "Performing post-install" post-install
ldconfig
lpkg 0 ${MPFR}
lpkg 0 ${MPC}
lpkg 0 ${PPL}
-lpkg 0 ${CLOOG_PPL}
+lpkg 0 ${CLOOG}
lpkg 0 ${BINUTILS}
lpkg 0 ${GCC}
lpkg 0 ${NCURSES}
lpkg 1 ${GREP}
lpkg 1 ${GZIP}
lpkg 1 ${MAKE_PACKAGE}
-lpkg 1 ${MODULE_INIT_TOOLS}
+lpkg 1 ${KMOD}
lpkg 1 ${PATCH_PACKAGE}
lpkg 1 ${SYSVINIT}
lpkg 1 ${TAR_PACKAGE}
fpkg -m gnu ${AUTOCONF}
fpkg -m gnu ${AUTOMAKE}
fpkg -m gnu ${GROFF}
-fpkg ${IPROUTE2} \
- "http://devresources.linux-foundation.org/dev/iproute2/download"
+fpkg -s "linux/utils/net/iproute2" ${IPROUTE2} ${KERNEL_URL}
if [ -n "${WIFI_SUPPORT}" ]; then
fpkg -e "tar.gz" ${WIRELESS_TOOLS} \
fi
fi
-fpkg -s "linux/utils/kbd" ${KBD} ${KERNEL_URL}
+fpkg -e "tar.gz" ${KBD} "http://ftp.altlinux.org/pub/people/legion/kbd"
fpkg -e "tar.gz" ${LESS} "http://www.greenwoodsoftware.com/less"
fpkg -e "tar.gz" -s "libpipeline" ${LIBPIPELINE} \
"http://download.savannah.gnu.org/releases"
# Glibc we have just installed with:
LINKER=$(readelf -l $(file /tools/lib/libc-* | cut -f1 -d:) | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=${LINKER} -o|" \
- scripts/test-installation.pl
+ scripts/test-installation.pl
unset LINKER
cd ${LFS_TMP}/${PACKAGE}-build
--- /dev/null
+#!/bin/bash
+
+hvconfig_pre()
+{
+ # --with-zlib, --with-xz: To handle compressed kernel modules.
+ CONFIGURE_OPTS="\
+ --prefix=/usr \
+ --bindir=/bin \
+ --sysconfdir=/etc \
+ --with-rootlibdir=/lib \
+ --with-zlib \
+ --with-xz"
+}
+
+hvbuild_post()
+{
+ # Est-ce encore nécessaire avec kmod?
+ install -dv ${LFS}/etc/modprobe.d
+
+ # Create symbolic links for programs that expect Module-Init-Tools:
+ ln -svfT kmod /bin/lsmod
+ ln -svfT ../bin/kmod /sbin/depmod
+ ln -svfT ../bin/kmod /sbin/insmod
+ ln -svfT ../bin/kmod /sbin/modprobe
+ ln -svfT ../bin/kmod /sbin/modinfo
+ ln -svfT ../bin/kmod /sbin/rmmod
+}
+++ /dev/null
-#!/bin/bash
-
-hvconfig_pre()
-{
- # To avoid a problem with regenerating the man pages when not needed,
- # first rewrite a file that just points to another man page:
- echo '.so man5/modprobe.conf.5' > ${LFS_TMP}/${PACKAGE}/modprobe.d.5
-
- export DOCBOOKTOMAN=/bin/true
-
- # --enable-zlib-dynamic: To handle compressed kernel modules.
- CONFIGURE_OPTS="\
- --prefix=/usr \
- --bindir=/bin \
- --sbindir=/sbin \
- --sysconfdir=/etc \
- --enable-zlib-dynamic"
-}
-
-hvbuild()
-{
- make
-
- # INSTALL=install
- # Normally, make install will not install the binaries if they already
- # exist. This option overrides that behavior by calling install instead
- # of using the default wrapper script.
- make INSTALL=install install
-}
-
-hvbuild_post()
-{
- install -dv ${LFS}/etc/modprobe.d
-
- unset DOCBOOKTOMAN
-}
CONFIGURE_OPTS="\
${CONFIGURE_OPTS} \
- --sbindir=/sbin \
- --with-rootlibdir=/lib \
- --libexecdir=/lib/udev \
- --docdir=/usr/share/doc/${PACKAGE} \
- --disable-extras \
- --disable-hwdb \
+ --exec-prefix="" \
+ --libexecdir=/lib \
+ --with-usb-ids-path=no \
+ --with-pci-ids-path=no \
--disable-keymap \
--disable-introspection"
}
"dig" utility (use fcron job).
install bitstream vera fonts and update fontconfig conf. file.
-
ttmkfontdir: Problèmes de compilation avec freetype2.
ipkg failure: afficher les 10 dernières lignes du logfile...
ipkg -m noac ${COLORDIFF}
ipkg ${INTLTOOL}
-ipkg ${PYTHON} "--enable-shared"
ipkg -m acnb ${GIT}
update_packages_init ${*}
-# These packages were already downloaded for stage2
-lpkg 2 ${PYTHON}
-
# These packages are only for stage3
fpkg -m gnu ${WHICH}
fpkg -s "software/utils/pciutils" ${PCIUTILS} ${KERNEL_URL}
update_packages_init ${*}
-lpkg 3 ${PYTHON}
+lpkg 2 ${PYTHON}
lpkg 2 ${GLIB}
XORG_MODULES_LIST="${XORG_APP} ${XORG_DRIVER} ${XORG_FONT} ${XORG_LIB} ${XORG_PROTO}"
-
TODO
+wxwidgets: ./configure --enable-unicode --disable26
+
ipkg ${ISO_CODES}
ipkg ${LIBXKLAVIER}
ipkg ${LIBGLADE}
- ipkg ${LIBIDL}
- ipkg ${ORBIT2} # Obsoleted package (only one needing libIDL)
- # Needed by old gconf...
ipkg -m acnb ${GCONF}
ipkg ${GNOME_KEYRING}
fi
fpkg ${ISO_CODES} "ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes"
fpkg -m sf -s "gswitchit" ${LIBXKLAVIER}
fpkg -m gnome ${LIBGLADE}
-fpkg -m gnome ${LIBIDL}
-fpkg -m gnome ${ORBIT2}
fpkg -m gnome ${GCONF}
fpkg -m gnome ${GNOME_KEYRING}
#!/bin/bash
+hvconfig_pre()
+{
+ CONFIGURE_OPTS=" \
+ ${CONFIGURE_OPTS} \
+ --disable-orbit \
+ --disable-static"
+}
+
hvbuild_post()
{
install -v -m755 -d /etc/gconf/gconf.xml.system