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

Fix for a problem, and how it was done (was: Re: gnu-19990505.tar.gz uploaded



On Wed, May 05, 1999 at 07:43:18PM +0200, Marcus Brinkmann wrote:
> Otherwise, it is now easy enough for me to rebuild and upload it, so if it
> is broken, we will do a new one :)

There is a problem with native-install, or with Hurd, I am not sure yet.
Here is the patch:

--- /mnt/marcus/gnu/hurd/repository/native-install	Tue Apr 27 21:45:59 1999
+++ /gnu/native-install	Wed May  5 20:53:25 1999
@@ -36,13 +36,16 @@
 	/bin/ln -s 2 /servers/socket/inet
 fi
 
+cp /usr/share/base-passwd/passwd.master /etc/passwd
+cp /usr/share/base-passwd/group.master /etc/group
+cd dev
+/bin/sh ./MAKEDEV fd null
+
 # We need the following so "chown root" works for MAKEDEV
 echo
 echo Now I will configure some essential packages, so I can chown files to root.
 dpkg --configure mawk
 dpkg --configure libc0.2
-cp /usr/share/base-passwd/passwd.master /etc/passwd
-cp /usr/share/base-passwd/group.master /etc/group
 
 # Setup crucial devices
 echo

The problem is that the new Hurd version does answer /dev/fd/4: File don't
exist, even if the interpreter for the hashexec is in place. This seems to
be a problem only when such a script is fork/exec'ed by dpkg, not if it is
run from the shell manually. Very strange.

Secondly, Roland ask me how I did it. Well, I used cross-install. I did
it under Linux, but there is no reason why it shouldn't work from the Hurd.

Put a mirror of the package tree to some place, and run:

./cross-install /path/to/hurd
(answer yes)

cd /path/to/hurd
tar -czpf /tmp/gnu-19990505.tar.gz *

That's all.

Install with

tar --same-owner -xpzf gnu-19990505.tar.gz

Thanks,
Marcus


-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org   finger brinkmd@ 
Marcus Brinkmann              GNU    http://www.gnu.org     master.debian.org
Marcus.Brinkmann@ruhr-uni-bochum.de                        for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       PGP Key ID 36E7CD09


Reply to: