[Pkg-uml-pkgs] Bug#372828: modules/mkfs: reiserfs creation broken

Andreas Beckmann debian at abeckmann.de
Mon Jun 12 00:17:35 UTC 2006


Package: rootstrap
Version: 0.3.22-1
Severity: normal
Tags: patch

Hi,

creating an uml image with reiserfs does not work because of typos in
the mkfs script.

Andreas

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable'), (30, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-vserver-k7
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages rootstrap depends on:
ii  debootstrap                 0.3.3        Bootstrap a basic Debian system
ii  dpkg                        1.13.19      package maintenance system for Deb
ii  python                      2.3.5-5      An interactive high-level object-o
ii  user-mode-linux             2.6.16-2um-1 User-mode Linux (kernel)

Versions of packages rootstrap recommends:
ii  uml-utilities                 20060323-3 User-mode Linux (utility programs)

-- no debconf information
-------------- next part --------------
diff -ur modules.org/mkfs modules/mkfs
--- modules.org/mkfs	2006-05-23 01:06:41.000000000 +0200
+++ modules/mkfs	2006-06-12 02:12:47.000000000 +0200
@@ -3,8 +3,8 @@
 # which others support -q?
 if [ $fstype = "ext2" -o $fstype = "ext3" ]; then
 	options="-q"
-elif [ $fstype = "reiserfs"]; then
-	option="-fq"
+elif [ $fstype = "reiserfs" ]; then
+	options="-fq"
 fi
 
 for i in 0 1 2 3 4 5 6 7; do


More information about the Pkg-uml-pkgs mailing list