Changeset 7e5ff87


Ignore:
Timestamp:
03/11/2017 04:53:29 PM (7 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
new_features
Children:
e43d0d0
Parents:
e06a0d3
Message:

Merge trunk revs 3906-8

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • CLFS/master.sh

    re06a0d3 r7e5ff87  
    379379      *how-to-view*) continue  ;;
    380380      *whatnext*) continue     ;;
    381       *fstab)   [[ ! -z ${FSTAB} ]] &&
     381      *fstab)   [[ -z "${FSTAB}" ]] ||
    382382                [[ ${FSTAB} == $BUILDDIR/sources/fstab ]] ||
    383383                cp ${FSTAB} $BUILDDIR/sources/fstab ;;
     
    500500        *devices)         wrt_RunAsRoot "${file}"    ;;
    501501        *fstab)
    502            if [[ -n "$FSTAB" ]]; then
     502           if [[ -n "${FSTAB}" ]]; then
    503503               LUSER_wrt_CopyFstab
    504504           else
     
    735735
    736736    case $this_script in
    737       *udev)     continue ;; # This is not a script but a commentary, we want udev-rules
     737      *udev)     continue ;; # This is not a script but a comment, we want udev-rules
    738738      *console*) continue ;; # Use the files that came with the bootscripts
    739739# fstab is now here (for 3.x.y)
    740       *fstab)  [[ ! -z ${FSTAB} ]] &&
     740      *fstab)  [[ -z "${FSTAB}" ]] ||
    741741               [[ ${FSTAB} == $BUILDDIR/sources/fstab ]] ||
    742742               cp ${FSTAB} $BUILDDIR/sources/fstab ;;
     
    913913    case $this_script in
    914914      *grub | *aboot | *colo | *silo | *arcload | *lilo | *reboot* )  continue ;;
    915       *fstab)  [[ ! -z ${FSTAB} ]] &&
     915      *fstab)  [[ -z "${FSTAB}" ]] ||
    916916               [[ ${FSTAB} == $BUILDDIR/sources/fstab ]] ||
    917917               cp ${FSTAB} $BUILDDIR/sources/fstab ;;
  • LFS/master.sh

    re06a0d3 r7e5ff87  
    313313    case ${this_script} in
    314314      *grub)    continue ;;
    315       *fstab)   [[ ! -z ${FSTAB} ]] &&
     315      *fstab)   [[ -z "${FSTAB}" ]] ||
    316316                [[ ${FSTAB} == $BUILDDIR/sources/fstab ]] ||
    317317                cp ${FSTAB} $BUILDDIR/sources/fstab ;;
     
    367367      # Check if we have a real /etc/fstab file
    368368    case "${this_script}" in
    369       *fstab) if [[ -n $FSTAB ]]; then
     369      *fstab) if [[ -n "$FSTAB" ]]; then
    370370                CHROOT_wrt_CopyFstab
    371371              else
  • README.PACKAGE_MANAGEMENT

    re06a0d3 r7e5ff87  
    66      There are several hints discussing package management for LFS, but
    77  nothing under jhalfs. There used to be a patch for PACO that I cannot
    8   find now. This is a modification, which allows to use a package manager
    9   inside jhalfs. I hope it is flexible enough to support several package
    10   managers. My implementation uses dpkg, from Debian, in a very crude way.
    11   Debian has a sophisticated package management system, which I have not
    12   tried to use here. For example, it should be usable with Pacman from
    13   Arch Linux (http://www.archlinux.org), as far as I remember from my old
    14   days with DIYL. I am sorry to say I have (almost) no experience with
    15   rpm, so I cannot tell whether it would fit.
     8  find now. This is a modification ("DESTDIR install" automation), which
     9  allows to use a package manager inside jhalfs. I hope it is flexible enough
     10  to support several package managers, at least among those who use DESTDIR
     11  install. My initial implementation used dpkg, from Debian, in a very
     12  crude way (Debian has a sophisticated package management system, which
     13  I have not tried to use here). There is also a port to Pacman from
     14  Arch Linux (http://www.archlinux.org). I am sorry to say I have (almost)
     15  no experience with rpm, so I cannot tell whether it would fit.
    1616
    17172. OVERVIEW OF THE SYSTEM:
     
    5757  function should be defined in a file named `packInstall.sh', residing in
    5858  the `pkgmngt' directory. A template is provided, as well as two example
    59   scripts for dpkg and pacman.
     59  scripts for dpkg and pacman. Note that, due to the way pacman checks the
     60  available space on disk, the root directory in chroot must be a mount point,
     61  otherwise the installation of packages fails.
  • pkgmngt/packageManager.xml.dpkg

    re06a0d3 r7e5ff87  
    1010<!ENTITY external "Optional dependencies">
    1111<!ENTITY debian-pool "http://ftp2.fr.debian.org/debian/pool/main/">
    12 <!ENTITY dpkg-version "1.18.3">
    13 <!ENTITY dpkg-size "4,258 KB">
     12<!ENTITY dpkg-version "1.18.23">
     13<!ENTITY dpkg-size "4,411 KB">
    1414<!ENTITY dpkg-url "&debian-pool;d/dpkg/dpkg_&dpkg-version;.tar.xz">
    15 <!ENTITY dpkg-md5 "a5ca138121cc37c8fb0083462a3b4d47">
     15<!ENTITY dpkg-md5 "2195338c1792b0678575309a099d2da8">
    1616<!ENTITY dpkg-home "http://wiki.debian.org/Teams/Dpkg">
    1717<!ENTITY dpkg-ch5-du "56 MB">
     
    112112    --disable-start-stop-daemon \
    113113    --disable-update-alternatives \
    114     --without-zlib --with-liblzma=static --without-selinux</userinput></screen>
     114    --without-zlib --with-liblzma=static --without-libselinux</userinput></screen>
    115115
    116116    <variablelist>
     
    158158
    159159      <varlistentry>
    160         <term><parameter>--without-selinux</parameter></term>
     160        <term><parameter>--without-libselinux</parameter></term>
    161161        <listitem>
    162162          <para>Disable building for <application>selinux</application>, which
    163           is not used woth LFS/BLFS.</para>
     163          is not used with LFS/BLFS.</para>
    164164        </listitem>
    165165      </varlistentry>
     
    276276        --disable-start-stop-daemon \
    277277        --disable-update-alternatives \
    278         --without-selinux</userinput></screen>
     278        --without-libselinux</userinput></screen>
    279279
    280280    <variablelist>
     
    305305
    306306      <varlistentry>
    307         <term><parameter>--without-selinux</parameter></term>
     307        <term><parameter>--without-libselinux</parameter></term>
    308308        <listitem>
    309309          <para>Selinux is not used in LFS.</para>
  • pkgmngt/packageManager.xml.pacman

    re06a0d3 r7e5ff87  
    2323        <para>Download: <ulink url="http://www.libarchive.org/downloads/libarchive-3.1.2.tar.gz"/></para>
    2424        <para>MD5 sum: <literal>efad5a503f66329bb9d2f4308b5de98a</literal></para>
    25         <para>Download: <ulink url="ftp://ftp.archlinux.org/other/pacman/pacman-4.1.2.tar.gz"/></para>
     25        <para>Download: <ulink url="https://sources.archlinux.org/other/pacman/pacman-4.1.2.tar.gz"/></para>
    2626        <para>MD5 sum: <literal>063c8b0ff6bdf903dc235445525627cd</literal></para>
    2727</sect1>
     
    4444<screen><userinput remap="configure">./configure --prefix=/tools \
    4545            --without-bz2lib \
     46            --without-xml2   \
    4647            --enable-bsdtar=static \
    4748            --enable-bsdcpio=static</userinput></screen>
     
    7677can also use remap="adjust" for the same purpose. -->
    7778<screen><userinput remap="configure">./configure --prefix=/tools \
     79    --without-openssl \
    7880    PKG_CONFIG_PATH=/tools/lib/pkgconfig \
    7981    DUPATH=/tools/bin/du</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.