Fix device-table.pl to use correct minor device number in iterative mode (Closes: #615819)

git-svn-id: http://emdebian.org/svn/current@7859 563faec7-e20c-0410-992a-a66f704d0ccd
This commit is contained in:
codehelp 2011-02-28 08:31:39 +00:00
parent 0b14008bc6
commit 51c7904c00
2 changed files with 4 additions and 2 deletions

4
debian/changelog vendored
View file

@ -3,8 +3,10 @@ multistrap (2.1.13) unstable; urgency=low
* [INTL:da] Danish translation of multistrap (Closes: #614306)
* [INTL:pt] Updated European Portuguese translation for
manpage/documentation" (Closes: #614381)
* Fix device-table.pl to use correct minor device number in
iterative mode (Closes: #615819)
-- Neil Williams <codehelp@debian.org> Mon, 21 Feb 2011 15:33:52 +0000
-- Neil Williams <codehelp@debian.org> Mon, 28 Feb 2011 08:31:39 +0000
multistrap (2.1.12) unstable; urgency=low

View file

@ -108,7 +108,7 @@ foreach $line (@list) {
push @seq, "chown $cmd[3]:$cmd[4] .$cmd[0]";
} else {
for ($i = 0; $i < $cmd[9]; $i += $cmd[8]) {
push @seq, "mknod .$cmd[0]$i $cmd[1] $cmd[5] $i";
push @seq, "mknod .$cmd[0]$i $cmd[1] $cmd[5] $cmd[6]";
push @seq, "chmod $cmd[2] .$cmd[0]$i";
push @seq, "chown $cmd[3]:$cmd[4] .$cmd[0]$i";
}