Changeset 240b1a8


Ignore:
Timestamp:
03/11/2017 04:47:43 PM (7 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, trunk
Children:
4027fed, 56178ba
Parents:
abc276c
Message:

Update pacman commands (not version, it would require too many changes to the
build system).

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • README.PACKAGE_MANAGEMENT

    rabc276c r240b1a8  
    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.pacman

    rabc276c r240b1a8  
    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.