Accepting request 236410 from home:mlatimer:branches:Virtualization

Fix permissions on initramfs to allow regular users access

OBS-URL: https://build.opensuse.org/request/show/236410
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=288
This commit is contained in:
Olaf Hering 2014-06-06 12:35:32 +00:00 committed by Git OBS Bridge
parent 271a9fe0eb
commit b8a3032516
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 5 17:10:57 UTC 2014 - mlatimer@suse.com
- Fix permissions on initramfs to allow regular users access.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 26 11:22:34 CEST 2014 - ohering@suse.de Mon May 26 11:22:34 CEST 2014 - ohering@suse.de

View File

@ -727,6 +727,7 @@ mkdir -vp $RPM_BUILD_ROOT%{_libdir}/guestfs
cp -avLt $RPM_BUILD_ROOT%{_libdir}/guestfs/ \ cp -avLt $RPM_BUILD_ROOT%{_libdir}/guestfs/ \
mkinitrd/boot_tmp/initramfs.${arch}.img \ mkinitrd/boot_tmp/initramfs.${arch}.img \
mkinitrd/boot_tmp/vmlinuz.${arch} mkinitrd/boot_tmp/vmlinuz.${arch}
chmod 644 $RPM_BUILD_ROOT%{_libdir}/guestfs/initramfs.${arch}.img
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT