Changeset 240b1a8
- Timestamp:
- 03/11/2017 04:47:43 PM (7 years ago)
- Branches:
- 2.4, ablfs-more, legacy, trunk
- Children:
- 4027fed, 56178ba
- Parents:
- abc276c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
README.PACKAGE_MANAGEMENT
rabc276c r240b1a8 6 6 There are several hints discussing package management for LFS, but 7 7 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 manager9 inside jhalfs. I hope it is flexible enough to support several package10 managers. My implementation uses dpkg, from Debian, in a very crude way.11 Debian has a sophisticated package management system, which I have not12 tried to use here. For example, it should be usable with Pacman from13 Arch Linux (http://www.archlinux.org), as far as I remember from my old14 days with DIYL. I am sorry to say I have (almost) no experience with15 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. 16 16 17 17 2. OVERVIEW OF THE SYSTEM: … … 57 57 function should be defined in a file named `packInstall.sh', residing in 58 58 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 23 23 <para>Download: <ulink url="http://www.libarchive.org/downloads/libarchive-3.1.2.tar.gz"/></para> 24 24 <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> 26 26 <para>MD5 sum: <literal>063c8b0ff6bdf903dc235445525627cd</literal></para> 27 27 </sect1> … … 44 44 <screen><userinput remap="configure">./configure --prefix=/tools \ 45 45 --without-bz2lib \ 46 --without-xml2 \ 46 47 --enable-bsdtar=static \ 47 48 --enable-bsdcpio=static</userinput></screen> … … 76 77 can also use remap="adjust" for the same purpose. --> 77 78 <screen><userinput remap="configure">./configure --prefix=/tools \ 79 --without-openssl \ 78 80 PKG_CONFIG_PATH=/tools/lib/pkgconfig \ 79 81 DUPATH=/tools/bin/du</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.