4101c712d5
- Remove usage of absolute paths in initrd - Remove some checks from mkinitrd scripts, they are always true - List all used binaries in programs tag OBS-URL: https://build.opensuse.org/request/show/184080 OBS-URL: https://build.opensuse.org/package/show/Base:System/dmraid?expand=0&rev=30
24 lines
467 B
Bash
24 lines
467 B
Bash
#!/bin/bash
|
|
#%stage: block
|
|
#%depends: dm
|
|
#%provides: dmroot
|
|
#%programs: dmraid
|
|
#%programs: mkdir
|
|
#%if: -n "$root_dmraid"
|
|
#
|
|
##### Device Mapper Raid
|
|
##
|
|
## If the root device uses a software raid based on device mapper,
|
|
## this initializes and waits for the device to appear.
|
|
##
|
|
## Command line parameters
|
|
## -----------------------
|
|
##
|
|
## root_dmraid=1 use device mapper raid
|
|
##
|
|
|
|
[ -d /run/lock ] || mkdir -p /run/lock >/dev/null 2>&1
|
|
dmraid -a y -p
|
|
wait_for_events
|
|
|