Gentoo Archives: gentoo-releng

From: Martin Schlemmer <azarah@g.o>
To: Benjamin Judas <beejay@g.o>
Cc: Gentoo-Releng <gentoo-releng@l.g.o>
Subject: Re: [gentoo-releng] Baselayout questions[Message Scanned]
Date: Sat, 07 Feb 2004 19:24:33
Message-Id: 1076181895.6996.5.camel@nosferatu.lan
In Reply to: Re: [gentoo-releng] Baselayout questions[Message Scanned] by Benjamin Judas
1 On Fri, 2004-02-06 at 21:48, Benjamin Judas wrote:
2 > Am Fr, den 06.02.2004 schrieb Martin Schlemmer um 18:41:
3 > > On Fri, 2004-02-06 at 15:28, Benjamin Judas wrote:
4 > > > Am Do, den 05.02.2004 schrieb Martin Schlemmer um 20:00:
5 > > > > On Wed, 2004-02-04 at 23:25, John Davis wrote:
6 > > > > > -----BEGIN PGP SIGNED MESSAGE-----
7 > > > > > Hash: SHA1
8 > > > > >
9 > > > > > Hi all -
10 > > > > > Just wondering, when is the updated (fixes for /dev, livecds, etc)
11 > > > > > baselayout going to go stable? We cannot release stages that are using
12 > > > > > an arch masked baselayout to build them. If there are any outstanding QA
13 > > > > > issues, please let us know so that we can test the bejeezus out of it.
14 > > > > >
15 > > > >
16 > > > > I did send it to beejay - awaiting his final approval.
17 > > > >
18 > > > >
19 > > > > Thanks,
20 > > >
21 > > > sys-apps/baselayout-1.8.6.12-r4 is working fine on the last official and
22 > > > the numerous internal test-cd's I created. If nobody else has doubts, I
23 > > > suggest to move baselayout-1.8.6.12-r4 out of testing into stable.
24 > > >
25 > >
26 > > Right, but what about the last patch I sent you with cosmetic changes?
27 > >
28 > >
29 > > Thanks.
30 >
31 > I built a test-image with baselayout-1.8.6.12-r5 + applying your patch -
32 > now the cd doesn't reboot and halt again.
33
34 Ok, I have a small problem here - the cd do not boot here - the gentoo
35 kernel locks up with spurious interrupts on keyboard controller, and the
36 experimental oops because it have both acpi irq handling _and_ pnp. I
37 thus cannot test it.
38
39 Anyhow, please try attached patch - it might be the removal of the
40 newroot stuff. I know its much to ask, but even if you can just hand
41 edit it, and do:
42
43 --
44 Index: init.d/halt.sh
45 ===================================================================
46 RCS file: /home/cvsroot/gentoo-src/rc-scripts/init.d/halt.sh,v
47 retrieving revision 1.47
48 diff -u -r1.47 halt.sh
49 --- init.d/halt.sh 6 Feb 2004 19:33:59 -0000 1.47
50 +++ init.d/halt.sh 7 Feb 2004 19:22:48 -0000
51 @@ -55,7 +55,7 @@
52 # Unmount loopback stuff first
53 # Use `umount -d` to detach the loopback device
54 remaining="`awk '!/^#/ && $1 ~ /^\/dev\/loop/ && $2 != "/" {print $2}' /proc/mounts | \
55 - sort -r | grep -v '/mnt/livecd'`"
56 + sort -r | grep -v '/newroot' | grep -v '/mnt/livecd'`"
57 [ -n "${remaining}" ] && {
58 sig=
59 retry=3
60 @@ -74,7 +74,7 @@
61 fi
62
63 remaining="`awk '!/^#/ && $1 ~ /^\/dev\/loop/ && $2 != "/" {print $2}' /proc/mounts | \
64 - sort -r | | grep -v '/mnt/livecd'`"
65 + sort -r | grep -v '/newroot' | grep -v '/mnt/livecd'`"
66 [ -z "${remaining}" ] && break
67
68 /bin/fuser -k -m ${sig} ${remaining} &>/dev/null
69 --
70
71 Complete patch also attached.
72
73
74 Thanks,
75
76 --
77
78 Martin Schlemmer
79 Gentoo Linux Developer, Desktop/System Team Developer
80 Cape Town, South Africa

Attachments

File name MIME type
rc-scripts-livecd.patch text/x-patch
signature.asc application/pgp-signature