Looking for some advice before I get carried away.
Can it be used in say "Fedora 18" to build a "Fedora 17" yum cache from a file.list as an appliance and then pull in whatever updates are availabe for "Fedora 17" based on the *.list
Any gotchas?
On 05/03/2013 12:53 PM, Frank Murphy wrote:
Looking for some advice before I get carried away.
Can it be used in say "Fedora 18" to build a "Fedora 17" yum cache from a file.list as an appliance and then pull in whatever updates are availabe for "Fedora 17" based on the *.list
Any gotchas?
Not tried your exact use-case.
But w/ Rich Jones' recently helped me on IRC to build the latest supermin appliance, that's how I build it (most of it is in README):
1/ Clone the repo ------------------- kashyap@$ git://git.annexia.org/git/a-fedora-appliance.git -------------------
2/ Install supermin pkg ------------------- kashyap@a-fedora-appliance$ sudo yum install supermin -y -------------------
3/ Configure it ------------------- kashyap@a-fedora-appliance$ ./autogen.sh && ./configure && make extracting /usr/lib64/gconv/gconv-modules from glibc-2.16-28.fc18.x86_64.rpm ... extracting /var/lib/logrotate.status from logrotate-3.8.3-1.fc18.x86_64.rpm ... supermin: warning: some host files are unreadable by non-root supermin: warning: get your distro to fix these files: /lib64/dbus-1/dbus-daemon-launch-helper /sbin/unix_update /usr/bin/chfn /usr/bin/chsh /usr/bin/ssh-agent /usr/libexec/openssh/ssh-keysign /usr/libexec/utempter/utempter /usr/sbin/build-locale-archive /usr/sbin/glibc_post_upgrade.x86_64 /usr/sbin/groupadd /usr/sbin/groupdel /usr/sbin/groupmems /usr/sbin/groupmod /usr/sbin/useradd /usr/sbin/userdel /usr/sbin/usermod writing supermin.d/base.img ... writing supermin.d/hostfiles ... touch stamp-supermin mkdir -p supermin.d rm -f supermin.d/init.img supermin.d/init.img-t echo -e "init\nfirstboot" | cpio --quiet -o -H newc > supermin.d/init.img-t mv supermin.d/init.img-t supermin.d/init.img -------------------
4/ Build a supermin appliance ------------------- kashyap@a-fedora-appliance$ make local-build ./build-a-fedora-appliance supermin.d kernel initrd root kashyap@a-fedora-appliance$ -------------------
5/ Boot it ------------------- $ make local-boot ./boot-a-fedora-appliance --local -------------------
You can do more cool things like booting the appliance over a serial-console using qemu 'nographic' by editing the 'boot-a-fedora-appliance' file.
Hope that helps a bit.
/kashyap