Based on notting's comment about removing the lib packages from PACKAGES, I thought we should be able to let upd-instroot do 'yum install anaconda' and get the tree we need. So I looked at what yum install anaconda would pull in at first, then moved remaining things that are listed in KEEPFILE* lists to Requires: tags in the spec file.
This can also make life easier for lorax, as we could rely on 'yum install anaconda' to set up our tree more or less with the files we need.
The first patch in this set is removing the package names that are pulled in when depsolving anaconda, as well as moving the font packages to their own list. The second patch is where I go and destroy the PACKAGES lists entirely.
Performed 'yum --installroot=$(pwd)/tmproot install anaconda' and removed all packages from the PACKAGES list that are pulled in by depsolving anaconda.
Move the font packages to a separate list called FONTS. --- scripts/upd-instroot | 81 ++++++++++++++++--------------------------------- 1 files changed, 27 insertions(+), 54 deletions(-)
diff --git a/scripts/upd-instroot b/scripts/upd-instroot index 64864db..8899b37 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -150,54 +150,31 @@ die () { exit 1 }
-PACKAGES="GConf2 NetworkManager ORBit2 PolicyKit acl anaconda - anaconda-yum-plugins at-spi atk attr audit-libs bash bitmap-fonts-cjk - btrfs-progs bzip2 bzip2-libs cairo cjkuni-uming-fonts - comps-extras coreutils cpio cracklib cracklib-dicts cracklib-python - cryptsetup-luks db4 dbus dbus-python dejavu-sans-fonts - dejavu-sans-mono-fonts device-mapper - device-mapper-libs dhclient dhcpv6-client dmapi dmraid dmraid-libs - dogtail dosfstools e2fsprogs e2fsprogs-libs echo-icon-theme ethtool - elfutils-libelf expat firstboot fontconfig fonts-ISO8859-2 freetype gail gawk gdb-gdbserver - gdk-pixbuf gfs2-utils glib2 glibc-common gnome-python2-canvas gnome-python2-gconf - gnome-python2-gtkhtml2 gnome-themes gpm grep gtk2 gtk2-engines gtkhtml2 hal - hdparm hwdata initscripts iproute iputils iscsi-initiator-utils - jfsutils keyutils-libs krb5-libs libICE libSM libX11 libXau - libXaw libXcursor libXdmcp libXevie libXext libXfixes libXfont libXft - libXi libXinerama libXmu libXpm libXrandr libXrender libXt libXtst - libXxf86misc libacl libart_lgpl libattr libbdevid libbdevid-python - libbonobo libfontenc libgcc - libglade2 libgnomecanvas libgcrypt libgpg-error libjpeg liblbxutil libnl - libpixman libpng libselinux libselinux-python libsemanage - libsemanage-python libsepol libstdc++ libtermcap libthai libuser - libuser-python libvolume_id libxcb libxkbfile libxml2 lklug-fonts - lohit-assamese-fonts lohit-bengali-fonts lohit-gujarati-fonts lohit-hindi-fonts - lohit-kashmiri-fonts lohit-kannada-fonts lohit-maithili-fonts lohit-marathi-fonts - lohit-oriya-fonts lohit-punjabi-fonts lohit-sindhi-fonts lohit-tamil-fonts - lohit-telugu-fonts lvm2 madan-fonts mdadm - mesa-dri-drivers mkinitrd module-init-tools nash ncurses neon net-tools - newt newt-python nfs-utils nspr nss ntfs-3g pam pango parted pciutils pcre - policy policycoreutils popt prelink procps pycairo pygobject2 pygtk2 - pygtk2-libglade pykickstart pyparted pyspi python python-bugzilla python-decorator - python-elementtree python-libs python-pyblock python-sqlite - python-urlgrabber pyxf86config raidtools readline redhat-artwork - reiserfs-utils rhpl rpm rpm-libs rpm-python sed selinux-policy-targeted - setup slang smc-meera-fonts specspo sqlite synaptics system-config-date - system-config-keyboard ${brandpkgname}-logos ${brandpkgname}-release taipeifonts tcp_wrappers - tzdata udev un-core-fonts-dotum urw-fonts util-linux-ng tigervnc-server - tigervnc-server-module vlgothic-fonts vim-minimal - wpa_supplicant xkeyboard-config xfsdump xfsprogs xorg-x11 xorg-x11-auth - xorg-x11-base xorg-x11-drivers xorg-x11-font-utils xorg-x11-fonts-ethiopic - xorg-x11-fonts-misc xorg-x11-libs xorg-x11-libs-data xorg-x11-server-utils - xorg-x11-server-Xorg xorg-x11-xkb-utils xorg-x11-xkbdata xorg-x11-xfs yum - yum-fedorakmod yum-metadata-parser zenity zlib /etc/gtk-2.0/gtkrc" +FONTS="bitmap-fonts-cjk cjkuni-uming-fonts dejavu-sans-fonts + dejavu-sans-mono-fonts fonts-ISO8859-2 lklug-fonts + lohit-assamese-fonts lohit-bengali-fonts lohit-gujarati-fonts + lohit-hindi-fonts lohit-kashmiri-fonts lohit-kannada-fonts + lohit-maithili-fonts lohit-marathi-fonts lohit-oriya-fonts + lohit-punjabi-fonts lohit-sindhi-fonts lohit-tamil-fonts + lohit-telugu-fonts madan-fonts smc-meera-fonts taipeifonts + un-core-fonts-dotum urw-fonts vlgothic-fonts + xorg-x11-fonts-ethiopic xorg-x11-fonts-misc" + +PACKAGES="anaconda at-spi attr btrfs-progs bzip2 dogtail echo-icon-theme + gail gdb-gdbserver gdk-pixbuf gfs2-utils gnome-python2-gconf + gnome-themes gpm gtk2-engines jfsutils libXevie libXfont + libbdevid libbonobo libfontenc libxkbfile neon nfs-utils ntfs-3g + prelink python-decorator python-sqlite redhat-artwork + reiserfs-utils selinux-policy-targeted specspo synaptics + tcp_wrappers tigervnc-server tigervnc-server-module vim-minimal + xkeyboard-config xfsdump xfsprogs xorg-x11-auth xorg-x11-drivers + xorg-x11-font-utils xorg-x11-server-Xorg xorg-x11-xkb-utils + xorg-x11-xfs /etc/gtk-2.0/gtkrc $FONTS"
if [ $ARCH = i386 ]; then PACKAGES="$PACKAGES glibc.i386 openssl.i386" elif [ $ARCH = i586 ]; then PACKAGES="$PACKAGES glibc.i586 openssl.i586" -else - PACKAGES="$PACKAGES glibc openssl" fi
if [ $ARCH = i386 -o $ARCH = i586 -o $ARCH = x86_64 ]; then @@ -205,7 +182,7 @@ if [ $ARCH = i386 -o $ARCH = i586 -o $ARCH = x86_64 ]; then fi
if [ $ARCH = i386 -o $ARCH = i586 -o $ARCH = x86_64 -o $ARCH = ia64 ]; then - PACKAGES="$PACKAGES dmidecode efibootmgr" + PACKAGES="$PACKAGES efibootmgr" fi
if [ $ARCH = ia64 ]; then @@ -214,10 +191,8 @@ if [ $ARCH = ia64 ]; then fi
if [ $ARCH = s390 -o $ARCH = s390x ]; then - PACKAGES="$PACKAGES s390utils binutils libgcc tcp_wrappers - sed net-tools openssh openssh-server coreutils - login initscripts portmap pam - login mount modutils s390utils-cmsfs + PACKAGES="$PACKAGES s390utils binutils tcp_wrappers + openssh openssh-server login portmap strace xorg-x11-xauth xorg-x11-libs" fi
@@ -230,12 +205,10 @@ fi # # these packages are combined with the PACKAGES for big stage 2 # -PACKAGESRESCUE="bzip2 bzip2-libs dump libidn - findutils ftp gzip iputils joe krb5-libs less man - modutils mtools mt-st mtr net-tools open smartmontools - openssh openssh-clients pciutils rsh traceroute tar rsync - device-mapper device-mapper-libs dmraid ntfsprogs samba-client - firstaidkit firstaidkit-plugin-all dialog" +PACKAGESRESCUE="bzip2 dump ftp joe man mt-st mtr smartmontools + openssh openssh-clients rsh traceroute rsync + ntfsprogs samba-client dialog + firstaidkit firstaidkit-plugin-all"
if [ $ARCH = i386 -o $ARCH = i586 -o $ARCH = x86_64 ]; then PACKAGESRESCUE="$PACKAGESRESCUE gpart grub"
Removed the manually maintained list of packages in upd-instroot. Move any missing required packages to Requires tags in the spec file, remove package names that no longer exist or are redundant.
The following package names were removed entirely because their contents was not found in install.img: attr, echo-icon-theme, gail, gnome-themes, gpm, libXevie, libXfont, libfontenc, neon, redhat-artwork, tigervnc-server-module, vim-minimal, tcp_wrappers, xorg-x11-xfs, gdk-pixbuf
gail is provided by gtk2. libbdevid is provided by nash. python-sqlite is provided by python.
libxkbfile is pulled in during depsolving xorg-x11-font-utils. python-decorator is pulled in during depsolving pyparted. xkeyboard-config is pulled in during depsolving xorg-x11-server-Xorg.
The remaining packages were moved to Requires: tags. --- anaconda.spec.in | 189 ++++++++++++++++++++++++++++++++++++++++---------- scripts/upd-instroot | 91 +------------------------ 2 files changed, 153 insertions(+), 127 deletions(-)
diff --git a/anaconda.spec.in b/anaconda.spec.in index 7dfa5c8..28d0c96 100644 --- a/anaconda.spec.in +++ b/anaconda.spec.in @@ -81,67 +81,182 @@ BuildRequires: desktop-file-utils %endif BuildRequires: iscsi-initiator-utils-devel >= %{iscsiver}
-Requires: policycoreutils -Requires: rpm-python >= %{rpmpythonver} +Requires: /etc/gtk-2.0/gtkrc +Requires: NetworkManager >= %{nmver} +Requires: anaconda-yum-plugins +Requires: at-spi +Requires: authconfig +Requires: btrfs-progs +Requires: bzip2 Requires: comps-extras -Requires: rhpl >= %{rhplver} -Requires: parted >= %{partedver} -Requires: pyparted >= %{pypartedver} -Requires: yum >= %{yumver} -Requires: libxml2-python -Requires: python-urlgrabber -Requires: system-logos -Requires: pykickstart >= %{pykickstartver} -Requires: system-config-date >= %{syscfgdatever} +Requires: cracklib-python +Requires: createrepo >= %{createrepover} +Requires: cryptsetup-luks +Requires: dbus-python Requires: device-mapper >= %{dmver} Requires: device-mapper-libs >= %{dmver} +Requires: dhclient +Requires: dhcpv6-client +Requires: dialog +Requires: dogtail Requires: dosfstools +Requires: dump Requires: e2fsprogs >= %{e2fsver} +Requires: firstaidkit-plugin-all +Requires: ftp +Requires: gdb-gdbserver +Requires: genisoimage >= %{genisoimagever} +Requires: gfs2-utils +Requires: gnome-python2-gconf +Requires: gnome-python2-gtkhtml2 +Requires: gtk2-engines Requires: gzip -%ifarch %{ix86} x86_64 ia64 -Requires: dmidecode -%endif -Requires: python-pyblock >= %{pythonpyblockver} -Requires: libbdevid >= %{libbdevidver} +Requires: hal +Requires: isomd5sum +Requires: jfsutils +Requires: joe Requires: libbdevid-python +Requires: libbonobo +Requires: libselinux-python >= %{libselinuxver} Requires: libuser-python +Requires: libxml2-python +Requires: lvm2 +Requires: man +Requires: mdadm +Requires: mt-st +Requires: mtr Requires: newt-python -Requires: authconfig -Requires: gnome-python2-gtkhtml2 -Requires: system-config-firewall -Requires: cryptsetup-luks +Requires: nfs-utils +Requires: ntfs-3g +Requires: ntfsprogs +Requires: openssh-clients +Requires: openssh-server +Requires: parted >= %{partedver} +Requires: policycoreutils +Requires: prelink +Requires: pykickstart >= %{pykickstartver} +Requires: pyparted >= %{pypartedver} +Requires: python-bugzilla Requires: python-cryptsetup >= %{pythoncryptsetupver} -Requires: mdadm -Requires: lvm2 +Requires: python-pyblock >= %{pythonpyblockver} +Requires: python-urlgrabber +Requires: reiserfs-utils +Requires: rhpl >= %{rhplver} +Requires: rpm-python >= %{rpmpythonver} +Requires: rsh +Requires: rsync +Requires: samba-client +Requires: selinux-policy-targeted +Requires: smartmontools +Requires: specspo +Requires: squashfs-tools +Requires: system-config-date >= %{syscfgdatever} +Requires: system-config-firewall +Requires: system-logos +Requires: tigervnc-server +Requires: traceroute Requires: util-linux-ng >= 2.15.1 +Requires: xfsdump +Requires: xfsprogs +Requires: xorg-x11-drivers +Requires: xorg-x11-font-utils +Requires: xorg-x11-server-Xorg +Requires: xorg-x11-xauth +Requires: xorg-x11-xkb-utils +Requires: yum >= %{yumver} +Requires: yum-utils >= %{yumutilsver} + +Requires: bitmap-fonts-cjk +Requires: cjkuni-uming-fonts +Requires: dejavu-sans-fonts +Requires: dejavu-sans-mono-fonts +Requires: fonts-ISO8859-2 +Requires: lklug-fonts +Requires: lohit-assamese-fonts +Requires: lohit-bengali-fonts +Requires: lohit-gujarati-fonts +Requires: lohit-hindi-fonts +Requires: lohit-kashmiri-fonts +Requires: lohit-kannada-fonts +Requires: lohit-maithili-fonts +Requires: lohit-marathi-fonts +Requires: lohit-oriya-fonts +Requires: lohit-punjabi-fonts +Requires: lohit-sindhi-fonts +Requires: lohit-tamil-fonts +Requires: lohit-telugu-fonts +Requires: madan-fonts +Requires: smc-meera-fonts +Requires: taipeifonts +Requires: un-core-fonts-dotum +Requires: urw-fonts +Requires: vlgothic-fonts +Requires: xorg-x11-fonts-ethiopic + +%ifarch i386 +Requires: glibc.i386 +Requires: openssl.i386 +%endif + +%ifarch i586 +Requires: glibc.i586 +Requires: openssl.i586 +%endif + +%ifarch %{ix86} x86_64 ia64 +Requires: dmidecode +Requires: efibootmgr +%endif + %ifnarch s390 s390x ppc64 +Requires: binutils +Requires: login +Requires: portmap +Requires: s390utils +Requires: strace Requires: system-config-keyboard %endif -Requires: hal, dbus-python -Requires: cracklib-python -Requires: python-bugzilla + %ifarch %livearches Requires: usermode Requires: zenity %endif -Requires: createrepo >= %{createrepover} -Requires: squashfs-tools -Requires: genisoimage >= %{genisoimagever} + %ifarch %{ix86} x86_64 -Requires: syslinux >= 3.73 +Requires: grub +Requires: gpart Requires: makebootfat -Requires: device-mapper +Requires: memtest86+ +Requires: pcmciautils +Requires: syslinux >= 3.73 +%endif + +%ifarch ia64 +Requires: elilo %endif + %ifarch s390 s390x Requires: openssh %endif -Requires: isomd5sum -Requires: yum-utils >= %{yumutilsver} -Requires: NetworkManager >= %{nmver} -Requires: dhclient -Requires: dhcpv6-client -Requires: anaconda-yum-plugins -Requires: libselinux-python >= %{libselinuxver} + +%ifarch sparc sparc64 +Requires: silo +Requires: tilo +%endif + +%ifarch alpha +Requires: aboot +%endif + +%ifarch ppc ppc64 +Requires: fbset +Requires: hfsutils +Requires: pdisk +Requires: pcmciautils +Requires: ppc64-utils +Requires: yaboot +%endif + Obsoletes: anaconda-images <= 10 Provides: anaconda-images = %{version}-%{release} Obsoletes: anaconda-runtime < %{version}-%{release} diff --git a/scripts/upd-instroot b/scripts/upd-instroot index 8899b37..8754b83 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -150,91 +150,6 @@ die () { exit 1 }
-FONTS="bitmap-fonts-cjk cjkuni-uming-fonts dejavu-sans-fonts - dejavu-sans-mono-fonts fonts-ISO8859-2 lklug-fonts - lohit-assamese-fonts lohit-bengali-fonts lohit-gujarati-fonts - lohit-hindi-fonts lohit-kashmiri-fonts lohit-kannada-fonts - lohit-maithili-fonts lohit-marathi-fonts lohit-oriya-fonts - lohit-punjabi-fonts lohit-sindhi-fonts lohit-tamil-fonts - lohit-telugu-fonts madan-fonts smc-meera-fonts taipeifonts - un-core-fonts-dotum urw-fonts vlgothic-fonts - xorg-x11-fonts-ethiopic xorg-x11-fonts-misc" - -PACKAGES="anaconda at-spi attr btrfs-progs bzip2 dogtail echo-icon-theme - gail gdb-gdbserver gdk-pixbuf gfs2-utils gnome-python2-gconf - gnome-themes gpm gtk2-engines jfsutils libXevie libXfont - libbdevid libbonobo libfontenc libxkbfile neon nfs-utils ntfs-3g - prelink python-decorator python-sqlite redhat-artwork - reiserfs-utils selinux-policy-targeted specspo synaptics - tcp_wrappers tigervnc-server tigervnc-server-module vim-minimal - xkeyboard-config xfsdump xfsprogs xorg-x11-auth xorg-x11-drivers - xorg-x11-font-utils xorg-x11-server-Xorg xorg-x11-xkb-utils - xorg-x11-xfs /etc/gtk-2.0/gtkrc $FONTS" - -if [ $ARCH = i386 ]; then - PACKAGES="$PACKAGES glibc.i386 openssl.i386" -elif [ $ARCH = i586 ]; then - PACKAGES="$PACKAGES glibc.i586 openssl.i586" -fi - -if [ $ARCH = i386 -o $ARCH = i586 -o $ARCH = x86_64 ]; then - PACKAGES="$PACKAGES pcmciautils grub" -fi - -if [ $ARCH = i386 -o $ARCH = i586 -o $ARCH = x86_64 -o $ARCH = ia64 ]; then - PACKAGES="$PACKAGES efibootmgr" -fi - -if [ $ARCH = ia64 ]; then - # XXX this needs to switch to grub at some point... - PACKAGES="$PACKAGES elilo" -fi - -if [ $ARCH = s390 -o $ARCH = s390x ]; then - PACKAGES="$PACKAGES s390utils binutils tcp_wrappers - openssh openssh-server login portmap - strace xorg-x11-xauth xorg-x11-libs" -fi - -if [ $ARCH = ppc -o $ARCH = ppc64 ]; then - PACKAGES="$PACKAGES pcmciautils pdisk yaboot hfsutils" -fi - -# -# stuff ONLY included for rescue mode -# -# these packages are combined with the PACKAGES for big stage 2 -# -PACKAGESRESCUE="bzip2 dump ftp joe man mt-st mtr smartmontools - openssh openssh-clients rsh traceroute rsync - ntfsprogs samba-client dialog - firstaidkit firstaidkit-plugin-all" - -if [ $ARCH = i386 -o $ARCH = i586 -o $ARCH = x86_64 ]; then - PACKAGESRESCUE="$PACKAGESRESCUE gpart grub" -fi - -# -# add bootloader for particular arch -# -if [ $ARCH = sparc ]; then - PACKAGES="$PACKAGES tilo silo" -fi - -if [ $ARCH = i386 -o $ARCH = i586 -o $ARCH = x86_64 ]; then - PACKAGES="$PACKAGES syslinux memtest86+ grub" -fi - -if [ $ARCH = alpha ]; then - PACKAGES="$PACKAGES aboot" -fi - -if [ $ARCH = ppc ]; then - PACKAGES="$PACKAGES fbset yaboot ppc64-utils" -fi - -# -# KEEPFILE is all files to keep from the packages in PACKAGES # # The files in this list define the install image used for all installation # methods. @@ -704,8 +619,6 @@ usr/lib/python?.?/site-packages/dogtail/*.py EOF
# -# KEEPFILERESCUE is all files to keep from the packages in PACKAGESRESCUE -# # This defines the files in addition to KEEPFILE that make up # the install images for NFS and CD/DVD based rescue mode installs. This # image is not loaded into memory so it can be considerably larger. @@ -822,8 +735,6 @@ EOF fi
echo "Assembling package list..." -RPMS="$PACKAGES $PACKAGESRESCUE" -[ -n "$DEBUG" ] && echo "RPMS are $RPMS"
rm -rf $DEST; mkdir -p $DEST/usr/sbin $DEST/var/lib $DEST/boot ln -s /tmp $DEST/var/lib/xkb @@ -838,7 +749,7 @@ YUMDIR=${TMPDIR:-/tmp}/yumdir.$$ mkdir -p $YUMDIR/var/log mkdir -p $YUMDIR/var/lib/yum
-expandPackageSet $yumconf $YUMDIR "$RPMS" $DEST $KEEPFILE +expandPackageSet $yumconf $YUMDIR "anaconda" $DEST $KEEPFILE echo `date` "Done Expanding packages..."
# Dogtail will check this
On Mon, 2009-07-27 at 15:37 -1000, David Cantrell wrote:
Based on notting's comment about removing the lib packages from PACKAGES, I thought we should be able to let upd-instroot do 'yum install anaconda' and get the tree we need. So I looked at what yum install anaconda would pull in at first, then moved remaining things that are listed in KEEPFILE* lists to Requires: tags in the spec file.
This can also make life easier for lorax, as we could rely on 'yum install anaconda' to set up our tree more or less with the files we need.
My gripe with this is that it makes people have to download/install these packages twice. Once to get anaconda on the system in order to run the scripts, or pungi, and then once again to create the mini chroot that anaconda uses to stage stuff in before putting things in yet a different chroot. The second install doesn't use the same caching as the first install, so you wind up downloading things multiple times.
I don't know a good way around this :/
On 07/28/2009 06:23 AM, Jesse Keating wrote:
On Mon, 2009-07-27 at 15:37 -1000, David Cantrell wrote:
Based on notting's comment about removing the lib packages from PACKAGES, I thought we should be able to let upd-instroot do 'yum install anaconda' and get the tree we need. So I looked at what yum install anaconda would pull in at first, then moved remaining things that are listed in KEEPFILE* lists to Requires: tags in the spec file.
This can also make life easier for lorax, as we could rely on 'yum install anaconda' to set up our tree more or less with the files we need.
My gripe with this is that it makes people have to download/install these packages twice. Once to get anaconda on the system in order to run the scripts, or pungi, and then once again to create the mini chroot that anaconda uses to stage stuff in before putting things in yet a different chroot. The second install doesn't use the same caching as the first install, so you wind up downloading things multiple times.
I don't know a good way around this :/
One way around this is a comps group just like buildsys-build. I lack a good name idea for such group, but it solves package side of the problem.
For the now file based requirements though... Not even sure if KEEPFILE* was used for downloading additional stuff from the yum repos.
-- Jeroen
From: Jeroen van Meeuwen [mailto:kanarip@kanarip.com] Sent: 29 July 2009 06:55
On 07/28/2009 06:23 AM, Jesse Keating wrote:
On Mon, 2009-07-27 at 15:37 -1000, David Cantrell wrote:
Based on notting's comment about removing the lib packages from
PACKAGES, I
thought we should be able to let upd-instroot do 'yum install anaconda'
and
get the tree we need. So I looked at what yum install anaconda would
pull
in at first, then moved remaining things that are listed in KEEPFILE*
lists
to Requires: tags in the spec file.
This can also make life easier for lorax, as we could rely on 'yum
install
anaconda' to set up our tree more or less with the files we need.
My gripe with this is that it makes people have to download/install these packages twice. Once to get anaconda on the system in order to run the scripts, or pungi, and then once again to create the mini chroot that anaconda uses to stage stuff in before putting things in yet a different chroot. The second install doesn't use the same caching as the first install, so you wind up downloading things multiple times.
I don't know a good way around this :/
One way around this is a comps group just like buildsys-build. I lack a good name idea for such group, but it solves package side of the problem.
For the now file based requirements though... Not even sure if KEEPFILE* was used for downloading additional stuff from the yum repos.
-- Jeroen
Oh, THAT's how buildsys-build is supposed to work!
I develop custom CentOS spins for our organisation. I've just been modifying our package list for anaconda in CentOS 5.3, so I've been following this thread with interest.
I was all set to reply about how annoying the buildsys-build rpm package is in the CentOS world, but some extra poking around in the Fedora repos showed me it _is_ a proper yum group, and _is_ easy to set up and maintain. The <uservisible>false</uservisible> fooled me for a while, but I got there in the end.
I would vote for an 'anaconda-inst' group along the same lines. Easy to maintain (especially if it's documented somewhere ;-) ) and no need for extra packages installed on your build server.
Moray. "To err is human. To purr, feline"
On Monday, July 27 2009, David Cantrell said:
Based on notting's comment about removing the lib packages from PACKAGES, I thought we should be able to let upd-instroot do 'yum install anaconda' and get the tree we need. So I looked at what yum install anaconda would pull in at first, then moved remaining things that are listed in KEEPFILE* lists to Requires: tags in the spec file.
This then means that one can't build a distro that doesn't have the packages though. And some of them (reiserfs stuff, xfs stuff, etc) we have gone to some effort to ensure that if the tools drop out/aren't there because a distro doesn't want to support those filesystems that anaconda doesn't show them as "supported".
This could be an okay trade-off, but it's at least one that requires some thought
Jeremy
anaconda-devel@lists.fedoraproject.org