Re: [opensuse-factory] Missing /usr/lib/udev/rules.d/80-btrfs.rules causes mkinitrd errors when upgrading to kernel 3.11.1-29
I apologize for the SNAFU regarding the subject. The file /lib/mkinitrd/scripts/setup-btrfs.sh in btrfsprog currently has the following content: #!/bin/bash # #%stage: filesystem mkdir -p $tmp_mnt/etc/udev/rules.d cp /usr/lib/udev/rules.d/80-btrfs.rules $tmp_mnt/etc/udev/rules.d It should be changed to read: #!/bin/bash # #%stage: filesystem mkdir -p $tmp_mnt/etc/udev/rules.d cp /usr/lib/udev/rules.d/64-btrfs.rules $tmp_mnt/etc/udev/rules.d 64-btrfs.rules comes with udev. I verified I can run mkinitrd without errors with setup-btrfs.sh pointing to 64-btrfs.rules. -- Edward Reiss ebreiss@gmail.com Quis custidiet ipsos custodes? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Sat, 28 Sep 2013 16:53, Edward Reiss
I apologize for the SNAFU regarding the subject.
The file /lib/mkinitrd/scripts/setup-btrfs.sh in btrfsprog currently has the following content:
#!/bin/bash # #%stage: filesystem
mkdir -p $tmp_mnt/etc/udev/rules.d cp /usr/lib/udev/rules.d/80-btrfs.rules $tmp_mnt/etc/udev/rules.d
It should be changed to read:
#!/bin/bash # #%stage: filesystem
mkdir -p $tmp_mnt/etc/udev/rules.d cp /usr/lib/udev/rules.d/64-btrfs.rules $tmp_mnt/etc/udev/rules.d
64-btrfs.rules comes with udev.
I verified I can run mkinitrd without errors with setup-btrfs.sh pointing to 64-btrfs.rules.
If we touch this, please, can we make is 'safe' once for all? E.g.: [code] cp -t $tmp_mnt/etc/udev/rules.d /usr/lib/udev/rules.d/*-btrfs.rules [/code] To do away with changing [number]-part, and make sure target is a valid dir? - Yamaban -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Edward Reiss
-
Yamaban