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

Bug#373945: Successful 2.6 based installation on s/390 (hercules) - some issues



On Friday 16 June 2006 15:39, Frans Pop wrote:
> * DASD configuration
> This was solved (worked around rather) by adding the dasd-modules udeb
> to the initrd so that initial udev runs will load them. The real
> solution would be to run depmod and rerun udev as part of dasd
> detection.

Bastian: What do you think of the attached patch for this (untested)?

> * Partitioning - partman-auto
> For the last reason, we'll probably just disable partman-auto for S/390
> for now.

Needed patch committed in SVN.

Index: debian/control
===================================================================
--- debian/control	(revision 38083)
+++ debian/control	(working copy)
@@ -9,7 +9,7 @@
 Package: s390-dasd
 XC-Package-Type: udeb
 Architecture: s390 s390x
-Depends: ${shlibs:Depends}, ${misc:Depends}, dasd-modules, s390-sysconfig-writer, s390-tools-udeb
+Depends: ${shlibs:Depends}, ${misc:Depends}, dasd-modules, s390-sysconfig-writer, s390-tools-udeb, di-utils (>= 1.31)
 Provides: harddrive-detection
 XB-Installer-Menu-Item: 37
 Description: Configure DASD
Index: debian/s390-dasd.postinst
===================================================================
--- debian/s390-dasd.postinst	(revision 0)
+++ debian/s390-dasd.postinst	(revision 0)
@@ -0,0 +1,10 @@
+#! /bin/sh
+set -e
+
+if [ -x /sbin/depmod ]; then
+        depmod -a > /dev/null 2>&1 || true
+fi
+
+update-dev
+
+dasd
Index: debian/rules
===================================================================
--- debian/rules	(revision 38083)
+++ debian/rules	(working copy)
@@ -20,7 +20,7 @@
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	cp dasd debian/postinst
+	dh_install dasd bin
 
 # Build architecture-independent files here.
 binary-indep: build install

Attachment: pgpNZ_JlxuJ25.pgp
Description: PGP signature


Reply to: