Add qubes.repo to all qubes-core-* rpms.
This commit is contained in:
parent
046802948f
commit
940cae99d6
6
common/qubes.repo
Normal file
6
common/qubes.repo
Normal file
@ -0,0 +1,6 @@
|
||||
[qubes]
|
||||
name = Qubes OS Repository
|
||||
baseurl = http://qubes-os.org/yum/rpm
|
||||
gpgkey = http://qubes-os.org/keys/qubes-release-1-signing-key.asc
|
||||
gpgcheck = 1
|
||||
|
@ -67,6 +67,9 @@ cp iptables $RPM_BUILD_ROOT/etc/sysconfig/
|
||||
mkdir -p $RPM_BUILD_ROOT/mnt/incoming
|
||||
mkdir -p $RPM_BUILD_ROOT/mnt/outgoing
|
||||
mkdir -p $RPM_BUILD_ROOT/mnt/removable
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/yum.repos.d
|
||||
cp ../common/qubes.repo $RPM_BUILD_ROOT/etc/yum.repos.d
|
||||
|
||||
|
||||
%post
|
||||
|
||||
@ -162,3 +165,4 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%dir /mnt/incoming
|
||||
%dir /mnt/outgoing
|
||||
%dir /mnt/removable
|
||||
/etc/yum.repos.d/qubes.repo
|
||||
|
@ -61,6 +61,9 @@ mkdir -p $RPM_BUILD_ROOT/etc/dhclient.d
|
||||
ln -s /usr/bin/qubes_setup_dnat_to_ns $RPM_BUILD_ROOT/etc/dhclient.d/qubes_setup_dnat_to_ns.sh
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/NetworkManager/dispatcher.d/
|
||||
cp qubes_nmhook $RPM_BUILD_ROOT/etc/NetworkManager/dispatcher.d/
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/yum.repos.d
|
||||
cp ../common/qubes.repo $RPM_BUILD_ROOT/etc/yum.repos.d
|
||||
|
||||
%post
|
||||
|
||||
sed 's/^net.ipv4.ip_forward.*/net.ipv4.ip_forward = 1/' -i /etc/sysctl.conf
|
||||
@ -155,3 +158,4 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/usr/bin/qubes_setup_dnat_to_ns
|
||||
/etc/dhclient.d/qubes_setup_dnat_to_ns.sh
|
||||
/etc/NetworkManager/dispatcher.d/qubes_nmhook
|
||||
/etc/yum.repos.d/qubes.repo
|
||||
|
Loading…
Reference in New Issue
Block a user