Open main menu

CDOT Wiki β

Changes

Pidora-2014-kickStart

11,259 bytes removed, 13:45, 13 August 2014
Pidora Kickstart
== Pidora Kickstart ==
 
 
<pre># Build a Raspberry Pi - XFCE install using livemedia-creator
# http://scotland.proximity.on.ca/raspberrypi/test-releases/rpfr18v6/latest/revfat
 
 
lang en_US.UTF-8
keyboard us
# Set a default root password for Rasbberry Pi
rootpw --plaintext Pidora2014raspberrypi
# Repositories
url --url="http://japan.proximity.on.ca/kojifiles/repos/f20-build/latest/armv6hl/"
#url --url="http://japan.proximity.on.ca/kojifiles/mash20/pidora-20-latest/pidora-20/armhfp/os/"# and get updates for the builders #repo --name=pidora --ignoregroups=true --baseurl="http://japan.proximity.on.ca/kojifiles/mash20/pidora-20-latest/pidora-20/armhfp/os/" repo --name=pidora --ignoregroups=true --baseurl="http://japan.proximity.on.ca/kojifiles/mash20/pidora-20updates/armhfp/os/"
#repo --name=pidora-updates --baseurl="http://japan.proximity.on.ca/repos/f20-updates-build/latest/armv6hl/"
repo --name=pidora-rpfr --baseurl="http://japan.proximity.on.ca/kojifiles/reposmash20/f20pidora-rpfr-updates20-build/latest/armv6hl/"   #repo pidora-20-name=rpfr18g6 rpfr--baseurl="http://scotland.proximity.on.caupdates/~agreene/v6-groupsarmhfp/"
#
#
%packages --ignoremissing
 # Exclueded packages-fedora-release-fedora-release-notes-fedora-logos-generic-release-system-config-date-xorg-x11-drv-ati-xorg-x11-drv-cirrus-xorg-x11-drv-geode-xorg-x11-drv-intel-xorg-x11-drv-mga-xorg-x11-drv-nouveau-xorg-x11-drv-omap-xorg-x11-drv-qxl-xorg-x11-drv-vesa-xorg-x11-drv-vmware-smolt-smolt-firstboot-linux-firmware-plymouth-abrt*-orage-nfs-utils-talk-yp-tools-ypbind-coolkey-system-config-keyboard-system-config-keyboard-base-irqbalance-pcmciautils-samba-pulseaudio-gdm-hooks-gnome-shell-gdm-libs-gdm-gnome-session-xsession # Complete package setabattis-cantarell-fontsaccountsserviceaccountsservice-libsaclabiwordadwaita-cursor-themeadwaita-gtk2-themeadwaita-gtk3-themeaic94xx-firmwarealbatross-gtk2-themealbatross-gtk3-themealbatross-xfwm4-themealsa-firmwarealsa-libalsa-tools-firmwareanaconda-yum-pluginsarjatatkatmel-firmwareat-spi2-atkat-spi2-coreattrauditaudit-libsaudit-libs-pythonauthconfigauthconfig-gtkavahi-autoipdavahi-glibavahi-libsb43-fwcutterb43-openfwwfbasesystembashbash-completionbcbind-libsbind-libs-litebind-licensebind-utilsbinutilsbluebird-gtk2-themebluebird-gtk3-themebluebird-xfwm4-themebluemanbluezbluez-libsbridge-utils#btrfs-progsbzip2bzip2-libsca-certificatescairocairo-gobjectc-arescdparanoia-libsceltcheckpolicychkconfigchronycifs-utilscloog-pplcolord-libscomps-extrasConsoleKitConsoleKit-libsConsoleKit-x11control-center-filesystemcoreutilscpiocppcracklibcracklib-dictscrdacreaterepocroniecronie-anacroncrontabscryptsetupcryptsetup-libscups-libscurlcyrus-saslcyrus-sasl-gssapicyrus-sasl-libcyrus-sasl-plaindbusdbus-glibdbus-libsdbus-pythondbus-x11dconfdejavu-fonts-commondejavu-sans-fontsdejavu-sans-mono-fontsdejavu-serif-fontsdeltarpmdesktop-backgrounds-basicdesktop-backgrounds-compatdesktop-backgrounds-gnomedesktop-file-utilsdevice-mapperdevice-mapper-eventdevice-mapper-event-libsdevice-mapper-libsdhclientdhcp-commondhcp-libsdiffutilsdmraiddmraid-eventsdnsmasqdos2unixdosfstoolsdumpe2fsprogse2fsprogs-libsebtablesedelfutils-libelfemacs-filesystemenchantespeakethtoolexoexpatfedora-icon-themefilefile-libsfilesystemfindutilsfingerfipscheckfipscheck-libfirewall-configfirewalldfirstbootflacfontconfigfontpackages-filesystemfpastefprintdfprintd-pamfreetypeftpfxloadgamingarcongawkgccGConf2gcrgdbmgdiskgdk-pixbuf2gdmgeoclueglib2glibcglibc-commonglibc-develglibc-headersglib-networkinggmpgnome-bluetooth-libsgnome-desktop3gnome-icon-themegnome-icon-theme-legacygnome-icon-theme-symbolicgnome-keyringgnome-keyring-pamgnome-python2gnome-python2-bonobognome-python2-canvasgnome-python2-gconfgnome-python2-gnomegnome-python2-gnomevfsgnome-sessiongnome-settings-daemongnome-themesgnome-themes-standardgnome-vfs2gnupg2gnutlsgobject-introspectiongpgme#gpg-pubkeygrepgreybird-gtk2-themegreybird-gtk3-themegreybird-xfce4-notifyd-themegreybird-xfwm4-themegroff-basegsettings-desktop-schemasgsmgstreamergstreamer1gstreamer-plugins-basegstreamer-toolsgtk2gtk2-enginesgtk3gtk-murrine-enginegtk-unico-enginegtk-xfce-engineguakegvfsgvfs-obexftpgzipharfbuzzhesiodhicolor-icon-themehostnamehunspellhunspell-enhunspell-en-GBhunspell-en-UShwdataibus-libsinfoinitscriptsiprouteiprutilsiptablesiptables-servicesiptstateiputilsirda-utilsiso-codesivtv-firmwareiwiwl1000-firmwareiwl100-firmwareiwl105-firmwareiwl135-firmwareiwl2000-firmwareiwl2030-firmwareiwl3945-firmwareiwl4965-firmwareiwl5000-firmwareiwl5150-firmwareiwl6000-firmwareiwl6000g2a-firmwareiwl6000g2b-firmwareiwl6050-firmwarejack-audio-connection-kitjack-audio-connection-kit-example-clientsjasper-libsjbigkit-libsjsjson-cjson-glibjwhoiskbdkeyutilskeyutils-libskmodkmod-libskpartxkrb5-libskbd-misckrb5-workstationlcms2lcms-libsleafpadlesslftplibacllibarchivelibart_lgpllibassuanlibasyncnslibatasmartlibattrlibbasicobjectslibbcm2835libblkidlibbluraylibbonobolibbonobouilibbsdlibcanberralibcanberra-gtk2libcanberra-gtk3libcaplibcap-nglibcdiolibcgrouplibcollectionlibcom_errlibcrocolibcurllibdaemonlibdblibdb4libdb-utilslibdhashlibdmxlibdrmlibeditlibeeliberation-fonts-commonliberation-mono-fontsliberation-narrow-fontsliberation-sans-fontsliberation-serif-fontslibertas-usb8388-firmwarelibestrlibexiflibffilibfontenclibfprintlibgcclibgcryptlibglade2libgnomelibgnomecanvaslibgnome-keyringlibgnomeuilibgomplibgpg-errorlibgsflibgudev1libicallibICElibiculibIDLlibidnlibimobiledevicelibini_configlibipa_hbaclibjpeg-turbolibldbliblognormlibmcpplibmicrohttpdlibmnllibmodmanlibmountlibmpclibnetfilter_conntracklibnfnetlinklibnllibnl3libnm-gtklibnotifylibogglibopenrawlibopenraw-gnomelibpath_utilslibpcaplibpciaccesslibpipelinelibplistlibpnglibproxylibpwqualitylibref_arraylibreportlibreport-filesystemlibreport-gtklibreport-newtlibreport-pythonlibrsvg2libsampleratelibsecretlibselinuxlibselinux-pythonlibselinux-utilslibsemanagelibsemanage-pythonlibsepollibSMlibsndfilelibsouplibsslibssh2libsss_idmaplibstdc++libsysfslibtalloclibtasn1libtdblibteventlibthailibtheoralibtifflibtool-ltdllibudisks2libusblibusbxlibuserlibuser-pythonlibutempterlibuuidlibvisuallibvorbislibwacomlibwacom-datalibwayland-clientlibwayland-serverlibwbclientlibwncklibX11libX11-commonlibXaulibxcblibXcompositelibXcursorlibXdamagelibXdmcplibXevielibXextlibxfce4uilibxfce4utillibxfcegui4libXfixeslibXfontlibXftlibXilibXineramalibxkbfilelibxklavierlibxml2libxml2-pythonlibXmulibXpmlibXrandrlibXrenderlibXreslibXScrnSaverlibxsltlibXtlibXtstlibXvlibXxf86dgalibXxf86misclibXxf86vmlibyamllightdmlightdm-gobjectlightdm-gtklinux-atm-libslinux-firmwarellvm-libslogrotatelsoflualzom4mailcapmailxmakeman-dbman-pagesmcppmdadmmesa-dri-driversmesa-dri-filesystemmesa-libEGLmesa-libgbmmesa-libGLmesa-libglapimetacitymidorimlocatemobile-broadband-provider-infompfrmtdevmtoolsmtrnanoncursesncurses-basencurses-libsNetworkManagernetwork-manager-appletNetworkManager-glibNetworkManager-openvpnNetworkManager-pptpNetworkManager-vpncnewtnewt-pythonnm-connection-editornodoka-filesystemnortcnotification-daemonnotify-pythonnsprnssnss-myhostnamenss-softoknnss-softokn-freeblnss-sysinitnss-toolsnss-utilntfs-3gntfsprogsntpdatentsysvobex-data-serveropenjpeg-libsopenldapopenobexopensshopenssh-askpassopenssh-clientsopenssh-serveropensslopenssl-libsopenvpnorageORBit2orcp11-kitPackageKitPackageKit-glibPackageKit-yumPackageKit-yum-pluginpampam_krb5pam_pkcs11pangopartedpasswdpasswdqcpasswdqc-libpciutilspciutils-libspcrepcsc-lite-libsperlperl-Carpperl-Device-BCM2835perl-Filterperl-libsperl-macrosperl-Module-Pluggableperl-parentperl-PathToolsperl-Pod-Escapesperl-Pod-Parserperl-Pod-Perldocperl-Pod-Simpleperl-Scalar-List-Utilsperl-Socketperl-threadsperl-threads-sharedperl-URIpi3dpinentrypinentry-gtkpinfopixmanpkcs11-helperpkgconfigpm-utilspolicycoreutilspolicycoreutils-develpolicycoreutils-pythonpolkitpolkit-gnomepopplerpoppler-datapoppler-glibpoptpplppl-pwlppppptpprelinkpreupgradeprocmailprocps-ngpsacctpsmiscpthpulseaudiopulseaudio-gdm-hookspulseaudio-libspulseaudio-libs-glib2pycairopygobject2pygobject3pygobject3-basepygpgmepygtk2pygtk2-libgladepyliblzmapyorbitpytallocpythonpython-chardetpython-decoratorpython-deltarpmpython-ethtoolpython-iniparsepython-IPypython-kitchenpython-libspython-mehpython-pexpectpython-pwqualitypython-pycurlpython-slippython-slip-dbuspython-urlgrabberpyxdgql2400-firmwareql2500-firmwareqrencode-libsquotaquota-nlsraspberrypi-configpidora-logosraspberrypi-firstboot-modraspberrypi-kernel*pidora-releaseraspberrypi-release-notes#raspberrypi-rootfs-resizeepiphany-rpirootfs-resizeraspberrypi-headlessraspberrypi-system-config-dateraspberrypi-system-config-keyboardraspberrypi-system-config-keyboard-baseraspberrypi-vc-demo-sourceraspberrypi-vc-firmwareraspberrypi-vc-libsraspberrypi-vc-libs-develraspberrypi-vc-staticraspberrypi-vc-utilsraspi-splashrdaterdistreadlinerecordmydesktopredhat-menusrmtrng-toolsrootfilesrpmrpm-build-libsrpm-libsrpm-pythonrshrsyncrsyslogrtkitrubyrubygem-bigdecimalrubygem-io-consolerubygem-jsonrubygem-rdocrubygemsruby-irbruby-libssamba-libssedselinux-policyselinux-policy-develselinux-policy-docselinux-policy-targetedsendmailsetools-libssetools-libs-pythonsetroubleshootsetroubleshoot-pluginssetroubleshoot-serversetserialsetupsetuptoolsg3_utils-libssgpioshadow-utilsshared-mime-infoslslangsmartmontoolssmp_utilssmp_utils-libssossound-theme-freedesktopspeexspherical-cow-backgrounds-gnomespherical-cow-backgrounds-singlesqlitesssdsssd-clientstartup-notificationstracestunnelsudosymlinkssystem-config-firewall-basesystem-config-firewall-tuisystem-config-userssystemdsystemd-libssystemd-sysvsysvinit-toolstaglibtartcpdumptcp_wrapperstcp_wrappers-libstelnetTerminalThunarthunar-archive-pluginthunar-media-tags-pluginthunar-volmantimetmpwatchtraceroutetreetumblertzdatauboot-toolsudisksudisks2uniqueunitsunzipupowerusb_modeswitchusb_modeswitch-datausbmuxdusbutilsusermodeusermode-gtkustrutil-linuxvconfigvim-minimalvpncvpnc-scriptvtewebkitgtkwebrtc-audio-processingwgetwhichwireless-toolswiringpiwordswpa_supplicantxarchiverxcb-utilxdg-user-dirsxdg-user-dirs-gtkxdg-utilsxfce4-aboutxfce4-appfinderxfce4-datetime-pluginxfce4-icon-themexfce4-mixerxfce4-notifydxfce4-panelxfce4-places-pluginxfce4-power-managerxfce4-quicklauncher-pluginxfce4-screenshooterxfce4-screenshooter-pluginxfce4-sessionxfce4-session-enginesxfce4-settingsxfce4-xkb-pluginxfconfxfdesktopxfsprogsxfwm4xfwm4-theme-nodokaxfwm4-themesxkeyboard-configxml-commonxorg-x11-drv-evdevxorg-x11-drv-fbdevxorg-x11-drv-fbturboxorg-x11-fonts-ISO8859-1-100dpixorg-x11-font-utilsxorg-x11-server-commonxorg-x11-server-utilsxorg-x11-server-Xorgxorg-x11-utilsxorg-x11-xauthxorg-x11-xinitxorg-x11-xkb-utilsxscreensaver-basexzxz-libsyumyumexyum-langpacksyum-metadata-parseryum-prestoyum-utilszd1211-firmwarezenityzipzlib%include packagelist.ks
