Uh, this reply certainly took me a while.

Elan Ruusamäe <[EMAIL PROTECTED]> [12-02-2007 10:19]:
> On Monday 12 February 2007, radek wrote:
>>> why?
>> Because it's impossible to upgrade if old root (from boot time) is
>> mounted on /initrd.  cpio fails on unpacking the *.rpm.

>> It has been broken for quite a while... :-/
> so fix what's broken.

I have fixed what was broken.  At least one part of it.

> it should not be mounted for normal system run.

But it *is* mounted on three of four of my PLD systems.  Which are
working perfectly fine, apart from not being able to upgrade filesystem:

  $ LANG=C poldek -iv filesystem  
  [...]
  I filesystem-2.0-6
  Need to get 10.0KB of archives. 
  Executing sudo /bin/rpm --install -vh --root / --noorder...
  Preparing...                ########################################### [100%]
     1:filesystem             ########################################### [100%]
  error: unpacking of archive failed on file /initrd: cpio: chown failed - 
Read-only file system

So, you have reverted it to the broken state.  Is this a ping-pong club or
what?

> anyway not being able to umount /initrd (due unmounted /initrd/dev) is fixed 
> in geninitrd 8142.

  $ rpm -q geninitrd
  geninitrd-8286-1

>>> doesn't it break fresh installs as i don't think /initrd is mkdir at boot
>> No.  %ghost %dir creates it.
> no, it does not (go and test it)

Hmm, true.  I must have messed something up while testing this.  Any
better ideas than %ghost and mkdir in %post?

-- 
Radosław Zieliński <[EMAIL PROTECTED]>

Attachment: pgptnQkNwdloS.pgp
Description: PGP signature

_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to