Commit Graph

5 Commits

Author SHA1 Message Date
Kalev Lember
1c9fefa186 packagekit-cached-metadata.ks: Adapt for livemedia-creator changes
Now that F24 images are made with livemedia-creator instead of
livecd-creator, the kickstart parser has changed; the new kickstart
parser doesn't understand the $INSTALL_ROOT variable we'd been using in
%post --nochroot scripts. This commit fixes this by replacing
$INSTALL_ROOT usage with hardcoded /mnt/sysimage as docs suggest.

While at this, this commit also fixes a case where resolv.conf would be
incorrectly copied if it is a symlink, thanks to dgilmore for pointing
this out.
2016-06-01 23:20:36 +02:00
Kalev Lember
d1500f92ca packagekit-cached-metadata.ks: Update Branched and Rawhide repo URLs
They changed with the switch to Pungi.
2016-05-03 15:18:40 +02:00
Kalev Lember
a6d3b1c456 packagekit-cached-metadata.ks: Set up resolv.conf and hosts files
Copy over host system's /etc/resolv.conf and /etc/hosts to make it
possible to resolve kojipkgs.fedoraproject.org inside the chroot.
2015-10-20 21:29:24 +02:00
Kalev Lember
d293e561f4 packagekit-cached-metadata.ks: Use http for kojipkgs.fedoraproject.org
It turns out that koji builders can't access kojipkgs.fedoraproject.org
over https, but plain http works just fine.
2015-10-20 21:29:23 +02:00
Kalev Lember
2459d8254b Move packagekit-cached-metadata.ks to snippets/
... and make it a top-level script wrapped in %post ... %end.
2015-10-20 21:29:22 +02:00