Re: Step by step guide needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/02/2009 12:01 PM, Jesse Keating wrote:
On Wed, 2009-12-02 at 14:38 -0500, Doug Ledford wrote:
So, I'd like to be able to test mdadm changes before checking them into
CVS and building them in rawhide.  To do that, I'd like to be able to
spin a rescue CD from my local rawhide mirror and boot into it on my
test box.  Can someone tell me, in very simple terms a kernel engineer
can understand ;-), how I go about creating my own rescue CD images?

(Please keep me on the Cc: since I'm not subbed to the list, thanks)

1) get a box fully updated to rawhide
2) yum install pungi fedora-kickstarts
2) (as root) pungi -c /usr/share/spin-kickstarts/fedora-install-fedora.ks --destdir=/path/ --nosource --nodebuginfo -GCB

This assumes that /var/cache/pungi/ has enough space to store 4~ gigs of
rpms, and that your destdir is the same filesystem so hardlinks can be
made from the cache (or else you'll need an additional 4~ gigs of
storage in your destpath).

As a step-by-step, I find that recipe (using F12 pungi) to be unreliable.
Selinux *must* be non-enforcing at pungi time, else pungi produces images
with non-functional selinux.  [The fundamental problem is that selinux
is not virtualizable.]

Furthermore, that recipe fails the second time because certain parts
of the recipe don't check for conflicts with old or conflicting files
in some directories.  The recipe also fails if /tmp is too small,
and forgets some nice labels on the .isos.

I find that something such as this is necessary in order to get
reliable, fully-functional output from pungi:
-----
VERSION=12
DESTDIR=/disk-with-12GB-free-space/Fedora$VERSION
ARCH=x86_64

rm -rf $DESTDIR/work/$ARCH
rm -rf $DESTDIR/$VERSION/$ARCH

mkdir -p      $DESTDIR/work/$ARCH/tmp
export TMPDIR=$DESTDIR/work/$ARCH/tmp

/usr/sbin/setenforce 0

pungi -c /usr/share/.../...-fedora.ks --destdir=$DESTDIR --name Fedora \
    --ver $VERSION --nosource --nodebuginfo -GCB
-----

--

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux