SHA256
1
0
forked from pool/dmraid

Accepting request 184080 from home:olh:branches:Base:System

- 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
This commit is contained in:
Dr. Werner Fink 2013-07-24 14:43:23 +00:00 committed by Git OBS Bridge
parent 73f4264f19
commit 4101c712d5
4 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jul 23 14:38:15 CEST 2013 - ohering@suse.de
- Remove usage of absolute paths in initrd
- Remove some checks from mkinitrd scripts, they are always true
- List all used binaries in programs tag
-------------------------------------------------------------------
Wed Nov 28 12:07:36 UTC 2012 - rmilasan@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package dmraid
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed

View File

@ -2,7 +2,8 @@
#%stage: block
#%depends: dm
#%provides: dmroot
#%programs: /sbin/dmraid
#%programs: dmraid
#%programs: mkdir
#%if: -n "$root_dmraid"
#
##### Device Mapper Raid
@ -17,6 +18,6 @@
##
[ -d /run/lock ] || mkdir -p /run/lock >/dev/null 2>&1
/sbin/dmraid -a y -p
dmraid -a y -p
wait_for_events

View File

@ -4,7 +4,7 @@
#%provides: dmroot
#
if [ -x /sbin/dmraid -a -x /sbin/dmsetup ] ; then
if [ -x "$(type -p dmsetup)" ] ; then
newbd=
for bd in $blockdev ; do
update_blockdev $bd