Accepting request 137540 from Base:System

- remove /lib/udev/devices from specfile as it is
  unused
- mkinitrd-setup.sh: fixed recent breakage for IMSM
  arrays (bnc#783444)

OBS-URL: https://build.opensuse.org/request/show/137540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=76
This commit is contained in:
Stephan Kulow 2012-10-11 09:02:41 +00:00 committed by Git OBS Bridge
commit b3e613fe92
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Oct 9 03:35:22 UTC 2012 - nfbrown@suse.com
- remove /lib/udev/devices from specfile as it is
unused
- mkinitrd-setup.sh: fixed recent breakage for IMSM
arrays (bnc#783444)
-------------------------------------------------------------------
Thu Sep 20 06:03:45 UTC 2012 - nfbrown@suse.com

View File

@ -72,7 +72,6 @@ sgml2txt Software-RAID.HOWTO.sgml
make install DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_var}/adm/fillup-templates
install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}/init.d}
install -d $RPM_BUILD_ROOT/lib/udev/devices
install -m 755 %{S:4} %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/
install -d $RPM_BUILD_ROOT/lib/mkinitrd/scripts
install -m 755 %{S:5} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/setup-md.sh
@ -122,14 +121,13 @@ rm -rf $RPM_BUILD_ROOT
%doc Software-RAID.HOWTO/Software-RAID.HOWTO*{.txt,.html}
%doc %{_mandir}/man?/*
/sbin/*
%dir /lib/udev
%dir /lib/udev/devices
%{_sbindir}/*
%{_var}/adm/fillup-templates/sysconfig.mdadm
%dir /lib/mkinitrd
%dir /lib/mkinitrd/scripts
/lib/mkinitrd/scripts/setup-md.sh
/lib/mkinitrd/scripts/boot-md.sh
%dir /lib/udev
%dir /lib/udev/rules.d
/lib/udev/rules.d/64-md-raid.rules
%dir /etc

View File

@ -92,7 +92,7 @@ if [ -n "$root_md" ] ; then
need_mdadm=1
echo "AUTO -all" > $tmp_mnt/etc/mdadm.conf
for md in $md_devs; do
echo "${md_conf["$md"]}" >> $tmp_mnt/etc/mdadm.conf
echo -e "${md_conf["$md"]}" >> $tmp_mnt/etc/mdadm.conf
done
fi
# Remember which arrays are needed for the root or swap device and assemble