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

Re: Wrong MAKEDEV



Hello, Marcus!

> Thanks for the report! I never really used the script on anything but
> Debian, but if you have a "strange" custom setup of dpkg, it appears logical
> to me that you have to adjust the script accordingly.

Try the attached patch. It specifies --admindir explicitly. This is
sufficient for my setup. Hopefully, it will work for you as before.

Remaining problems:

1) The is no link to perl from perl5.00404, and native-install doesn't
handle it properly. At least it tries to use perl before the link is
created.

2) /dev/time cannot be created. Upgrade to bash-2.03, it executes
/dev/MAKEDEV properly.

Pavel Roskin
--- dpkg-hurd.v0	Mon Apr 12 21:30:36 1999
+++ dpkg-hurd	Fri Apr 16 18:27:16 1999
@@ -101,7 +101,7 @@
 
 	shift
 	shift
-	dpkg --root=. --force-architecture ${action} ${@-} temp_build/${name}.deb
+	dpkg --root=. --admindir=${vld} --force-architecture ${action} ${@-} temp_build/${name}.deb
 
 	# Move new package scripts into dpkg's repository
 	for f in preinst postinst prerm postrm
@@ -136,7 +136,7 @@
 	shift
 	shift
 
-	dpkg --root=. --force-architecture ${action} ${@-} ${name}
+	dpkg --root=. --admindir=${vld} --force-architecture ${action} ${@-} ${name}
 
 	for f in prerm postrm
 	do
@@ -149,7 +149,7 @@
 fi
 	
 if [ "${1}" == "-s" -o "${1}" == "-S" -o "${1}" == "-l" -o "${1}" == "-L" ] ; then
-	dpkg --root=. "${@}"
+	dpkg --root=. --admindir=${vld} "${@}"
 	exit 0
 fi
 

Reply to: