21 |
PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/pkgorder \ |
PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/pkgorder \ |
22 |
--product SME \ |
--product SME \ |
23 |
$(pwd)/$distarch \ |
$(pwd)/$distarch \ |
24 |
$distarch > pkgorder |
$distarch > pkgorder.$distarch |
25 |
|
|
26 |
for PKG in /releases/$distrel/smeextras/$distarch/RPMS/*.rpm |
for PKG in /releases/$distrel/smeextras/$distarch/RPMS/*.rpm |
27 |
do |
do |
37 |
--version "$distrel.0" \ |
--version "$distrel.0" \ |
38 |
--release "$distname" \ |
--release "$distname" \ |
39 |
--prodpath SME \ |
--prodpath SME \ |
40 |
--pkgorder pkgorder \ |
--pkgorder pkgorder.$distarch \ |
41 |
$(pwd)/$distarch/ |
$(pwd)/$distarch/ |
42 |
|
|
43 |
sed -i 's@1,2,3@1@' $(pwd)/$distarch/.discinfo |
sed -i 's@1,2,3@1@' $(pwd)/$distarch/.discinfo |
51 |
fi |
fi |
52 |
done |
done |
53 |
|
|
54 |
|
sed '/^cat .*pluginconf.d\/fedorakmod.conf.*<<.*EOF/,/^EOF$/s@^enabled.*@enabled = 0@' \ |
55 |
|
/usr/lib/anaconda-runtime/upd-instroot > upd-instroot |
56 |
|
chmod 755 upd-instroot |
57 |
|
sudo chown root:root upd-instroot |
58 |
|
|
59 |
PYTHONPATH=/usr/lib/anaconda/ sudo /usr/lib/anaconda-runtime/buildinstall \ |
PYTHONPATH=/usr/lib/anaconda/ sudo /usr/lib/anaconda-runtime/buildinstall \ |
60 |
--product "$distname" \ |
--product "$distname" \ |
61 |
--version "$distrel.0" \ |
--version "$distrel.0" \ |
63 |
--prodpath SME \ |
--prodpath SME \ |
64 |
--bugurl http://bugs.contribs.org/ \ |
--bugurl http://bugs.contribs.org/ \ |
65 |
$(pwd)/$distarch/ |
$(pwd)/$distarch/ |
66 |
|
|
67 |
|
sudo rm upd-instroot |
68 |
fi |
fi |
69 |
|
|
70 |
# Remove previous linked files |
# Remove previous linked files |