mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-09 08:30:30 +08:00
Compare commits
121 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9bfe625d34 | ||
|
|
de56fb5bf2 | ||
|
|
4d772b386c | ||
|
|
ce61f186bb | ||
|
|
5579ccc249 | ||
|
|
d761360668 | ||
|
|
9625f87b66 | ||
|
|
ba05c3ed08 | ||
|
|
93227e4c16 | ||
|
|
8d089260b2 | ||
|
|
9122e0d384 | ||
|
|
07998a94aa | ||
|
|
eda86d50a4 | ||
|
|
8e60e7d480 | ||
|
|
bba9b95b64 | ||
|
|
d78446b58c | ||
|
|
7d61f0ac6e | ||
|
|
2c0b103fef | ||
|
|
c125e408da | ||
|
|
c2e7a402bf | ||
|
|
b2f1a8e9dd | ||
|
|
02905f6946 | ||
|
|
eb8823e1d7 | ||
|
|
265950301c | ||
|
|
85c65cf1c9 | ||
|
|
9288235085 | ||
|
|
a26624ed9b | ||
|
|
50d56638a4 | ||
|
|
f111c49a16 | ||
|
|
75b3a92964 | ||
|
|
c69f0a4e2d | ||
|
|
47b27db344 | ||
|
|
8db08b9dc9 | ||
|
|
1021a05fd1 | ||
|
|
dcebd2c540 | ||
|
|
d22816d5ff | ||
|
|
9b3251521f | ||
|
|
41cdac9e94 | ||
|
|
d6a2350a39 | ||
|
|
aac93c046a | ||
|
|
aeb2bf2034 | ||
|
|
d94cd77007 | ||
|
|
779c417bcd | ||
|
|
c8dc4f13f5 | ||
|
|
8011bf222f | ||
|
|
4ab5d14b10 | ||
|
|
37589abe3d | ||
|
|
59142fcc92 | ||
|
|
e4975f4c09 | ||
|
|
77f0bcbfd2 | ||
|
|
02b55984ec | ||
|
|
a29472b8c8 | ||
|
|
b6b2f1c8b1 | ||
|
|
f110c70651 | ||
|
|
359cf00301 | ||
|
|
84f578fcfc | ||
|
|
9d08686776 | ||
|
|
a60ccfaea5 | ||
|
|
b8706aa425 | ||
|
|
060a19dc48 | ||
|
|
3b11ed5a50 | ||
|
|
1afc133c89 | ||
|
|
9a220d6fa2 | ||
|
|
f0b7758285 | ||
|
|
0458ba8098 | ||
|
|
f573b2905b | ||
|
|
b8dca705d6 | ||
|
|
13a77ad28b | ||
|
|
96b509716f | ||
|
|
7e9439c5f0 | ||
|
|
802966ff92 | ||
|
|
e10a135b4d | ||
|
|
69cd14ecc8 | ||
|
|
3edb2534c5 | ||
|
|
f340f0eddf | ||
|
|
d356510dc3 | ||
|
|
6ac1f99024 | ||
|
|
11631d6481 | ||
|
|
f0a4cbb934 | ||
|
|
97426b8c93 | ||
|
|
168dcbf3d2 | ||
|
|
4411338736 | ||
|
|
ca841d2202 | ||
|
|
724f5bd19a | ||
|
|
3c4e8b4727 | ||
|
|
70c1555960 | ||
|
|
b52ecec428 | ||
|
|
8c702acbc5 | ||
|
|
4f4d1d082a | ||
|
|
a47186bb67 | ||
|
|
681485e85f | ||
|
|
f8f7efb3f7 | ||
|
|
a466042a77 | ||
|
|
763d6892ed | ||
|
|
ee950ce8cf | ||
|
|
279c21441c | ||
|
|
c79eede0d7 | ||
|
|
cc9c456047 | ||
|
|
ec9017b587 | ||
|
|
c9f3aed3d6 | ||
|
|
9556cf3bc0 | ||
|
|
bf294a002c | ||
|
|
b0d3bb2b25 | ||
|
|
0f3f36d2c5 | ||
|
|
6bb61fa057 | ||
|
|
d79ee1b027 | ||
|
|
bdf04f705a | ||
|
|
69c0debc5d | ||
|
|
1d87b18f46 | ||
|
|
12e9f1e583 | ||
|
|
53643faf8f | ||
|
|
3cd8f80d1b | ||
|
|
314afb81d0 | ||
|
|
0ecefe0230 | ||
|
|
247595b762 | ||
|
|
8311504e19 | ||
|
|
5149abf0f9 | ||
|
|
15a9a14dff | ||
|
|
629a71433c | ||
|
|
e2a8980bee | ||
|
|
89d097db42 |
36
Makefile
36
Makefile
@@ -1,20 +1,34 @@
|
|||||||
# Get the version name first by seeing if HEAD is tagged
|
# Get a version name based off the nearest tag (include lightweight tags)
|
||||||
version := $(shell git tag --points-at HEAD)
|
version := $(shell git describe --tags)
|
||||||
# And if it wasn't use a git hash
|
|
||||||
ifeq ($(version),)
|
DESTDIR := /usr
|
||||||
version := $(shell git log -1 --abbrev=8 --pretty=git%h)
|
|
||||||
endif
|
DATADIR := $(DESTDIR)/share
|
||||||
|
|
||||||
|
DOCDIR := $(DATADIR)/doc
|
||||||
|
|
||||||
|
name := spin-kickstarts
|
||||||
|
|
||||||
all: dist
|
all: dist
|
||||||
|
|
||||||
|
install:
|
||||||
|
mkdir -p -m 755 $(DATADIR)/$(name)
|
||||||
|
install *.ks* -m 644 $(DATADIR)/$(name)
|
||||||
|
mkdir -p -m 755 $(DATADIR)/$(name)/custom
|
||||||
|
install -m 644 custom/* $(DATADIR)/$(name)/custom
|
||||||
|
mkdir -p -m 755 $(DATADIR)/$(name)/l10n
|
||||||
|
install -m 644 l10n/* $(DATADIR)/$(name)/l10n
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f spin-kickstarts-*.tar.gz
|
rm -f $(name)-*.tar.gz
|
||||||
|
|
||||||
dist:
|
dist: $(name)-$(version).tar.gz
|
||||||
git archive --format=tar --prefix=spin-kickstarts-$(version)/ HEAD | gzip > spin-kickstarts-$(version).tar.gz
|
|
||||||
|
|
||||||
publish:
|
$(name)-$(version).tar.gz:
|
||||||
scp spin-kickstarts-$(version).tar.gz fedorahosted.org:spin-kickstarts
|
git archive --format=tar --prefix=$(name)-$(version)/ HEAD | gzip > $(name)-$(version).tar.gz
|
||||||
|
|
||||||
|
publish: $(name)-$(version).tar.gz
|
||||||
|
scp $(name)-$(version).tar.gz fedorahosted.org:$(name)
|
||||||
|
|
||||||
dist-clean:
|
dist-clean:
|
||||||
git clean -f -d
|
git clean -f -d
|
||||||
|
|||||||
@@ -66,7 +66,6 @@ selinux --permissive
|
|||||||
-realmd
|
-realmd
|
||||||
-rhythmbox
|
-rhythmbox
|
||||||
-sane-backends*
|
-sane-backends*
|
||||||
-sendmail
|
|
||||||
-shotwell
|
-shotwell
|
||||||
-simple-scan
|
-simple-scan
|
||||||
-system-config-*
|
-system-config-*
|
||||||
@@ -136,29 +135,14 @@ ln -s /usr/share/applications/test-day-welcome.desktop /etc/xdg/autostart/
|
|||||||
# Remove anaconda welcome screen (if it exists), it would display instead of ours
|
# Remove anaconda welcome screen (if it exists), it would display instead of ours
|
||||||
rm -f /home/liveuser/.config/autostart/fedora-welcome.desktop
|
rm -f /home/liveuser/.config/autostart/fedora-welcome.desktop
|
||||||
|
|
||||||
# Change Firefox start page to open Test Day wiki and IRC chat
|
PREFDIR=`ls -d /usr/lib*/firefox/browser/defaults/preferences`
|
||||||
# (and a few more properties)
|
cat << FOE >> $PREFDIR/test-day.js
|
||||||
mkdir /tmp/firefox
|
|
||||||
unzip /usr/lib*/firefox/browser/omni.ja -d /tmp/firefox
|
|
||||||
|
|
||||||
cat << FOE > /tmp/firefox/chrome/en-US/locale/branding/browserconfig.properties
|
|
||||||
browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current | http://webchat.freenode.net/?channels=fedora-test-day
|
|
||||||
FOE
|
|
||||||
|
|
||||||
cat << FOE >> /tmp/firefox/defaults/preferences/firefox-branding.js
|
|
||||||
pref("startup.homepage_welcome_url","");
|
pref("startup.homepage_welcome_url","");
|
||||||
pref("startup.homepage_override_url","");
|
pref("startup.homepage_override_url","");
|
||||||
pref("browser.rights.3.shown", true);
|
pref("browser.rights.3.shown", true);
|
||||||
|
pref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current | http://webchat.freenode.net/?channels=fedora-test-day");
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# We need to re-zip the whole archive (instead of just updating files), because
|
|
||||||
# the original archive is "Firefox optimized" and updating doesn't work
|
|
||||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=605524
|
|
||||||
OMNIJA=`ls /usr/lib*/firefox/browser/omni.ja`
|
|
||||||
rm -f $OMNIJA
|
|
||||||
(cd /tmp/firefox; zip -r -0 $OMNIJA *)
|
|
||||||
rm -rf /tmp/firefox
|
|
||||||
|
|
||||||
# Adjust launchers in dash using a vendor override. (Adding a profile would
|
# Adjust launchers in dash using a vendor override. (Adding a profile would
|
||||||
# be another way to do this.)
|
# be another way to do this.)
|
||||||
cat << FOE >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override
|
cat << FOE >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override
|
||||||
|
|||||||
@@ -4,6 +4,9 @@ auth --useshadow --enablemd5
|
|||||||
selinux --enforcing
|
selinux --enforcing
|
||||||
firewall --enabled --service=mdns,ssh
|
firewall --enabled --service=mdns,ssh
|
||||||
|
|
||||||
|
# configure extlinux bootloader
|
||||||
|
bootloader extlinux
|
||||||
|
|
||||||
# make sure that initial-setup runs and lets us do all the configuration bits
|
# make sure that initial-setup runs and lets us do all the configuration bits
|
||||||
firstboot --reconfig
|
firstboot --reconfig
|
||||||
|
|
||||||
@@ -22,7 +25,13 @@ kernel-lpae
|
|||||||
|
|
||||||
chrony
|
chrony
|
||||||
arm-boot-config
|
arm-boot-config
|
||||||
|
extlinux-bootloader
|
||||||
initial-setup
|
initial-setup
|
||||||
|
#lets resize / on first boot
|
||||||
|
dracut-modules-growroot
|
||||||
|
|
||||||
|
# remove this in %post
|
||||||
|
dracut-config-generic
|
||||||
|
|
||||||
# install uboot images
|
# install uboot images
|
||||||
uboot-beagle
|
uboot-beagle
|
||||||
@@ -33,16 +42,30 @@ uboot-smdkv310
|
|||||||
uboot-uevm
|
uboot-uevm
|
||||||
uboot-wandboard_dl
|
uboot-wandboard_dl
|
||||||
uboot-wandboard_solo
|
uboot-wandboard_solo
|
||||||
|
uboot-wandboard_quad
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
|
# work around for poor key import UI in PackageKit
|
||||||
|
rm -f /var/lib/rpm/__db*
|
||||||
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||||
|
basearch=armhfp
|
||||||
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||||
|
echo "Packages within this LiveCD"
|
||||||
|
rpm -qa
|
||||||
|
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||||
|
rm -f /var/lib/rpm/__db*
|
||||||
|
|
||||||
# Because memory is scarce resource in most arm systems we are differing from the Fedora
|
# Because memory is scarce resource in most arm systems we are differing from the Fedora
|
||||||
# default of having /tmp on tmpfs.
|
# default of having /tmp on tmpfs.
|
||||||
echo "Disabling tmpfs for /tmp."
|
echo "Disabling tmpfs for /tmp."
|
||||||
systemctl mask tmp.mount
|
systemctl mask tmp.mount
|
||||||
|
|
||||||
/usr/sbin/a-b-c
|
/usr/sbin/a-b-c
|
||||||
|
|
||||||
|
yum -y remove dracut-config-generic
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
12
fedora-arm-desktop-vfat.ks
Normal file
12
fedora-arm-desktop-vfat.ks
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
%include fedora-arm-base.ks
|
||||||
|
%include fedora-arm-xbase.ks
|
||||||
|
%include fedora-desktop-packages.ks
|
||||||
|
%include fedora-arm-vfat-partitioning.ks
|
||||||
|
|
||||||
|
part / --size=4000 --fstype ext4
|
||||||
|
|
||||||
|
%packages
|
||||||
|
-initial-setup
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
12
fedora-arm-desktop.ks
Normal file
12
fedora-arm-desktop.ks
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
%include fedora-arm-base.ks
|
||||||
|
%include fedora-arm-xbase.ks
|
||||||
|
%include fedora-desktop-packages.ks
|
||||||
|
%include fedora-arm-partitioning.ks
|
||||||
|
|
||||||
|
part / --size=4000 --fstype ext4
|
||||||
|
|
||||||
|
%packages
|
||||||
|
-initial-setup
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
@@ -3,6 +3,8 @@
|
|||||||
%include fedora-kde-packages.ks
|
%include fedora-kde-packages.ks
|
||||||
%include fedora-arm-vfat-partitioning.ks
|
%include fedora-arm-vfat-partitioning.ks
|
||||||
|
|
||||||
|
part / --size=4000 --fstype ext4
|
||||||
|
|
||||||
%post
|
%post
|
||||||
echo -n "Enabling initial-setup gui mode on startup"
|
echo -n "Enabling initial-setup gui mode on startup"
|
||||||
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
%include fedora-kde-packages.ks
|
%include fedora-kde-packages.ks
|
||||||
%include fedora-arm-partitioning.ks
|
%include fedora-arm-partitioning.ks
|
||||||
|
|
||||||
|
part / --size=4000 --fstype ext4
|
||||||
|
|
||||||
%post
|
%post
|
||||||
echo -n "Enabling initial-setup gui mode on startup"
|
echo -n "Enabling initial-setup gui mode on startup"
|
||||||
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
%include fedora-mate-packages.ks
|
%include fedora-mate-packages.ks
|
||||||
%include fedora-arm-vfat-partitioning.ks
|
%include fedora-arm-vfat-partitioning.ks
|
||||||
|
|
||||||
|
part / --size=5000 --fstype ext4
|
||||||
|
|
||||||
%post
|
%post
|
||||||
echo -n "Enabling initial-setup gui mode on startup"
|
echo -n "Enabling initial-setup gui mode on startup"
|
||||||
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
%include fedora-mate-packages.ks
|
%include fedora-mate-packages.ks
|
||||||
%include fedora-arm-partitioning.ks
|
%include fedora-arm-partitioning.ks
|
||||||
|
|
||||||
|
part / --size=5000 --fstype ext4
|
||||||
|
|
||||||
%post
|
%post
|
||||||
echo -n "Enabling initial-setup gui mode on startup"
|
echo -n "Enabling initial-setup gui mode on startup"
|
||||||
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
%include fedora-arm-base.ks
|
%include fedora-arm-base.ks
|
||||||
%include fedora-arm-vfat-partitioning.ks
|
%include fedora-arm-vfat-partitioning.ks
|
||||||
|
|
||||||
|
part swap --size=128 --fstype swap
|
||||||
|
part / --size=1400 --fstype ext4
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
# setup systemd to boot to the right runlevel
|
# setup systemd to boot to the right runlevel
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
%include fedora-arm-base.ks
|
%include fedora-arm-base.ks
|
||||||
%include fedora-arm-partitioning.ks
|
%include fedora-arm-partitioning.ks
|
||||||
|
|
||||||
|
part swap --size=128 --fstype swap
|
||||||
|
part / --size=1400 --fstype ext4
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
# setup systemd to boot to the right runlevel
|
# setup systemd to boot to the right runlevel
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
bootloader --location=none
|
|
||||||
part /boot --size=512 --fstype ext3
|
part /boot --size=512 --fstype ext3
|
||||||
part swap --size=512 --fstype swap
|
part swap --size=512 --fstype swap
|
||||||
part / --grow --size=6500 --fstype ext4
|
part / --size=3000 --fstype ext4
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
bootloader --location=none
|
|
||||||
part /boot/uboot --size=20 --fstype vfat
|
part /boot/uboot --size=20 --fstype vfat
|
||||||
part swap --size=512 --fstype swap
|
part swap --size=512 --fstype swap
|
||||||
part / --grow --size=6500 --fstype ext4
|
part / --size=3400 --fstype ext4
|
||||||
|
|
||||||
|
|||||||
226
fedora-cloud-base.ks
Normal file
226
fedora-cloud-base.ks
Normal file
@@ -0,0 +1,226 @@
|
|||||||
|
# This is a basic Fedora 20 spin designed to work in OpenStack and other
|
||||||
|
# private cloud environments. It's configured with cloud-init so it will
|
||||||
|
# take advantage of ec2-compatible metadata services for provisioning ssh
|
||||||
|
# keys. Cloud-init creates a user account named "fedora" with passwordless
|
||||||
|
# sudo access. The root password is empty and locked by default.
|
||||||
|
#
|
||||||
|
# Note that unlike the standard F20 install, this image has /tmp on disk
|
||||||
|
# rather than in tmpfs, since memory is usually at a premium.
|
||||||
|
#
|
||||||
|
# This kickstart file is designed to be used with appliance-creator and
|
||||||
|
# may need slight modification for use with actual anaconda or other tools.
|
||||||
|
# We intend to target anaconda-in-a-vm style image building for F20.
|
||||||
|
|
||||||
|
lang en_US.UTF-8
|
||||||
|
keyboard us
|
||||||
|
timezone --utc Etc/UTC
|
||||||
|
|
||||||
|
auth --useshadow --enablemd5
|
||||||
|
selinux --enforcing
|
||||||
|
rootpw --lock --iscrypted locked
|
||||||
|
|
||||||
|
firewall --disabled
|
||||||
|
|
||||||
|
bootloader --timeout=1 --append="console=tty1 console=ttyS0,115200n8" extlinux
|
||||||
|
|
||||||
|
network --bootproto=dhcp --device=eth0 --onboot=on
|
||||||
|
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||||
|
|
||||||
|
|
||||||
|
zerombr
|
||||||
|
clearpart --all
|
||||||
|
part / --size 2048 --fstype ext4
|
||||||
|
|
||||||
|
%include fedora-repo.ks
|
||||||
|
|
||||||
|
|
||||||
|
reboot
|
||||||
|
|
||||||
|
# Package list.
|
||||||
|
%packages
|
||||||
|
@core
|
||||||
|
grubby
|
||||||
|
|
||||||
|
# cloud-init does magical things with EC2 metadata, including provisioning
|
||||||
|
# a user account with ssh keys.
|
||||||
|
cloud-init
|
||||||
|
|
||||||
|
# this is used by openstack's cloud orchestration framework (and it's small)
|
||||||
|
heat-cfntools
|
||||||
|
|
||||||
|
# need this for growpart, because parted doesn't yet support resizepart
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=966993
|
||||||
|
cloud-utils-growpart
|
||||||
|
|
||||||
|
# We need this image to be portable; also, rescue mode isn't useful here.
|
||||||
|
dracut-config-generic
|
||||||
|
-dracut-config-rescue
|
||||||
|
|
||||||
|
syslinux-extlinux
|
||||||
|
|
||||||
|
# Needed initially, but removed below.
|
||||||
|
firewalld
|
||||||
|
|
||||||
|
# cherry-pick a few things from @standard
|
||||||
|
tar
|
||||||
|
rsync
|
||||||
|
|
||||||
|
# Some things from @core we can do without in a minimal install
|
||||||
|
-biosdevname
|
||||||
|
-plymouth
|
||||||
|
-NetworkManager
|
||||||
|
-iprutils
|
||||||
|
-kbd
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%post --erroronfail
|
||||||
|
|
||||||
|
# Create grub.conf for EC2. This used to be done by appliance creator but
|
||||||
|
# anaconda doesn't do it. And, in case appliance-creator is used, we're
|
||||||
|
# overriding it here so that both cases get the exact same file.
|
||||||
|
# Note that the console line is different -- that's because EC2 provides
|
||||||
|
# different virtual hardware, and this is a convenient way to act differently
|
||||||
|
echo -n "Creating grub.conf for pvgrub"
|
||||||
|
rootuuid=$( awk '$2=="/" { print $1 };' /etc/fstab )
|
||||||
|
mkdir /boot/grub
|
||||||
|
echo -e 'default=0\ntimeout=0\n\n' > /boot/grub/grub.conf
|
||||||
|
for kv in $( ls -1v /boot/vmlinuz* |grep -v rescue |sed s/.*vmlinuz-// ); do
|
||||||
|
echo "title Fedora ($kv)" >> /boot/grub/grub.conf
|
||||||
|
echo -e "\troot (hd0)" >> /boot/grub/grub.conf
|
||||||
|
echo -e "\tkernel /boot/vmlinuz-$kv ro root=$rootuuid console=hvc0 LANG=en_US.UTF-8" >> /boot/grub/grub.conf
|
||||||
|
echo -e "\tinitrd /boot/initramfs-$kv.img" >> /boot/grub/grub.conf
|
||||||
|
echo
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
#link grub.conf to menu.lst for ec2 to work
|
||||||
|
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
|
||||||
|
ln -sf grub.conf /boot/grub/menu.lst
|
||||||
|
ln -sf /boot/grub/grub.conf /etc/grub.conf
|
||||||
|
|
||||||
|
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||||
|
passwd -l root
|
||||||
|
|
||||||
|
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
|
||||||
|
# 0 means wait forever, so instead we'll go with 1.
|
||||||
|
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
|
||||||
|
|
||||||
|
# setup systemd to boot to the right runlevel
|
||||||
|
echo -n "Setting default runlevel to multiuser text mode"
|
||||||
|
rm -f /etc/systemd/system/default.target
|
||||||
|
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||||
|
echo .
|
||||||
|
|
||||||
|
# If you want to remove rsyslog and just use journald, remove this!
|
||||||
|
echo -n "Disabling persistent journal"
|
||||||
|
rmdir /var/log/journal/
|
||||||
|
echo .
|
||||||
|
|
||||||
|
# this is installed by default but we don't need it in virt
|
||||||
|
echo "Removing linux-firmware package."
|
||||||
|
yum -C -y remove linux-firmware
|
||||||
|
|
||||||
|
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
||||||
|
# be present for install/image building.
|
||||||
|
echo "Removing firewalld."
|
||||||
|
yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
|
||||||
|
|
||||||
|
# Another one needed at install time but not after that, and it pulls
|
||||||
|
# in some unneeded deps (like, newt and slang)
|
||||||
|
echo "Removing authconfig."
|
||||||
|
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
||||||
|
|
||||||
|
echo -n "Getty fixes"
|
||||||
|
# although we want console output going to the serial console, we don't
|
||||||
|
# actually have the opportunity to login there. FIX.
|
||||||
|
# we don't really need to auto-spawn _any_ gettys.
|
||||||
|
sed -i '/^#NAutoVTs=.*/ a\
|
||||||
|
NAutoVTs=0' /etc/systemd/logind.conf
|
||||||
|
|
||||||
|
echo -n "Network fixes"
|
||||||
|
# initscripts don't like this file to be missing.
|
||||||
|
cat > /etc/sysconfig/network << EOF
|
||||||
|
NETWORKING=yes
|
||||||
|
NOZEROCONF=yes
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# For cloud images, 'eth0' _is_ the predictable device name, since
|
||||||
|
# we don't want to be tied to specific virtual (!) hardware
|
||||||
|
rm -f /etc/udev/rules.d/70*
|
||||||
|
ln -s /dev/null /etc/udev/rules.d/80-net-name-slot.rules
|
||||||
|
|
||||||
|
# simple eth0 config, again not hard-coded to the build hardware
|
||||||
|
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
|
||||||
|
DEVICE="eth0"
|
||||||
|
BOOTPROTO="dhcp"
|
||||||
|
ONBOOT="yes"
|
||||||
|
TYPE="Ethernet"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# generic localhost names
|
||||||
|
cat > /etc/hosts << EOF
|
||||||
|
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
||||||
|
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
||||||
|
|
||||||
|
EOF
|
||||||
|
echo .
|
||||||
|
|
||||||
|
|
||||||
|
# Because memory is scarce resource in most cloud/virt environments,
|
||||||
|
# and because this impedes forensics, we are differing from the Fedora
|
||||||
|
# default of having /tmp on tmpfs.
|
||||||
|
echo "Disabling tmpfs for /tmp."
|
||||||
|
systemctl mask tmp.mount
|
||||||
|
|
||||||
|
# make sure firstboot doesn't start
|
||||||
|
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
|
||||||
|
|
||||||
|
# Uncomment this if you want to use cloud init but suppress the creation
|
||||||
|
# of an "ec2-user" account. This will, in the absence of further config,
|
||||||
|
# cause the ssh key from a metadata source to be put in the root account.
|
||||||
|
#cat <<EOF > /etc/cloud/cloud.cfg.d/50_suppress_ec2-user_use_root.cfg
|
||||||
|
#users: []
|
||||||
|
#disable_root: 0
|
||||||
|
#EOF
|
||||||
|
|
||||||
|
echo "Removing random-seed so it's not the same in every image."
|
||||||
|
rm -f /var/lib/random-seed
|
||||||
|
|
||||||
|
echo "Cleaning old yum repodata."
|
||||||
|
yum history new
|
||||||
|
yum clean all
|
||||||
|
truncate -c -s 0 /var/log/yum.log
|
||||||
|
|
||||||
|
echo "Import RPM GPG key"
|
||||||
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||||
|
basearch=$(uname -i)
|
||||||
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||||
|
|
||||||
|
echo "Packages within this cloud image:"
|
||||||
|
echo "-----------------------------------------------------------------------"
|
||||||
|
rpm -qa
|
||||||
|
echo "-----------------------------------------------------------------------"
|
||||||
|
# Note that running rpm recreates the rpm db files which aren't needed/wanted
|
||||||
|
rm -f /var/lib/rpm/__db*
|
||||||
|
|
||||||
|
|
||||||
|
echo "Fixing SELinux contexts."
|
||||||
|
touch /var/log/cron
|
||||||
|
touch /var/log/boot.log
|
||||||
|
mkdir -p /var/cache/yum
|
||||||
|
chattr -i /boot/extlinux/ldlinux.sys
|
||||||
|
/usr/sbin/fixfiles -R -a restore
|
||||||
|
chattr +i /boot/extlinux/ldlinux.sys
|
||||||
|
|
||||||
|
echo "Zeroing out empty space."
|
||||||
|
# This forces the filesystem to reclaim space from deleted files
|
||||||
|
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
||||||
|
rm -f /var/tmp/zeros
|
||||||
|
echo "(Don't worry -- that out-of-space error was expected.)"
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
31
fedora-desktop-packages.ks
Normal file
31
fedora-desktop-packages.ks
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
%packages
|
||||||
|
@firefox
|
||||||
|
@gnome-desktop
|
||||||
|
@libreoffice
|
||||||
|
|
||||||
|
# FIXME; apparently the glibc maintainers dislike this, but it got put into the
|
||||||
|
# desktop image at some point. We won't touch this one for now.
|
||||||
|
nss-mdns
|
||||||
|
|
||||||
|
# This one needs to be kicked out of @standard
|
||||||
|
-smartmontools
|
||||||
|
|
||||||
|
# We use gnome-control-center's printer and input sources panels instead
|
||||||
|
-system-config-printer
|
||||||
|
-im-chooser
|
||||||
|
|
||||||
|
# Similarly, there was also some debate about removing rsyslog from @standard
|
||||||
|
# (since much of its functionality is provided by journald now), but it's
|
||||||
|
# not going to happen for f20 either, so drop it here for now.
|
||||||
|
# https://lists.fedoraproject.org/pipermail/devel/2013-July/186796.html
|
||||||
|
-rsyslog
|
||||||
|
|
||||||
|
# Remove a few apps that are being presented as featured apps in
|
||||||
|
# gnome-software
|
||||||
|
-transmission-gtk
|
||||||
|
-simple-scan
|
||||||
|
-gnome-photos
|
||||||
|
-gnome-maps
|
||||||
|
-gnome-weather
|
||||||
|
|
||||||
|
%end
|
||||||
20
fedora-i386-cloud.ks
Normal file
20
fedora-i386-cloud.ks
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
%include fedora-cloud-base.ks
|
||||||
|
|
||||||
|
# Package list.
|
||||||
|
%packages
|
||||||
|
kernel-PAE
|
||||||
|
|
||||||
|
%end
|
||||||
|
%post
|
||||||
|
if [ ! -e /etc/sysconfig/kernel ]; then
|
||||||
|
echo "Creating /etc/sysconfig/kernel."
|
||||||
|
cat <<EOF > /etc/sysconfig/kernel
|
||||||
|
# UPDATEDEFAULT specifies if new-kernel-pkg should make
|
||||||
|
# new kernels the default
|
||||||
|
UPDATEDEFAULT=yes
|
||||||
|
|
||||||
|
# DEFAULTKERNEL specifies the default kernel package type
|
||||||
|
DEFAULTKERNEL=kernel-PAE
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
%end
|
||||||
@@ -16,16 +16,17 @@
|
|||||||
# use the source repo, we can't just include fedora-repo.ks
|
# use the source repo, we can't just include fedora-repo.ks
|
||||||
|
|
||||||
# In the master branch the rawhide repo commands should be uncommented.
|
# In the master branch the rawhide repo commands should be uncommented.
|
||||||
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
#repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
||||||
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
|
#repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
|
||||||
|
|
||||||
# In non-master branches the fedora repo commands should be uncommented
|
# In non-master branches the fedora repo commands should be uncommented
|
||||||
#repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
|
repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
|
||||||
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
|
repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
|
||||||
|
|
||||||
# Package manifest for the compose. Uses repo group metadata to translate groups.
|
# Package manifest for the compose. Uses repo group metadata to translate groups.
|
||||||
# (default groups for the configured repos are added by --default)
|
# (default groups for the configured repos are added by --default)
|
||||||
%packages --default
|
# @base got renamed to @standard, but @base is still included by default by pungi.
|
||||||
|
%packages --default --nobase
|
||||||
|
|
||||||
# pungi is an inclusive depsolver so that multiple packages are brought
|
# pungi is an inclusive depsolver so that multiple packages are brought
|
||||||
# in to satisify dependencies and we don't always want that. So we use
|
# in to satisify dependencies and we don't always want that. So we use
|
||||||
@@ -39,7 +40,8 @@ repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirror
|
|||||||
-generic*
|
-generic*
|
||||||
-GConf2-dbus*
|
-GConf2-dbus*
|
||||||
-bluez-gnome
|
-bluez-gnome
|
||||||
-java-1.8.0-openjdk
|
# Periods cause problems in paterns, so replace with *s
|
||||||
|
-java-1*8*0-openjdk
|
||||||
-community-mysql*
|
-community-mysql*
|
||||||
-jruby*
|
-jruby*
|
||||||
|
|
||||||
@@ -142,6 +144,7 @@ kde-l10n-*
|
|||||||
libreoffice-langpack-*
|
libreoffice-langpack-*
|
||||||
man-pages-*
|
man-pages-*
|
||||||
mythes-*
|
mythes-*
|
||||||
|
-gimp-help-*
|
||||||
|
|
||||||
# Removals
|
# Removals
|
||||||
-PackageKit-zif
|
-PackageKit-zif
|
||||||
|
|||||||
@@ -7,6 +7,10 @@
|
|||||||
### The KDE-Desktop
|
### The KDE-Desktop
|
||||||
|
|
||||||
### fixes
|
### fixes
|
||||||
|
# sddm->kdm, (temporary) so don't have to wait on comps changes
|
||||||
|
-sddm
|
||||||
|
-sddm-kcm
|
||||||
|
kdm
|
||||||
|
|
||||||
# use kde-print-manager instead of system-config-printer
|
# use kde-print-manager instead of system-config-printer
|
||||||
-system-config-printer
|
-system-config-printer
|
||||||
|
|||||||
@@ -77,8 +77,6 @@ exists() {
|
|||||||
\$*
|
\$*
|
||||||
}
|
}
|
||||||
|
|
||||||
touch /.liveimg-configured
|
|
||||||
|
|
||||||
# Make sure we don't mangle the hardware clock on shutdown
|
# Make sure we don't mangle the hardware clock on shutdown
|
||||||
ln -sf /dev/null /etc/systemd/system/hwclock-save.service
|
ln -sf /dev/null /etc/systemd/system/hwclock-save.service
|
||||||
|
|
||||||
@@ -204,6 +202,13 @@ systemctl --no-reload disable atd.service 2> /dev/null || :
|
|||||||
systemctl stop crond.service 2> /dev/null || :
|
systemctl stop crond.service 2> /dev/null || :
|
||||||
systemctl stop atd.service 2> /dev/null || :
|
systemctl stop atd.service 2> /dev/null || :
|
||||||
|
|
||||||
|
# Mark things as configured
|
||||||
|
touch /.liveimg-configured
|
||||||
|
|
||||||
|
# add static hostname to work around xauth bug
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
|
||||||
|
echo "localhost" > /etc/hostname
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# bah, hal starts way too late
|
# bah, hal starts way too late
|
||||||
@@ -275,7 +280,9 @@ systemctl enable tmp.mount
|
|||||||
|
|
||||||
# work around for poor key import UI in PackageKit
|
# work around for poor key import UI in PackageKit
|
||||||
rm -f /var/lib/rpm/__db*
|
rm -f /var/lib/rpm/__db*
|
||||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||||
|
basearch=$(uname -i)
|
||||||
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||||
echo "Packages within this LiveCD"
|
echo "Packages within this LiveCD"
|
||||||
rpm -qa
|
rpm -qa
|
||||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||||
@@ -296,7 +303,7 @@ rm -f /core*
|
|||||||
|
|
||||||
|
|
||||||
%post --nochroot
|
%post --nochroot
|
||||||
cp $INSTALL_ROOT/usr/share/doc/*-release-*/GPL $LIVE_ROOT/GPL
|
cp $INSTALL_ROOT/usr/share/doc/*-release/GPL $LIVE_ROOT/GPL
|
||||||
|
|
||||||
# only works on x86, x86_64
|
# only works on x86, x86_64
|
||||||
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
# - A Spin targeted towards professional designers
|
# - A Spin targeted towards professional designers
|
||||||
# Website: http://fedoraproject.org/wiki/Design_Suite
|
# Website: http://fedoraproject.org/wiki/Design_Suite
|
||||||
# Maintainers:
|
# Maintainers:
|
||||||
# - Luya Tshimbalanga <sdz AT fedoraproject DOT org>
|
# - Luya Tshimbalanga <luya AT fedoraproject DOT org>
|
||||||
# - Previous maintainer Sebastian Dziallas
|
# - Previous maintainer Sebastian Dziallas
|
||||||
|
|
||||||
%include fedora-live-desktop.ks
|
%include fedora-live-desktop.ks
|
||||||
@@ -17,7 +17,7 @@ part / --size 8192
|
|||||||
# graphics
|
# graphics
|
||||||
blender
|
blender
|
||||||
bluefish
|
bluefish
|
||||||
cinepaint
|
#cinepaint
|
||||||
cmyktool
|
cmyktool
|
||||||
darktable
|
darktable
|
||||||
dia
|
dia
|
||||||
@@ -26,23 +26,30 @@ fontforge
|
|||||||
font-manager
|
font-manager
|
||||||
gimp
|
gimp
|
||||||
gimp-*-plugin
|
gimp-*-plugin
|
||||||
|
gimp-data-extras
|
||||||
|
gimp-gap
|
||||||
|
gimp-paint-studio
|
||||||
|
gimp-high-pass-filter
|
||||||
|
gimp-normalmap
|
||||||
|
gimp-paint-studio
|
||||||
|
gimp-resynthesizer
|
||||||
gpick
|
gpick
|
||||||
GREYCstoration-gimp
|
GREYCstoration-gimp
|
||||||
hugin
|
hugin
|
||||||
inkscape
|
|
||||||
mypaint
|
mypaint
|
||||||
|
inkscape
|
||||||
nautilus-image-converter
|
nautilus-image-converter
|
||||||
optipng
|
optipng
|
||||||
# pinta # is huge because it needs mono
|
phatch
|
||||||
# postr # dropped because shotwell support flickr upload
|
screenruler
|
||||||
|
simple-scan
|
||||||
scribus
|
scribus
|
||||||
colord-extra-profiles
|
colord-extra-profiles
|
||||||
synfigstudio
|
synfigstudio
|
||||||
# ufraw # dropped as duplicate of darktable
|
|
||||||
xournal
|
xournal
|
||||||
|
|
||||||
# office
|
# office
|
||||||
gnote
|
vym
|
||||||
pdfshuffler
|
pdfshuffler
|
||||||
|
|
||||||
# internet
|
# internet
|
||||||
@@ -59,12 +66,16 @@ pitivi
|
|||||||
# fonts
|
# fonts
|
||||||
aajohan-comfortaa-fonts
|
aajohan-comfortaa-fonts
|
||||||
adobe-source-sans-pro-fonts
|
adobe-source-sans-pro-fonts
|
||||||
|
campivisivi-titillium-fonts
|
||||||
lato-fonts
|
lato-fonts
|
||||||
overpass-fonts
|
overpass-fonts
|
||||||
|
|
||||||
# removal of duplicated and unneeded applications
|
# removal of duplicated and unneeded applications
|
||||||
-gnome-boxes
|
-gnome-boxes
|
||||||
|
-gthumb
|
||||||
-eog
|
-eog
|
||||||
|
-gnome-photos
|
||||||
|
-rdesktop
|
||||||
|
|
||||||
# Legacy cmdline things we don't want
|
# Legacy cmdline things we don't want
|
||||||
-krb5-auth-dialog
|
-krb5-auth-dialog
|
||||||
@@ -89,7 +100,14 @@ overpass-fonts
|
|||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
#%post
|
%post
|
||||||
|
#Override the favorite desktop application in Dash
|
||||||
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||||
|
[org.gnome.shell]
|
||||||
|
favorite-apps=['firefox.desktop', 'evolution.desktop', 'shotwell.desktop', 'gimp.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop','list-design-tutorials.desktop']
|
||||||
|
#Enable categories in Gnome Shell
|
||||||
|
app-folder-categories=['Utilities', 'Sundry', 'Office', 'Network', 'Internet', 'Graphics', 'Games', 'Multimedia', 'System', 'Development', 'Accessories', 'System Settings', 'Other']
|
||||||
|
FOE
|
||||||
|
|
||||||
# Add link to the Inkscape Course
|
# Add link to the Inkscape Course
|
||||||
#cat >> /usr/share/applications/inkscape-course.desktop << FOE
|
#cat >> /usr/share/applications/inkscape-course.desktop << FOE
|
||||||
@@ -104,7 +122,23 @@ overpass-fonts
|
|||||||
#FOE
|
#FOE
|
||||||
#chmod a+x /usr/share/applications/inkscape-course.desktop
|
#chmod a+x /usr/share/applications/inkscape-course.desktop
|
||||||
|
|
||||||
|
# Add link to lists of tutorials
|
||||||
|
cat >> /usr/share/applications/list-design-tutorials.desktop << FOE
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=List of Design Tutorials
|
||||||
|
GenericName=List of design tutorials
|
||||||
|
Comment=Reference of graphic and web design related tutorials
|
||||||
|
Exec=xdg-open http://fedoraproject.org/wiki/Design_Suite/Tutorials
|
||||||
|
Type=Application
|
||||||
|
Icon=applications-graphics
|
||||||
|
Categories=Graphics;Documentation;
|
||||||
|
FOE
|
||||||
|
chmod a+x /usr/share/applications/list-design-tutorials.desktop
|
||||||
|
|
||||||
|
# rebuild schema cache with any overrides we installed
|
||||||
|
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||||
|
|
||||||
#EOF
|
#EOF
|
||||||
|
|
||||||
#%end
|
%end
|
||||||
|
|
||||||
|
|||||||
@@ -3,27 +3,10 @@
|
|||||||
# mailto:desktop@lists.fedoraproject.org
|
# mailto:desktop@lists.fedoraproject.org
|
||||||
|
|
||||||
%include fedora-live-base.ks
|
%include fedora-live-base.ks
|
||||||
|
%include fedora-desktop-packages.ks
|
||||||
|
|
||||||
part / --size 4096
|
part / --size 4096
|
||||||
|
|
||||||
%packages
|
|
||||||
@firefox
|
|
||||||
@gnome-desktop
|
|
||||||
@libreoffice
|
|
||||||
|
|
||||||
# FIXME; apparently the glibc maintainers dislike this, but it got put into the
|
|
||||||
# desktop image at some point. We won't touch this one for now.
|
|
||||||
nss-mdns
|
|
||||||
|
|
||||||
# This one needs to be kicked out of @standard
|
|
||||||
-smartmontools
|
|
||||||
|
|
||||||
# We use gnome-control-center's printer and input sources panels instead
|
|
||||||
-system-config-printer
|
|
||||||
-im-chooser
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||||
|
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ alsa-plugins-samplerate
|
|||||||
alsa-plugins-upmix
|
alsa-plugins-upmix
|
||||||
alsa-plugins-vdownmix
|
alsa-plugins-vdownmix
|
||||||
a2jmidid
|
a2jmidid
|
||||||
|
aj-snapshot
|
||||||
|
|
||||||
#jack
|
#jack
|
||||||
jack-audio-connection-kit
|
jack-audio-connection-kit
|
||||||
@@ -75,12 +76,15 @@ sooperlooper
|
|||||||
|
|
||||||
#recodring and DAW
|
#recodring and DAW
|
||||||
audacity
|
audacity
|
||||||
ardour
|
ardour3
|
||||||
rosegarden4
|
rosegarden4
|
||||||
seq24
|
seq24
|
||||||
muse
|
muse
|
||||||
qtractor
|
qtractor
|
||||||
non-session-manager
|
non-session-manager
|
||||||
|
non-daw
|
||||||
|
non-sequencer
|
||||||
|
non-mixer
|
||||||
|
|
||||||
# audio-plugins
|
# audio-plugins
|
||||||
calf
|
calf
|
||||||
@@ -116,7 +120,13 @@ lv2-c++-tools
|
|||||||
lv2-samplv1
|
lv2-samplv1
|
||||||
lv2-synthv1
|
lv2-synthv1
|
||||||
lv2-drumkv1
|
lv2-drumkv1
|
||||||
|
lv2-triceratops
|
||||||
|
lv2-newtonator
|
||||||
|
lv2-x42-plugins
|
||||||
|
lv2-fomp-plugins
|
||||||
|
lv2-sorcer
|
||||||
|
lv2-fabla
|
||||||
|
lv2-artyfx-plugins
|
||||||
|
|
||||||
#dssi
|
#dssi
|
||||||
nekobee-dssi
|
nekobee-dssi
|
||||||
@@ -140,6 +150,7 @@ nano
|
|||||||
mscore
|
mscore
|
||||||
lilypond
|
lilypond
|
||||||
frescobaldi
|
frescobaldi
|
||||||
|
mup
|
||||||
|
|
||||||
#audio utilities
|
#audio utilities
|
||||||
jamin
|
jamin
|
||||||
@@ -154,6 +165,7 @@ rtirq
|
|||||||
#patchage
|
#patchage
|
||||||
#ladish #not packaged yet
|
#ladish #not packaged yet
|
||||||
japa
|
japa
|
||||||
|
radium-compressor
|
||||||
|
|
||||||
#streaming
|
#streaming
|
||||||
idjc
|
idjc
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Description:
|
# Description:
|
||||||
# - Fedora Live Spin with the K Desktop Environment (KDE), 2 GiB version
|
# - Fedora Live Spin with the K Desktop Environment (KDE), 2 GiB version
|
||||||
# see fedora-livecd-kde.ks for the default CD-sized version
|
# see fedora-livecd-kde.ks for the default 1 GiB version
|
||||||
#
|
#
|
||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Sebastian Vahl <fedora@deadbabylon.de>
|
# - Sebastian Vahl <fedora@deadbabylon.de>
|
||||||
@@ -28,7 +28,6 @@ calligra
|
|||||||
fuse
|
fuse
|
||||||
liveusb-creator
|
liveusb-creator
|
||||||
#pavucontrol # pavucontrol has duplicate functionality with kmix
|
#pavucontrol # pavucontrol has duplicate functionality with kmix
|
||||||
#kaffeine* # kaffeine has duplicate functionality with dragonplayer (~3 megs)
|
|
||||||
krusader # file manager, more power-user-oriented than Dolphin (~4 megs)
|
krusader # file manager, more power-user-oriented than Dolphin (~4 megs)
|
||||||
|
|
||||||
# kdeedu apps
|
# kdeedu apps
|
||||||
|
|||||||
@@ -14,6 +14,10 @@
|
|||||||
-libreoffice-emailmerge
|
-libreoffice-emailmerge
|
||||||
-libreoffice-math
|
-libreoffice-math
|
||||||
|
|
||||||
|
# remove some other applications
|
||||||
|
-gnome-boxes
|
||||||
|
-gnome-dictionary
|
||||||
|
|
||||||
# remove input method things we don't need
|
# remove input method things we don't need
|
||||||
-ibus-typing-booster
|
-ibus-typing-booster
|
||||||
-imsettings
|
-imsettings
|
||||||
@@ -31,6 +35,9 @@
|
|||||||
-foomatic-db-ppds
|
-foomatic-db-ppds
|
||||||
-foomatic
|
-foomatic
|
||||||
|
|
||||||
|
# we don't want prelink
|
||||||
|
-prelink
|
||||||
|
|
||||||
# Dictionaries are big
|
# Dictionaries are big
|
||||||
# we're going to try keeping hunspell-* after notting, davidz, and ajax voiced
|
# we're going to try keeping hunspell-* after notting, davidz, and ajax voiced
|
||||||
# strong preference to giving it a go on #fedora-desktop.
|
# strong preference to giving it a go on #fedora-desktop.
|
||||||
@@ -90,6 +97,8 @@
|
|||||||
-gnu-free-mono-fonts
|
-gnu-free-mono-fonts
|
||||||
-gnu-free-sans-fonts
|
-gnu-free-sans-fonts
|
||||||
-gnu-free-serif-fonts
|
-gnu-free-serif-fonts
|
||||||
|
-uboot-tools
|
||||||
|
-dtc
|
||||||
|
|
||||||
# Without gnu freefonts, the lack of Malayalam coverage is
|
# Without gnu freefonts, the lack of Malayalam coverage is
|
||||||
# a problem in anaconda (#977764)
|
# a problem in anaconda (#977764)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# fedora-livecd-kde.ks
|
# fedora-livecd-kde.ks
|
||||||
#
|
#
|
||||||
# Description:
|
# Description:
|
||||||
# - Fedora Livecd Spin with the K Desktop Environment (KDE)
|
# - Fedora Live Spin with the K Desktop Environment (KDE), default 1 GiB version
|
||||||
#
|
#
|
||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Sebastian Vahl <fedora@deadbabylon.de>
|
# - Sebastian Vahl <fedora@deadbabylon.de>
|
||||||
@@ -10,6 +10,9 @@
|
|||||||
%include fedora-live-kde-base.ks
|
%include fedora-live-kde-base.ks
|
||||||
%include fedora-live-minimization.ks
|
%include fedora-live-minimization.ks
|
||||||
|
|
||||||
|
# DVD payload
|
||||||
|
part / --size=4096
|
||||||
|
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
# unwanted packages from @kde-desktop
|
# unwanted packages from @kde-desktop
|
||||||
@@ -35,7 +38,6 @@ calligra-stage # ~3 megs
|
|||||||
#twinkle # (~10 megs)
|
#twinkle # (~10 megs)
|
||||||
fuse
|
fuse
|
||||||
liveusb-creator
|
liveusb-creator
|
||||||
#kaffeine* # kaffeine has duplicate functionality with dragonplayer (~3 megs)
|
|
||||||
|
|
||||||
# only include kdegames-minimal
|
# only include kdegames-minimal
|
||||||
-kdegames
|
-kdegames
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ MailClient=sylpheed.desktop
|
|||||||
FOE
|
FOE
|
||||||
|
|
||||||
# set up auto-login for liveuser
|
# set up auto-login for liveuser
|
||||||
sed -i 's|# autologin=dgod|autologin=liveuser|g' /etc/lxdm/lxdm.conf
|
sed -i 's/# autologin=.*/autologin=liveuser/g' /etc/lxdm/lxdm.conf
|
||||||
|
|
||||||
# Show harddisk install on the desktop
|
# Show harddisk install on the desktop
|
||||||
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
||||||
@@ -45,32 +45,13 @@ cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
|
|||||||
|
|
||||||
# create default config for clipit, otherwise it displays a dialog on startup
|
# create default config for clipit, otherwise it displays a dialog on startup
|
||||||
mkdir -p /home/liveuser/.config/clipit
|
mkdir -p /home/liveuser/.config/clipit
|
||||||
cat .config/clipit/clipitrc << FOE
|
cat > /home/liveuser/.config/clipit/clipitrc << FOE
|
||||||
[rc]
|
[rc]
|
||||||
use_copy=true
|
use_copy=true
|
||||||
use_primary=false
|
|
||||||
synchronize=false
|
|
||||||
automatic_paste=false
|
|
||||||
show_indexes=false
|
|
||||||
save_uris=true
|
save_uris=true
|
||||||
use_rmb_menu=false
|
|
||||||
save_history=false
|
save_history=false
|
||||||
history_limit=50
|
|
||||||
items_menu=20
|
|
||||||
statics_show=true
|
statics_show=true
|
||||||
statics_items=10
|
|
||||||
hyperlinks_only=false
|
|
||||||
confirm_clear=false
|
|
||||||
single_line=true
|
single_line=true
|
||||||
reverse_history=false
|
|
||||||
item_length=50
|
|
||||||
ellipsize=2
|
|
||||||
history_key=<Ctrl><Alt>H
|
|
||||||
actions_key=<Ctrl><Alt>A
|
|
||||||
menu_key=<Ctrl><Alt>P
|
|
||||||
search_key=<Ctrl><Alt>F
|
|
||||||
offline_key=<Ctrl><Alt>O
|
|
||||||
offline_mode=false
|
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# this goes at the end after all other changes.
|
# this goes at the end after all other changes.
|
||||||
|
|||||||
@@ -4,365 +4,152 @@
|
|||||||
# A fully functional live OS based on Fedora for use in security auditing,
|
# A fully functional live OS based on Fedora for use in security auditing,
|
||||||
# forensics research, and penetration testing.
|
# forensics research, and penetration testing.
|
||||||
# Maintainers:
|
# Maintainers:
|
||||||
# Christoph Wickert <cwickert [AT] fedoraproject <dot> org>
|
# Fabian Affolter <fab [AT] fedoraproject <dot> org>
|
||||||
# Joerg Simon <jsimon [AT] fedoraproject <dot> org>
|
# Joerg Simon <jsimon [AT] fedoraproject <dot> org>
|
||||||
# Fabian Affolter <fab [AT] fedoraproject <dot> org>
|
# Christoph Wickert <cwickert [AT] fedoraproject <dot> org>
|
||||||
# Acknowledgements:
|
# Acknowledgements:
|
||||||
# Fedora LiveCD Xfce Spin team - some work here was inherited, many thanks!
|
# Fedora LiveCD Xfce Spin team - some work here was and will be inherited,
|
||||||
|
# many thanks!
|
||||||
# Fedora LXDE Spin - Copied over stuff to make LXDE Default
|
# Fedora LXDE Spin - Copied over stuff to make LXDE Default
|
||||||
# Luke Macken, Adam Miller for the original OpenBox Security ks and all
|
# Luke Macken and Adam Miller for the original OpenBox Security ks and all
|
||||||
# the Security Applications!
|
# the Security Applications!
|
||||||
# Hiemanshu Sharma <hiemanshu [AT] fedoraproject <dot> org>
|
# Hiemanshu Sharma <hiemanshu [AT] fedoraproject <dot> org>
|
||||||
# Important!!!!
|
|
||||||
# Beginning with Security Stuff - we use pattern to parse the kickstart file
|
|
||||||
# for building the security menu - please use
|
|
||||||
# # Category: Categoryname <- for new Categories
|
|
||||||
# # Command: Commandname <- for the given Command
|
|
||||||
# # rCommand: Commandname <- for a command as root
|
|
||||||
# # Entry: Menu-Entry <- for the MenuEntry Name (optional)
|
|
||||||
|
|
||||||
%include fedora-live-base.ks
|
%include fedora-live-base.ks
|
||||||
%include fedora-live-minimization.ks
|
%include fedora-live-minimization.ks
|
||||||
|
|
||||||
|
# spin was failing to compose due to lack of space, so bumping the size.
|
||||||
|
part / --size 10240
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
### LXDE desktop
|
@xfce-desktop
|
||||||
@lxde-desktop
|
@xfce-apps
|
||||||
lxlauncher
|
#@xfce-extra-plugins
|
||||||
obconf
|
#@xfce-media
|
||||||
lxdm
|
#@xfce-office
|
||||||
|
#@firefox
|
||||||
|
|
||||||
### internet
|
# Security tools (not ready at the moment)
|
||||||
firefox
|
@security-lab
|
||||||
icedtea-web
|
security-menus
|
||||||
pidgin
|
|
||||||
sylpheed
|
|
||||||
transmission
|
|
||||||
|
|
||||||
### graphics
|
|
||||||
#mtpaint
|
|
||||||
|
|
||||||
### audio & video
|
|
||||||
alsa-plugins-pulseaudio
|
|
||||||
asunder
|
|
||||||
lxmusic
|
|
||||||
gxine
|
|
||||||
gxine-mozplugin
|
|
||||||
pavucontrol
|
|
||||||
pnmixer
|
|
||||||
# I'm looking for something smaller than
|
|
||||||
#gnomebaker
|
|
||||||
|
|
||||||
### utils
|
|
||||||
galculator
|
|
||||||
parcellite
|
|
||||||
xpad
|
|
||||||
|
|
||||||
### system
|
|
||||||
gigolo
|
|
||||||
Terminal
|
|
||||||
|
|
||||||
### more desktop stuff
|
|
||||||
fedora-icon-theme
|
|
||||||
adwaita-cursor-theme
|
|
||||||
adwaita-gtk2-theme
|
|
||||||
adwaita-gtk3-theme
|
|
||||||
|
|
||||||
# pam-fprint causes a segfault in LXDM when enabled
|
|
||||||
-fprintd-pam
|
|
||||||
|
|
||||||
# needed for automatic unlocking of keyring (#643435)
|
|
||||||
gnome-keyring-pam
|
|
||||||
|
|
||||||
network-manager-applet
|
|
||||||
|
|
||||||
# needed for xdg-open to support LXDE
|
|
||||||
perl-File-MimeInfo
|
|
||||||
|
|
||||||
xcompmgr
|
|
||||||
xdg-user-dirs-gtk
|
|
||||||
xscreensaver-extras
|
|
||||||
|
|
||||||
# use yumex instead of gnome-packagekit
|
|
||||||
#yumex
|
|
||||||
-apper
|
|
||||||
-gnome-packagekit
|
|
||||||
|
|
||||||
# LXDE has lxpolkit. Make sure no other authentication agents end up in the spin.
|
|
||||||
-polkit-gnome
|
|
||||||
-polkit-kde
|
|
||||||
|
|
||||||
# make sure xfce4-notifyd is not pulled in
|
|
||||||
notification-daemon
|
|
||||||
-xfce4-notifyd
|
|
||||||
|
|
||||||
# make sure xfwm4 is not pulled in for firstboot
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=643416
|
|
||||||
metacity
|
|
||||||
|
|
||||||
# Command line
|
|
||||||
powertop
|
|
||||||
wget
|
|
||||||
yum-utils
|
|
||||||
|
|
||||||
# dictionaries are big
|
|
||||||
-aspell-*
|
|
||||||
-hunspell-*
|
|
||||||
-man-pages-*
|
|
||||||
-words
|
|
||||||
|
|
||||||
# save some space
|
# save some space
|
||||||
-sendmail
|
-autofs
|
||||||
ssmtp
|
|
||||||
-acpid
|
-acpid
|
||||||
|
-gimp-help
|
||||||
|
-desktop-backgrounds-basic
|
||||||
|
-realmd # only seems to be used in GNOME
|
||||||
|
-PackageKit* # we switched to yumex, so we don't need this
|
||||||
|
-aspell-* # dictionaries are big
|
||||||
|
-man-pages-*
|
||||||
|
|
||||||
# drop some system-config things
|
# drop some system-config things
|
||||||
-system-config-boot
|
-system-config-boot
|
||||||
#-system-config-language
|
#-system-config-network
|
||||||
-system-config-lvm
|
|
||||||
-system-config-rootpassword
|
-system-config-rootpassword
|
||||||
#-system-config-services
|
#-system-config-services
|
||||||
-policycoreutils-gui
|
-policycoreutils-gui
|
||||||
-gnome-disk-utility
|
|
||||||
|
|
||||||
# we need UPower for suspend and hibernate
|
# exclude some packages to save some space
|
||||||
upower
|
# use './fsl-maintenance.py -l' in your security spin git folder to build
|
||||||
|
-ArpON
|
||||||
###################### Security Stuffs ############################
|
-aide
|
||||||
security-menus
|
-binwalk
|
||||||
##################################################################
|
-bkhive
|
||||||
# Category: Reconnaissance
|
-bonesi
|
||||||
# rCommand: dsniff -h
|
-bro
|
||||||
dsniff
|
-cmospwd
|
||||||
# rCommand: hping -h
|
-dnstop
|
||||||
hping3
|
-etherape
|
||||||
nc6
|
-hfsutils
|
||||||
nc
|
-httpie
|
||||||
# Command: ncrack -h
|
-httrack
|
||||||
ncrack
|
-hydra
|
||||||
ngrep
|
-kismon
|
||||||
# rCommand: nmap -h
|
-labrea
|
||||||
nmap
|
-nebula
|
||||||
# Command: zenmap-root
|
-netsed
|
||||||
nmap-frontend
|
-onesixtyone
|
||||||
# Command: p0f -h
|
-packETH
|
||||||
p0f
|
-pads
|
||||||
# rCommand: sing -h
|
-pdfcrack
|
||||||
sing
|
-picviz-gui
|
||||||
# Command: scanssh -h
|
-prelude-lml
|
||||||
#temp takout scanssh
|
-prelude-manager
|
||||||
# rCommand: scapy -h
|
-prewikka
|
||||||
scapy
|
-proxychains
|
||||||
# Command: socat
|
-pyrit
|
||||||
# Entry: Socket cat
|
-raddump
|
||||||
socat
|
-rkhunter
|
||||||
# rCommand: tcpdump -h
|
-safecopy
|
||||||
tcpdump
|
-samdump2
|
||||||
# rCommand: unicornscan -h
|
-scalpel
|
||||||
unicornscan
|
-sshscan
|
||||||
# rCommand: wireshark
|
-sslstrip
|
||||||
# Entry: Wireshark
|
-tcpreen
|
||||||
wireshark-gnome
|
-tcpreplay
|
||||||
# Command: xprobe2
|
-tripwire
|
||||||
xprobe2
|
-wipe
|
||||||
# Command: nbtscan
|
|
||||||
nbtscan
|
|
||||||
# Command: tcpxtract
|
|
||||||
tcpxtract
|
|
||||||
# Command: firewalk
|
|
||||||
# Entry: Firewalk
|
|
||||||
firewalk
|
|
||||||
# Command: hunt
|
|
||||||
# Entry: Hunt
|
|
||||||
hunt
|
|
||||||
# Command: dnsenum -h
|
|
||||||
# Entry: DNS Enumeration
|
|
||||||
dnsenum
|
|
||||||
# rCommand: iftop
|
|
||||||
iftop
|
|
||||||
# Command: argus -h
|
|
||||||
argus
|
|
||||||
# rCommand: ettercap -C
|
|
||||||
# Entry: Ettercap
|
|
||||||
ettercap
|
|
||||||
ettercap-gtk
|
|
||||||
# rCommand: packETH
|
|
||||||
packETH
|
|
||||||
# rCommand: iptraf-ng
|
|
||||||
iptraf-ng
|
|
||||||
pcapdiff
|
|
||||||
# rCommand: etherape
|
|
||||||
etherape
|
|
||||||
# Command: lynis
|
|
||||||
lynis
|
|
||||||
# rCommand: netsniff-ng
|
|
||||||
netsniff-ng
|
|
||||||
# Command: tcpjunk -x
|
|
||||||
tcpjunk
|
|
||||||
# rCommand: ssldump -h
|
|
||||||
ssldump
|
|
||||||
# rCommand: yersinia -G
|
|
||||||
# Entry: Yersinia
|
|
||||||
yersinia
|
|
||||||
net-snmp
|
|
||||||
# Command: openvas-client
|
|
||||||
# Entry: OpenVAS Client
|
|
||||||
openvas-client
|
|
||||||
openvas-scanner
|
|
||||||
|
|
||||||
#################################################################
|
|
||||||
# Category: Forensics
|
|
||||||
# Command: ddrescue -h
|
|
||||||
ddrescue
|
|
||||||
# Command: gparted
|
|
||||||
gparted
|
|
||||||
hexedit
|
|
||||||
# rCommand: testdisk -h
|
|
||||||
testdisk
|
|
||||||
# Command: foremost -h
|
|
||||||
# Entry: Foremost Filecarver
|
|
||||||
foremost
|
|
||||||
# Command: sectool-gui
|
|
||||||
# Entry: sectool
|
|
||||||
sectool-gui
|
|
||||||
scanmem
|
|
||||||
sleuthkit
|
|
||||||
# Command: unhide
|
|
||||||
unhide
|
|
||||||
# Command: examiner
|
|
||||||
# Entry: ELF Examiner
|
|
||||||
examiner
|
|
||||||
dc3dd
|
|
||||||
afftools
|
|
||||||
# Command: srm -h
|
|
||||||
# Entry: Securely Remove Files
|
|
||||||
srm
|
|
||||||
# Command: nwipe
|
|
||||||
# Entry: Securely erase disks
|
|
||||||
nwipe
|
|
||||||
# Command: firstaidkit -g gtk
|
|
||||||
# Entry: First Aid Kit
|
|
||||||
#firstaidkit-plugin-all #temp removed - dependency to grub2
|
|
||||||
|
|
||||||
ntfs-3g
|
|
||||||
ntfsprogs
|
|
||||||
|
|
||||||
#####################################################################
|
|
||||||
# Category: WebApplicationTesting
|
|
||||||
# Command: httping -h
|
|
||||||
httping
|
|
||||||
# Command: nikto -help
|
|
||||||
# Entry: Nikto Websecurity Scanner
|
|
||||||
nikto
|
|
||||||
# Command: ratproxy -h
|
|
||||||
ratproxy
|
|
||||||
# Command: lbd
|
|
||||||
# Entry: Load Balancing Detector
|
|
||||||
lbd
|
|
||||||
# Command: skipfish
|
|
||||||
skipfish
|
|
||||||
# Command: sqlninja
|
|
||||||
sqlninja
|
|
||||||
|
|
||||||
#######################################################################
|
|
||||||
# Category: Wireless
|
|
||||||
# Command: aircrack-ng
|
|
||||||
aircrack-ng
|
|
||||||
# Command: airsnort
|
|
||||||
airsnort
|
|
||||||
# rCommand: kismet
|
|
||||||
kismet
|
|
||||||
# Command: weplab
|
|
||||||
# Entry: Wep Key Cracker
|
|
||||||
weplab
|
|
||||||
# Command: wavemon
|
|
||||||
wavemon
|
|
||||||
|
|
||||||
#######################################################################
|
|
||||||
# Category: CodeAnalysis
|
|
||||||
# Command: splint
|
|
||||||
splint
|
|
||||||
# Command: pscan
|
|
||||||
pscan
|
|
||||||
# Command: flawfinder
|
|
||||||
# Entry: Flawfinder
|
|
||||||
flawfinder
|
|
||||||
# Command: rats
|
|
||||||
# Entry: Rough Auditing Tool for Security
|
|
||||||
rats
|
|
||||||
|
|
||||||
######################################################################
|
|
||||||
# Category: IntrusionDetection
|
|
||||||
# rCommand: chkrootkit
|
|
||||||
chkrootkit
|
|
||||||
# Command: aide -h
|
|
||||||
aide
|
|
||||||
labrea
|
|
||||||
# Command: honeyd -h
|
|
||||||
# Entry: Honeypot Daemon
|
|
||||||
# temp removal
|
|
||||||
#honeyd
|
|
||||||
# Command: pads -h
|
|
||||||
# Entry: Passive Asset Detection System
|
|
||||||
pads
|
|
||||||
nebula
|
|
||||||
# Command: rkhunter
|
|
||||||
# Entry: RootKitHunter
|
|
||||||
rkhunter
|
|
||||||
|
|
||||||
########################################################################
|
|
||||||
# Category: PasswordTools
|
|
||||||
# Command: john
|
|
||||||
john
|
|
||||||
# Command: ophcrack
|
|
||||||
# Entry: Objectif Securite ophcrack
|
|
||||||
ophcrack
|
|
||||||
# Command: medusa -d
|
|
||||||
# Entry: Medusa Brute Force
|
|
||||||
medusa
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# LXDE and LXDM configuration
|
# xfce configuration
|
||||||
|
|
||||||
|
# This is a huge file and things work ok without it
|
||||||
|
rm -f /usr/share/icons/HighContrast/icon-theme.cache
|
||||||
|
|
||||||
# create /etc/sysconfig/desktop (needed for installation)
|
# create /etc/sysconfig/desktop (needed for installation)
|
||||||
|
|
||||||
cat > /etc/sysconfig/desktop <<EOF
|
cat > /etc/sysconfig/desktop <<EOF
|
||||||
PREFERRED=/usr/bin/startlxde
|
PREFERRED=/usr/bin/startxfce4
|
||||||
DISPLAYMANAGER=/usr/sbin/lxdm
|
DISPLAYMANAGER=/usr/sbin/lightdm
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||||
# disable screensaver locking and make sure gamin gets started
|
|
||||||
cat > /etc/xdg/lxsession/LXDE/autostart << FOE
|
mkdir -p /home/liveuser/.config/xfce4
|
||||||
/usr/libexec/gam_server
|
|
||||||
@lxpanel --profile LXDE
|
cat > /home/liveuser/.config/xfce4/helpers.rc << FOE
|
||||||
@pcmanfm --desktop --profile LXDE
|
MailReader=sylpheed-claws
|
||||||
/usr/libexec/notification-daemon
|
FileManager=Thunar
|
||||||
|
WebBrowser=midori
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# set up preferred apps
|
# disable screensaver locking (#674410)
|
||||||
cat > /etc/xdg/libfm/pref-apps.conf << FOE
|
cat >> /home/liveuser/.xscreensaver << FOE
|
||||||
[Preferred Applications]
|
mode: off
|
||||||
WebBrowser=firefox.desktop
|
lock: False
|
||||||
MailClient=redhat-sylpheed.desktop
|
dpmsEnabled: False
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# set up auto-login for liveuser
|
# deactivate xfconf-migration (#683161)
|
||||||
sed -i 's|# autologin=dgod|autologin=liveuser|g' /etc/lxdm/lxdm.conf
|
rm -f /etc/xdg/autostart/xfconf-migration-4.6.desktop || :
|
||||||
|
|
||||||
|
# deactivate xfce4-panel first-run dialog (#693569)
|
||||||
|
mkdir -p /home/liveuser/.config/xfce4/xfconf/xfce-perchannel-xml
|
||||||
|
cp /etc/xdg/xfce4/panel/default.xml /home/liveuser/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
|
||||||
|
|
||||||
|
# set up lightdm autologin
|
||||||
|
sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
|
||||||
|
sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
|
||||||
|
#sed -i 's/^#show-language-selector=.*/show-language-selector=true/' /etc/lightdm/lightdm-gtk-greeter.conf
|
||||||
|
|
||||||
|
# set Xfce as default session, otherwise login will fail
|
||||||
|
sed -i 's/^#user-session=.*/user-session=xfce/' /etc/lightdm/lightdm.conf
|
||||||
|
|
||||||
# Show harddisk install on the desktop
|
# Show harddisk install on the desktop
|
||||||
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
||||||
mkdir /home/liveuser/Desktop
|
mkdir /home/liveuser/Desktop
|
||||||
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
|
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
|
||||||
|
|
||||||
# Add autostart for parcellite
|
# and mark it as executable (new Xfce security feature)
|
||||||
cp /usr/share/applications/fedora-parcellite.desktop /etc/xdg/autostart
|
chmod +x /home/liveuser/Desktop/liveinst.desktop
|
||||||
|
|
||||||
# this goes at the end after all other changes.
|
# this goes at the end after all other changes.
|
||||||
chown -R liveuser:liveuser /home/liveuser
|
chown -R liveuser:liveuser /home/liveuser
|
||||||
restorecon -R /home/liveuser
|
restorecon -R /home/liveuser
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
@@ -26,8 +26,8 @@ rm -f /var/lib/rpm/__db*
|
|||||||
|
|
||||||
# Get proper release naming in the control panel
|
# Get proper release naming in the control panel
|
||||||
cat >> /boot/olpc_build << EOF
|
cat >> /boot/olpc_build << EOF
|
||||||
Sugar on a Stick 8 ('Ōhelo Berry)
|
Sugar on a Stick 10
|
||||||
Fedora release 18 (Spherical Cow)
|
Fedora release 20 (Heisenbug)
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Add our activities to the favorites
|
# Add our activities to the favorites
|
||||||
@@ -51,6 +51,7 @@ org.laptop.StopWatchActivity
|
|||||||
org.laptop.community.Finance
|
org.laptop.community.Finance
|
||||||
org.laptop.community.TypingTurtle
|
org.laptop.community.TypingTurtle
|
||||||
org.laptop.sugar.Jukebox
|
org.laptop.sugar.Jukebox
|
||||||
|
org.eq.FotoToon
|
||||||
org.gnome.Labyrinth
|
org.gnome.Labyrinth
|
||||||
com.laptop.Ruler
|
com.laptop.Ruler
|
||||||
org.sugarlabs.AbacusActivity
|
org.sugarlabs.AbacusActivity
|
||||||
@@ -83,6 +84,16 @@ gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults
|
|||||||
# Enable Sugar power management
|
# Enable Sugar power management
|
||||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/sugar/power/automatic True >/dev/null
|
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/sugar/power/automatic True >/dev/null
|
||||||
|
|
||||||
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||||
|
# set up lightdm autologin
|
||||||
|
sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
|
||||||
|
sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
|
||||||
|
#sed -i 's/^#show-language-selector=.*/show-language-selector=true/' /etc/lightdm/lightdm-gtk-greeter.conf
|
||||||
|
|
||||||
|
# set Sugar as default session, otherwise login will fail
|
||||||
|
sed -i 's/^#user-session=.*/user-session=sugar/' /etc/lightdm/lightdm.conf
|
||||||
|
EOF
|
||||||
|
|
||||||
cat >> /etc/rc.d/init.d/livesys-late << EOF
|
cat >> /etc/rc.d/init.d/livesys-late << EOF
|
||||||
|
|
||||||
# disable screensaver locking
|
# disable screensaver locking
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
%include fedora-livecd-desktop.ks
|
%include fedora-livecd-desktop.ks
|
||||||
|
|
||||||
# DVD payload
|
# DVD payload
|
||||||
part / --size=8192
|
part / --size 10240
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
|
|
||||||
@@ -49,7 +49,8 @@ perl-Test-Pod-Coverage
|
|||||||
-gimp-libs
|
-gimp-libs
|
||||||
-gimp-data-extras
|
-gimp-data-extras
|
||||||
-kdebluetooth
|
-kdebluetooth
|
||||||
|
-kbluetooth
|
||||||
|
-rdesktop
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
# - Bruno Wolff III <bruno@wolff.to>
|
# - Bruno Wolff III <bruno@wolff.to>
|
||||||
# - Formerly maintained by Rahul Sundaram
|
# - Formerly maintained by Rahul Sundaram
|
||||||
|
|
||||||
%include fedora-livecd-desktop.ks
|
%include fedora-livecd-xfce.ks
|
||||||
|
|
||||||
# The recommended part size for DVDs is too close to use for the games spin
|
# The recommended part size for DVDs is too close to use for the games spin
|
||||||
part / --size 10240
|
part / --size 10240
|
||||||
@@ -91,7 +91,6 @@ lordsawar
|
|||||||
lure
|
lure
|
||||||
machineball
|
machineball
|
||||||
nethack
|
nethack
|
||||||
openlierox
|
|
||||||
pachi
|
pachi
|
||||||
pioneers
|
pioneers
|
||||||
quarry
|
quarry
|
||||||
@@ -187,7 +186,6 @@ games-menus
|
|||||||
# No compilations of games as I want to only include games that at least
|
# No compilations of games as I want to only include games that at least
|
||||||
# someone thought were good within a genre.
|
# someone thought were good within a genre.
|
||||||
-kdegames
|
-kdegames
|
||||||
-gnome-games
|
|
||||||
|
|
||||||
# Nothing should be downloading data to play.
|
# Nothing should be downloading data to play.
|
||||||
-autodownloader
|
-autodownloader
|
||||||
|
|||||||
@@ -10,12 +10,10 @@
|
|||||||
# Maintainer: Amit Saha <amitksaha@fedoraproject.org>
|
# Maintainer: Amit Saha <amitksaha@fedoraproject.org>
|
||||||
# https://fedoraproject.org/wiki/User:Amitksaha
|
# https://fedoraproject.org/wiki/User:Amitksaha
|
||||||
|
|
||||||
# Last modified: March 10, 2012.
|
|
||||||
|
|
||||||
%include fedora-live-kde.ks
|
%include fedora-live-kde.ks
|
||||||
|
|
||||||
# DVD payload
|
# The recommended part size for DVDs is too close to use for the scientific spin
|
||||||
part / --size 10000
|
part / --size 12288
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
|
|
||||||
@@ -27,6 +25,11 @@ scilab
|
|||||||
scilab-devel
|
scilab-devel
|
||||||
scilab-doc
|
scilab-doc
|
||||||
|
|
||||||
|
# sagemath
|
||||||
|
# BZ #1006230 should fix this
|
||||||
|
sagemath
|
||||||
|
sagemath-notebook
|
||||||
|
|
||||||
#Devel tools
|
#Devel tools
|
||||||
|
|
||||||
#Install the mandatory packages from dev-tools and dev-libs
|
#Install the mandatory packages from dev-tools and dev-libs
|
||||||
@@ -35,14 +38,41 @@ scilab-doc
|
|||||||
@development-libs
|
@development-libs
|
||||||
@c-development
|
@c-development
|
||||||
@rpm-development-tools
|
@rpm-development-tools
|
||||||
|
#others, not included
|
||||||
|
# C++ libraries
|
||||||
|
blitz-devel
|
||||||
|
armadillo-devel
|
||||||
|
|
||||||
# Misc. related utils
|
# Misc. related utils
|
||||||
ddd
|
ddd
|
||||||
valgrind
|
valgrind
|
||||||
ipython
|
|
||||||
|
#python 2 tools/libraries not included from the groups
|
||||||
|
python-ipython
|
||||||
|
python-ipython-console
|
||||||
|
python-ipython-notebook
|
||||||
|
sympy
|
||||||
|
python-networkx
|
||||||
|
|
||||||
|
#python 3 and tools/libraries not included from the groups
|
||||||
|
python3
|
||||||
|
python3-matplotlib
|
||||||
|
python3-scipy
|
||||||
|
python3-numpy
|
||||||
|
python3-ipython
|
||||||
|
python3-ipython-console
|
||||||
|
python3-ipython-notebook
|
||||||
|
python3-networkx
|
||||||
|
|
||||||
|
# matplotlib backends
|
||||||
|
python-matplotlib-qt4
|
||||||
|
python-matplotlib-tk
|
||||||
|
python3-matplotlib-qt4
|
||||||
|
python3-matplotlib-tk
|
||||||
|
|
||||||
# Include Java development tools
|
# Include Java development tools
|
||||||
@java-development
|
@java-development
|
||||||
|
apache-commons-math
|
||||||
|
|
||||||
#fortran compiler
|
#fortran compiler
|
||||||
gcc-gfortran
|
gcc-gfortran
|
||||||
@@ -54,8 +84,7 @@ rkward
|
|||||||
qtoctave
|
qtoctave
|
||||||
|
|
||||||
# IDEs for the IDE folks
|
# IDEs for the IDE folks
|
||||||
netbeans
|
@eclipse
|
||||||
eclipse
|
|
||||||
spyder
|
spyder
|
||||||
|
|
||||||
#writing & publishing
|
#writing & publishing
|
||||||
@@ -63,7 +92,7 @@ emacs
|
|||||||
emacs-color-theme
|
emacs-color-theme
|
||||||
vim
|
vim
|
||||||
scribus
|
scribus
|
||||||
scite
|
#scite
|
||||||
lyx
|
lyx
|
||||||
kile
|
kile
|
||||||
|
|
||||||
@@ -72,21 +101,22 @@ kile
|
|||||||
BibTool
|
BibTool
|
||||||
pdfshuffler
|
pdfshuffler
|
||||||
|
|
||||||
|
|
||||||
# Parallel/Distributed computing libraries/tools
|
# Parallel/Distributed computing libraries/tools
|
||||||
openmpi
|
openmpi
|
||||||
|
openmpi-devel
|
||||||
valgrind-openmpi
|
valgrind-openmpi
|
||||||
pvm
|
pvm
|
||||||
pvm-gui #will install 'pvm' as well
|
pvm-gui #will install 'pvm' as well
|
||||||
libgomp
|
libgomp
|
||||||
python-pp
|
python-pp
|
||||||
|
mpi4py-openmpi
|
||||||
|
python3-mpi4py-openmpi
|
||||||
|
|
||||||
#Version control- a GUI for each as well
|
#Version control- a GUI for each as well
|
||||||
|
|
||||||
# Installing rapidsvn will also install subversion package
|
# Installing rapidsvn will also install subversion package
|
||||||
rapidsvn
|
rapidsvn
|
||||||
# Install git-gui, will also install git
|
git
|
||||||
git-gui
|
git-gui
|
||||||
# Mercurial
|
# Mercurial
|
||||||
mercurial
|
mercurial
|
||||||
@@ -95,7 +125,6 @@ mercurial-hgk
|
|||||||
#Backup Utilities
|
#Backup Utilities
|
||||||
backintime-kde
|
backintime-kde
|
||||||
|
|
||||||
|
|
||||||
#needs to install this specifically because of some conflict between openmpi
|
#needs to install this specifically because of some conflict between openmpi
|
||||||
#and emacs (http://lists.fedoraproject.org/pipermail/devel/2011-July/153812.html)
|
#and emacs (http://lists.fedoraproject.org/pipermail/devel/2011-July/153812.html)
|
||||||
libotf
|
libotf
|
||||||
@@ -106,13 +135,13 @@ root-gui-fitpanel
|
|||||||
root-python
|
root-python
|
||||||
|
|
||||||
#Multiple jobs/clustering system
|
#Multiple jobs/clustering system
|
||||||
torque
|
# torque
|
||||||
torque-server
|
# torque-server
|
||||||
torque-scheduler
|
# torque-scheduler
|
||||||
torque-gui
|
# torque-gui
|
||||||
torque-libs
|
# torque-libs
|
||||||
torque-mom
|
# torque-mom
|
||||||
python-pbs
|
# python-pbs
|
||||||
|
|
||||||
#Drawing, Picture viewing tools, Visualization tools
|
#Drawing, Picture viewing tools, Visualization tools
|
||||||
dia
|
dia
|
||||||
@@ -126,8 +155,9 @@ Mayavi
|
|||||||
|
|
||||||
#Misc. Utils
|
#Misc. Utils
|
||||||
screen
|
screen
|
||||||
|
tmux
|
||||||
rlwrap
|
rlwrap
|
||||||
xchat
|
hexchat
|
||||||
shutter
|
shutter
|
||||||
fig2ps
|
fig2ps
|
||||||
bibtex2html
|
bibtex2html
|
||||||
@@ -140,4 +170,4 @@ firefox
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
%end
|
%end
|
||||||
@@ -12,7 +12,9 @@
|
|||||||
@lxde-apps
|
@lxde-apps
|
||||||
@lxde-media
|
@lxde-media
|
||||||
@lxde-office
|
@lxde-office
|
||||||
@firefox
|
|
||||||
|
# FIXME: can be omitted once comps is updated
|
||||||
|
midori
|
||||||
|
|
||||||
# pam-fprint causes a segfault in LXDM when enabled
|
# pam-fprint causes a segfault in LXDM when enabled
|
||||||
-fprintd-pam
|
-fprintd-pam
|
||||||
@@ -32,14 +34,8 @@ metacity
|
|||||||
|
|
||||||
|
|
||||||
# dictionaries are big
|
# dictionaries are big
|
||||||
-aspell-*
|
#-man-pages-*
|
||||||
-hunspell-*
|
#-words
|
||||||
-man-pages-*
|
|
||||||
-words
|
|
||||||
|
|
||||||
# use ssmtp instead of sendmail
|
|
||||||
-sendmail
|
|
||||||
ssmtp
|
|
||||||
|
|
||||||
# save some space
|
# save some space
|
||||||
-autofs
|
-autofs
|
||||||
@@ -53,10 +49,7 @@ ssmtp
|
|||||||
-stix-fonts
|
-stix-fonts
|
||||||
-ibus-typing-booster
|
-ibus-typing-booster
|
||||||
-xscreensaver-extras
|
-xscreensaver-extras
|
||||||
-wqy-zenhei-fonts
|
#-wqy-zenhei-fonts # FIXME: Workaround to save space, do this in comps
|
||||||
|
|
||||||
# FIXME: can be removed once mtpaint is gone from lxde-apps in comps
|
|
||||||
-mtpaint
|
|
||||||
|
|
||||||
# drop some system-config things
|
# drop some system-config things
|
||||||
-system-config-boot
|
-system-config-boot
|
||||||
@@ -67,8 +60,5 @@ ssmtp
|
|||||||
-policycoreutils-gui
|
-policycoreutils-gui
|
||||||
-gnome-disk-utility
|
-gnome-disk-utility
|
||||||
|
|
||||||
# we need UPower for suspend and hibernate
|
|
||||||
upower
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
|
||||||
|
repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
|
||||||
|
#repo --name=updates-testing --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch
|
||||||
|
|||||||
1
fedora-repo-rawhide.ks
Normal file
1
fedora-repo-rawhide.ks
Normal file
@@ -0,0 +1 @@
|
|||||||
|
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
# Exactly one of the following should be uncommented
|
# Exactly one of the following should be uncommented
|
||||||
|
|
||||||
# For the master branch the following should be uncommented
|
# For the master branch the following should be uncommented
|
||||||
%include fedora-repo-rawhide.ks
|
#%include fedora-repo-rawhide.ks
|
||||||
|
|
||||||
# For non-master branches the following should be uncommented
|
# For non-master branches the following should be uncommented
|
||||||
# %include fedora-repo-non-rawhide.ks
|
%include fedora-repo-not-rawhide.ks
|
||||||
|
|||||||
@@ -21,7 +21,6 @@
|
|||||||
-rdate
|
-rdate
|
||||||
-rdist
|
-rdist
|
||||||
-icedtea-web
|
-icedtea-web
|
||||||
-sendmail
|
|
||||||
-firefox
|
-firefox
|
||||||
-glx-utils
|
-glx-utils
|
||||||
-nmap-ncat
|
-nmap-ncat
|
||||||
@@ -35,6 +34,8 @@
|
|||||||
@sugar-desktop
|
@sugar-desktop
|
||||||
-sugar-ruler
|
-sugar-ruler
|
||||||
sugar-cp-updater
|
sugar-cp-updater
|
||||||
|
lightdm
|
||||||
|
lightdm-gtk
|
||||||
|
|
||||||
# Write breaks unless we do this (we don't need it anyway)
|
# Write breaks unless we do this (we don't need it anyway)
|
||||||
# enable for testing in the F17 dev cycle
|
# enable for testing in the F17 dev cycle
|
||||||
|
|||||||
18
fedora-x86_64-cloud.ks
Normal file
18
fedora-x86_64-cloud.ks
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
%include fedora-cloud-base.ks
|
||||||
|
|
||||||
|
%packages
|
||||||
|
kernel
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post
|
||||||
|
if [ ! -e /etc/sysconfig/kernel ]; then
|
||||||
|
echo "Creating /etc/sysconfig/kernel."
|
||||||
|
cat <<EOF > /etc/sysconfig/kernel
|
||||||
|
# UPDATEDEFAULT specifies if new-kernel-pkg should make
|
||||||
|
# new kernels the default
|
||||||
|
UPDATEDEFAULT=yes
|
||||||
|
|
||||||
|
# DEFAULTKERNEL specifies the default kernel package type
|
||||||
|
DEFAULTKERNEL=kernel
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
@@ -39,7 +39,6 @@ gnome-keyring-pam
|
|||||||
|
|
||||||
# drop some system-config things
|
# drop some system-config things
|
||||||
-system-config-boot
|
-system-config-boot
|
||||||
-system-config-lvm
|
|
||||||
-system-config-network
|
-system-config-network
|
||||||
-system-config-rootpassword
|
-system-config-rootpassword
|
||||||
#-system-config-services
|
#-system-config-services
|
||||||
|
|||||||
Reference in New Issue
Block a user