# call sudo moblin-image-creator -c LFDK.ks -f livecd -k /var/tmp/mic2 # to build the ISO. # kvm smoke test the ISO with sudo qemu-kvm -hda moblin-LFDK-*.iso -m 512 lang en_US.UTF-8 keyboard us timezone US/Eastern auth --useshadow --enablemd5 firewall --disabled part / --size 2048 --ondisk sda --fstype=ext3 rootpw moblin xconfig --startxonboot bootloader --timeout=10 desktop --autologinuser=moblin --defaultdesktop=xfce4 repo --name=local --baseurl=file:///home/mgross/rpmbuild/RPMS/ ##created local repo using "createrepo . " executed from the /home/mgross/rpmbuild/RPMS directory. # repo --save --name=moblin2 --baseurl=http://moblin.intel.com/download/moblin/development/common/ia32/os/ repo --save --name=ux --baseurl=http://moblin.intel.com/download/moblin/internal/ux/ia32/os/ repo --save --name=debug --baseurl=http://moblin.intel.com/download/moblin/development/common/ia32/debug repo --save --name=non-oss --baseurl=http://moblin.intel.com/download/moblin/development/non-oss repo --save --name=ux-debug --baseurl=http://moblin.intel.com/download/moblin/internal/ux/ia32/debug repo --save --name=extra --baseurl=http://moblin.intel.com/download/moblin/development/extra/ia32/os/ %packages @Core @Base @Basic Hardware Support #@X Window System #@X for Netbooks #@Moblin Foundation #@XFCE #@Basic Desktop #@Moblin Desktop #@Virtual Machine Support LinuxFirmwareDeveloperToolkit # SDK @Development Tools #@X Software Development #@Moblin Foundation Development @Development Libraries #@Moblin Desktop Development # netbook specific stuff and will be removed once we have an installer # that can install different packages with different platforms # grub kernel-netbook #kernel <-- use this once LFDK-kernel.spec is debugged. #kernel-netbook-devel # moblin repos #moblin-repos %end %post # set inittab to boot into runlevel 3. sed -i 's/[0-9]:initdefault/3:initdefault/' /etc/inittab # add moblin user with no passwd /usr/sbin/useradd --groups audio,video -c "Moblin Live" moblin /usr/bin/passwd -d moblin > /dev/null # workaround avahi segfault (#279301) touch /etc/resolv.conf # work around for poor key import UI in PackageKit rm -f /var/lib/rpm/__db* #rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora # save a little bit of space at least... rm -f /boot/initrd* # make sure there aren't core files lying around rm -f /core* rpm --rebuilddb %end