%end
 
# more configuration
LABEL="BOOT" /boot vfat defaults 1 2
EOF
 
#cat << EOF > /boot/config.txt
# Raspberry Pi configuration file
#
# Composite video mode: Disabled (HDMI output)
# Composite aspect ratio: Disabled
# Overscan: Disabled (image is full scan area)
# HDMI resolution: From EDID
# HDMI sound: Enabled
#
# Text fields for firstboot module follow:
#
#Title: HDMI only, no overscan
#Desc: HDMI output only. Picture may go off the edge of some screens.
#
#hdmi_force_hotplug=1
#disable_overscan=1
#hdmi_drive=2
#start_file=start_x.elf
#fixup_file=fixup_x.elf
#gpu_mem=128
#EOF
 
# /etc/hosts
127.0.0.1 localhost localhost.localdomain pidora.local
EOF
 
# root password
sed -i 's|^root:.*|root:x:0:0:root:/root:/bin/bash|' /etc/passwd
sed -i 's|^SELINUX=enforcing|SELINUX=permissive|' /etc/selinux/config
 
 
# hostname
NETWORKWAIT=1
EOF
 
# should be blacklisted, floods dmesg with logs
blacklist evbug
EOF
 
# create a releasever var
vm.swappiness=1
EOF
 
# Boot optimizations
modprobe $i
done
 
# gtk icon theme
gtk-icon-theme-name=gnome
EOF
 
# Headless service file fix
WantedBy=multi-user.target
EOF
 
 
 
# Pidora 2014 Mock config file
systemctl enable $i
done
 
# Missing symlink for sendmail.pid
# Firstboot timezone bug fix
sed -i "s|self.priority = 99|self.priority = 98|" /usr/share/firstboot/modules/date.py
 
# Firstboot reboot fix
echo ' os.system("/sbin/reboot")' >> /usr/sbin/firstboot
 # Turning of Use this if you would like to quiet mode off for debug testing purposes
#sed -i "s|quiet||" /boot/cmdline.txt
 
# selinux disabled (memory requirements)
sed -i "s|SELINUX=.*|SELINUX=disabled|" /etc/selinux/config
 
for X in passwd shadow group gshadow
pwconv
grpconv
 
# password for root (password=raspberrypi, overwritten by firstboot)
1
edit