btrfsprogs/boot-btrfs.sh
Jeff Mahoney 679e0a0c96 Accepting request 184008 from home:olh:branches:filesystems
NOT tested with real btrfs root filesystem!


- Simplify checks in mkinitrd scripts.
  They are always true because they come from the same package
  Use relative paths to binaries
- Move udev rules to /usr.
- Adjust rules to call binary from /usr
- Simplify fsck.btrfs, its just a dummy until fixed

OBS-URL: https://build.opensuse.org/request/show/184008
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=133
2013-07-26 21:25:13 +00:00

23 lines
532 B
Bash

#!/bin/bash -e
#%stage: filesystem
#%depends: dm dmraid lvm2 udev md luks
#%programs: btrfs
#%programs: btrfs-convert
#%programs: btrfs-debug-tree
#%programs: btrfs-dump-super
#%programs: btrfs-find-root
#%programs: btrfs-image
#%programs: btrfs-select-super
#%programs: btrfs-zero-log
#%programs: btrfsck
#%programs: btrfstune
# for fsck(8): listed twice so that a copy really ends up in /sbin
#%programs: /sbin/fsck.btrfs
#%programs: fsck.btrfs
#%programs: mkfs.btrfs
#%modules: btrfs
modprobe btrfs
btrfs dev scan >& /dev/null