Preliminary qubes-live package
This commit is contained in:
parent
ecd43c43c4
commit
fa151f3261
@ -6,5 +6,6 @@ RPM_SPEC_FILES := \
|
|||||||
lorax-templates-qubes/lorax-templates-qubes.spec \
|
lorax-templates-qubes/lorax-templates-qubes.spec \
|
||||||
pungi/pungi.spec \
|
pungi/pungi.spec \
|
||||||
pykickstart/pykickstart.spec \
|
pykickstart/pykickstart.spec \
|
||||||
qubes-release/qubes-dom0-dist-upgrade.spec
|
qubes-release/qubes-dom0-dist-upgrade.spec \
|
||||||
|
live/qubes-live.spec
|
||||||
endif
|
endif
|
||||||
|
@ -31,6 +31,8 @@ anaconda
|
|||||||
# Without this, initramfs generation during live image creation fails: #1242586
|
# Without this, initramfs generation during live image creation fails: #1242586
|
||||||
#dracut-live
|
#dracut-live
|
||||||
|
|
||||||
|
qubes-live
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
36
live/qubes-live.spec
Normal file
36
live/qubes-live.spec
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
Name: qubes-live
|
||||||
|
Version: 1.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Various fixes for Qubes Live edition
|
||||||
|
|
||||||
|
Group: System
|
||||||
|
License: GPL
|
||||||
|
URL: https://qubes-os.org
|
||||||
|
|
||||||
|
%description
|
||||||
|
Various fixes for Qubes Live edition
|
||||||
|
|
||||||
|
%prep
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
|
||||||
|
%post
|
||||||
|
|
||||||
|
# livecd-tools expects strange xen.gz name
|
||||||
|
xen=$(ls -1 /boot/xen-*gz | tail -n 1)
|
||||||
|
for kernel in /boot/vmlinuz-*; do
|
||||||
|
# see __copy_kernel_and_initramfs function in imgcreate/live.py
|
||||||
|
version=$(echo ${kernel} | cut -f 2- -d -)
|
||||||
|
short_version=$(echo -n ${version} | head -c -3)
|
||||||
|
ln -s $(basename ${xen}) /boot/xen.gz-${short_version}
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user