SHA256
1
0
forked from pool/libguestfs

- Add network related modules to initrd (bnc#835949)

- Remove supermin.d
- Mount also /dev/pts in mount-rootfs-and-do-chroot.sh

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=228
This commit is contained in:
Olaf Hering 2013-08-22 07:48:54 +00:00 committed by Git OBS Bridge
parent 43663c5480
commit 79b4b7a5ae
4 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Aug 22 09:47:30 CEST 2013 - ohering@suse.de
- Add network related modules to initrd (bnc#835949)
- Remove supermin.d
- Mount also /dev/pts in mount-rootfs-and-do-chroot.sh
-------------------------------------------------------------------
Mon Aug 19 23:23:31 CEST 2013 - ohering@suse.de

View File

@ -75,6 +75,13 @@
#%udevmodules: nls_koi8-ru
#%udevmodules: nls_koi8ru
#%udevmodules: nls_utf8
#%udevmodules:
#%udevmodules: af_packet
#%udevmodules: nfs
#%udevmodules: nfsv2
#%udevmodules: nfsv3
#%udevmodules: nfsv4
#%udevmodules: ipv6
#
#%programs: mdadm
#%programs: modprobe

View File

@ -60,7 +60,7 @@ then
if mount -v "${rootfs}" "${mnt}"
then
for i in dev proc sys selinux
for i in dev dev/pts proc sys selinux
do
if test -d /${i} && test -d "${mnt}/${i}" && test "`stat -c %D /`" != "`stat -c %D ${i}`"
then

View File

@ -507,6 +507,7 @@ make \
export NO_BRP_STRIP_DEBUG=true
%endif
%makeinstall udevrulesdir=%{udevrulesdir}
rm -rfv $RPM_BUILD_ROOT%{_libdir}/guestfs/supermin.d
#remove ocaml bindings files if they are disable via rpm macro
%if !%{with ocaml_bindings}
rm -rfv $RPM_BUILD_ROOT%{_libdir}/ocaml