Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] UNS: Re: GIT changes to test cauldron by Justin Boffemmyer (2b7d4a20e618d614c0f9cbc182aec4864a01886c)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: flux <flux AT sourcemage.org>
  • To: "sm-commit AT lists.ibiblio.org" <sm-commit AT lists.ibiblio.org>
  • Subject: Re: [SM-Commit] UNS: Re: GIT changes to test cauldron by Justin Boffemmyer (2b7d4a20e618d614c0f9cbc182aec4864a01886c)
  • Date: Mon, 5 Jan 2009 10:01:33 -0500

Ladislav Hagara (ladislav.hagara AT unob.cz) wrote [09.01.05 03:40]:
>
> > +manual install (change VERSION to what you have):
> > + cd /usr/src && tar jxvf linux-VERSION
> > + ln -sf /usr/src/linux-VERSION /usr/src/linux && cd /usr/src/linux
> >  make menuconfig && make && make modules_install
> >  cp -f arch/i386/boot/bzImage /boot/vmlinuz-2.6.22
> >  cp -f .config /boot/config-2.6.22
> >
> 2.6.22 -> VERSION

Thanks, I missed those.

> > +while true
> > +do
> > + echo -n "Create /boot/vmlinuz symlink? [yn] "
> > + read -n1 input
> > + echo ""
> > + case $input in
> > + "y" ) ln -sf "$TARGET"/boot/vmlinuz-$(uname -r)
> > "$TARGET"/boot/vmlinuz
> >
>
> sedit "s:ISO-KERNEL:$(uname -r)" /mnt/root/etc/lilo.conf ?

First, why have the symlink if you're not going to use it? If the user
has the /boot/vmlinuz symlink created, presumably that will be so they
can just use that instead of the full version release named image file
in their bootloader config. Second, doing a sed -i for the user (sedit
is not an actual command, it's something that sorcery provides in its
scripts) is a lot more complicated and bug-prone than just letting the
user handle their own config, and the directions for the bootloaders
clearly state that the user needs to ensure that it points to the actual
kernel image they wish to use.

--
Justin "flux_control" Boffemmyer
Cauldron wizard and general mage
Source Mage GNU/Linux
http://www.sourcemage.org

Attachment: pgp5vAvAqj5fg.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page