mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-08 16:10:29 +08:00
Compare commits
170 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
84cba7aaa0 | ||
|
|
434aec0dd3 | ||
|
|
d0d81076bb | ||
|
|
5468763219 | ||
|
|
965fb1adab | ||
|
|
7f436214bc | ||
|
|
8d66af166c | ||
|
|
6f3661e3a5 | ||
|
|
5d987e82b3 | ||
|
|
2de79eaadb | ||
|
|
aaaf21e930 | ||
|
|
73645f341e | ||
|
|
f626ce246d | ||
|
|
b41f84a72c | ||
|
|
dceca557c3 | ||
|
|
e0e0f1f7ee | ||
|
|
c4c8c7add1 | ||
|
|
1f1184c77c | ||
|
|
2ac5e77a03 | ||
|
|
c901db770b | ||
|
|
3d4d6ddc8d | ||
|
|
d37a1e4622 | ||
|
|
4fc84a77a2 | ||
|
|
9181574bcc | ||
|
|
c86a3d3f99 | ||
|
|
232e5174ce | ||
|
|
06fc035621 | ||
|
|
722a7889fa | ||
|
|
8df52454c6 | ||
|
|
96a6711bb7 | ||
|
|
63bc5b44b7 | ||
|
|
2df0cd5d0e | ||
|
|
ee5d72bae9 | ||
|
|
b0471f609a | ||
|
|
7eb869a8ac | ||
|
|
b39ac77024 | ||
|
|
27c2ec431d | ||
|
|
d958d3568f | ||
|
|
20b2147482 | ||
|
|
1a5dea70fc | ||
|
|
4d39c5ca63 | ||
|
|
1c9fefa186 | ||
|
|
8df2ac9a00 | ||
|
|
30e01b5bc6 | ||
|
|
c509ed9b98 | ||
|
|
97b13fb90b | ||
|
|
fc2a0cf4d5 | ||
|
|
cf7f713f34 | ||
|
|
5e553abc09 | ||
|
|
78c207b1b6 | ||
|
|
ea508e51e5 | ||
|
|
bdceb70ed8 | ||
|
|
b529dcba60 | ||
|
|
ed3b8e9fb5 | ||
|
|
266fba7c2e | ||
|
|
a312124d8f | ||
|
|
e361a19da4 | ||
|
|
7f83c64b65 | ||
|
|
6ed9330dae | ||
|
|
ef5e9246c0 | ||
|
|
118419df0d | ||
|
|
15581fa935 | ||
|
|
5d90212127 | ||
|
|
7aeb066018 | ||
|
|
12fe6d8269 | ||
|
|
f5f08a158a | ||
|
|
329c4b61db | ||
|
|
692aba42c5 | ||
|
|
209b48fd52 | ||
|
|
3904c53a79 | ||
|
|
fdd3074108 | ||
|
|
78d2cb9dbe | ||
|
|
e53054392e | ||
|
|
d1500f92ca | ||
|
|
d98e0bcdb2 | ||
|
|
0079d44560 | ||
|
|
2b8ed79082 | ||
|
|
b63ab022d7 | ||
|
|
84241e4037 | ||
|
|
77b6f51609 | ||
|
|
33150c8f1b | ||
|
|
b4e5520d63 | ||
|
|
811cc8ed0f | ||
|
|
e91cf35a69 | ||
|
|
a5ad80cbc1 | ||
|
|
b2eb0a44ea | ||
|
|
42de211146 | ||
|
|
27a0af11dd | ||
|
|
cae70e9506 | ||
|
|
c793957cb1 | ||
|
|
b9d3ec89db | ||
|
|
c05c51325d | ||
|
|
4102c235d9 | ||
|
|
88773e7f1f | ||
|
|
8571a5b71e | ||
|
|
c3b80ffdca | ||
|
|
5ed2cb827f | ||
|
|
8aae3f4733 | ||
|
|
8879bca02b | ||
|
|
3df087a9d1 | ||
|
|
745d7546ee | ||
|
|
0c6b9e68f3 | ||
|
|
2599848690 | ||
|
|
4e9eda7c72 | ||
|
|
ff8162790b | ||
|
|
2d034dd1c6 | ||
|
|
a08e27a87d | ||
|
|
a42f2327e1 | ||
|
|
2ab5ea67c1 | ||
|
|
b119d39e42 | ||
|
|
c615ddf087 | ||
|
|
eac616bd35 | ||
|
|
534fd19ce0 | ||
|
|
8014b39df3 | ||
|
|
1de4bff8c4 | ||
|
|
6458689610 | ||
|
|
9bbdbaa066 | ||
|
|
f6a18417ad | ||
|
|
250e0ff647 | ||
|
|
2a01df0e23 | ||
|
|
8b2b222290 | ||
|
|
dc78e464ae | ||
|
|
72a35490a6 | ||
|
|
3f99a181c6 | ||
|
|
c6a977b572 | ||
|
|
abdadb9819 | ||
|
|
55fdac893b | ||
|
|
f8ed0462ad | ||
|
|
3a904419b4 | ||
|
|
db37b444a0 | ||
|
|
aec1a20be7 | ||
|
|
3336b784a8 | ||
|
|
7950e4ad73 | ||
|
|
3ad15c2869 | ||
|
|
91a99a0635 | ||
|
|
9607fe239d | ||
|
|
40d5361600 | ||
|
|
07a4cdef0d | ||
|
|
d59d641659 | ||
|
|
2b2ba583bc | ||
|
|
21c9f3a5d2 | ||
|
|
f5f7fb74e7 | ||
|
|
6b8631e393 | ||
|
|
1905ebd3fb | ||
|
|
8a3e8bf895 | ||
|
|
d5fc8a9374 | ||
|
|
1cbaae85fb | ||
|
|
80eeba2146 | ||
|
|
c7c8d13df8 | ||
|
|
fd4b26341c | ||
|
|
1a224d7e84 | ||
|
|
415a8c2df3 | ||
|
|
6b42371f72 | ||
|
|
1d9ef5a9c1 | ||
|
|
aafeb10a57 | ||
|
|
82b0d8cab9 | ||
|
|
3ca47ea8e3 | ||
|
|
d2f3e0c097 | ||
|
|
3b3343d28d | ||
|
|
add7504fce | ||
|
|
dff74da0db | ||
|
|
45f095ea8c | ||
|
|
db62fb95bb | ||
|
|
d69335cb69 | ||
|
|
ee22a9c00c | ||
|
|
0b4dd5958b | ||
|
|
da8521bafa | ||
|
|
b773ad0ff9 | ||
|
|
fa2c69cad8 | ||
|
|
098f03f685 |
@@ -1 +0,0 @@
|
||||
d6afc629dc9311ebd79b4cedb2775531065ecb05
|
||||
2
Makefile
2
Makefile
@@ -18,6 +18,8 @@ install:
|
||||
install -m 644 custom/* $(DATADIR)/$(name)/custom
|
||||
mkdir -p -m 755 $(DATADIR)/$(name)/l10n
|
||||
install -m 644 l10n/* $(DATADIR)/$(name)/l10n
|
||||
mkdir -p -m 755 $(DATADIR)/$(name)/snippets
|
||||
install -m 644 snippets/* $(DATADIR)/$(name)/snippets
|
||||
|
||||
clean:
|
||||
rm -f $(name)-*.tar.gz
|
||||
|
||||
23
README
23
README
@@ -1,23 +0,0 @@
|
||||
The master branch is where development takes place:
|
||||
- it may contain kickstart files that are broken, or
|
||||
- spin concepts that are in the process of being
|
||||
approved by the Board (trademark approval), or
|
||||
- spin concepts that are in the process of being
|
||||
approved by the Spins SIG
|
||||
|
||||
The release specific branches contain spin concepts that:
|
||||
- are approved (both by Board and Spin SIG)
|
||||
- maintained for the remainder of the release cycle
|
||||
|
||||
git clone ssh://git.fedorahosted.org/git/spin-kickstarts.git spin-kickstarts
|
||||
cd spin-kickstarts
|
||||
# If you need a specific branch other than master:
|
||||
git checkout BRANCHNAME
|
||||
# No tag has been added yet tag HEAD with
|
||||
git tag VERSION
|
||||
git push --tags
|
||||
make
|
||||
# Publish the released tar ball
|
||||
make publish
|
||||
# Clean up the generated files:
|
||||
make clean
|
||||
31
README.md
Normal file
31
README.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# fedora-kickstarts #
|
||||
|
||||
This project is used to manage the Fedora kickstart files used in composing Fedora release images.
|
||||
|
||||
The master branch is used by rawhide and each release branch is used by that release.
|
||||
|
||||
All changes should be made via the PR workflow.
|
||||
|
||||
This project is packaged in Fedora as the spin-kickstarts package allowing users to see
|
||||
and modify the kickstart files for their local needs.
|
||||
|
||||
## To make a release ##
|
||||
|
||||
* git clone ssh://git@pagure.io/fedora-kickstarts.git fedora-kickstarts
|
||||
* cd fedora-kickstarts
|
||||
* # If you need a specific branch other than master:
|
||||
* git checkout BRANCHNAME
|
||||
* # No tag has been added yet tag HEAD with
|
||||
* git tag VERSION
|
||||
* git push --tags
|
||||
* make
|
||||
* # Publish the released tar ball
|
||||
* make publish
|
||||
* # Clean up the generated files:
|
||||
* make clean
|
||||
|
||||
# bug reports #
|
||||
|
||||
Bugs should be reported to the spin-kickstarts bugzilla component:
|
||||
|
||||
https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=spin-kickstarts
|
||||
@@ -9,7 +9,6 @@ selinux --permissive
|
||||
firewall --disabled
|
||||
bootloader --timeout=1 --append="acpi=force"
|
||||
network --bootproto=dhcp --device=eth0 --onboot=on
|
||||
services --enabled=network
|
||||
|
||||
# Uncomment the next line
|
||||
# to make the root password be thincrust
|
||||
@@ -95,5 +94,9 @@ generic-logos
|
||||
#
|
||||
%post
|
||||
|
||||
# Enable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network on
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -7,14 +7,15 @@ firewall --enabled --service=mdns,ssh
|
||||
# configure extlinux bootloader
|
||||
bootloader extlinux
|
||||
|
||||
part /boot --size=300 --fstype ext3
|
||||
part swap --size=512 --fstype swap
|
||||
part / --size=3000 --fstype ext4
|
||||
part /boot/fw --size=30 --fstype vfat --asprimary
|
||||
part /boot --size=512 --fstype ext4 --asprimary
|
||||
part swap --size=512 --fstype swap --asprimary
|
||||
part / --size=3584 --fstype ext4 --asprimary
|
||||
|
||||
# make sure that initial-setup runs and lets us do all the configuration bits
|
||||
firstboot --reconfig
|
||||
|
||||
services --enabled=ssh,NetworkManager,avahi-daemon,rsyslog,chronyd --disabled=network
|
||||
services --enabled=sshd,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setup
|
||||
|
||||
%include fedora-repo.ks
|
||||
|
||||
@@ -25,12 +26,13 @@ services --enabled=ssh,NetworkManager,avahi-daemon,rsyslog,chronyd --disabled=ne
|
||||
@dial-up
|
||||
|
||||
kernel
|
||||
|
||||
dracut-config-generic
|
||||
|
||||
# install tools needed to manage and boot arm systems
|
||||
@arm-tools
|
||||
rng-tools
|
||||
chrony
|
||||
arm-boot-config
|
||||
extlinux-bootloader
|
||||
bcm283x-firmware
|
||||
initial-setup
|
||||
initial-setup-gui
|
||||
#lets resize / on first boot
|
||||
@@ -39,13 +41,26 @@ initial-setup-gui
|
||||
# remove this in %post
|
||||
dracut-config-generic
|
||||
|
||||
# install uboot images
|
||||
uboot-images-armv7
|
||||
# make sure all the locales are available for inital0-setup and anaconda to work
|
||||
glibc-all-langpacks
|
||||
|
||||
# workaround for consequence of RHBZ #1324623: without this, with
|
||||
# yum-based creation tools, compose fails due to conflict between
|
||||
# libcrypt and libcrypt-nss. dnf does not seem to have the same
|
||||
# issue, so this may be dropped when appliance-creator is ported
|
||||
# to dnf.
|
||||
libcrypt-nss
|
||||
-libcrypt
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
# Setup Raspberry Pi firmware
|
||||
cp -Pr /usr/share/bcm283x-firmware/* /boot/fw/
|
||||
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/fw/rpi2-u-boot.bin
|
||||
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/fw/rpi3-u-boot.bin
|
||||
sed -i '/vfat/ d' /etc/fstab
|
||||
|
||||
# work around for poor key import UI in PackageKit
|
||||
rm -f /var/lib/rpm/__db*
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||
@@ -56,14 +71,23 @@ rpm -qa
|
||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
# remove random seed, the newly installed instance should make it's own
|
||||
rm -f /var/lib/systemd/random-seed
|
||||
|
||||
# Because memory is scarce resource in most arm systems we are differing from the Fedora
|
||||
# default of having /tmp on tmpfs.
|
||||
echo "Disabling tmpfs for /tmp."
|
||||
systemctl mask tmp.mount
|
||||
|
||||
/usr/sbin/a-b-c
|
||||
dnf -y remove dracut-config-generic
|
||||
|
||||
yum -y remove dracut-config-generic
|
||||
# Disable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network off
|
||||
|
||||
# Remove machine-id on pre generated images
|
||||
rm -f /etc/machine-id
|
||||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -2,11 +2,8 @@
|
||||
%include fedora-arm-xbase.ks
|
||||
%include fedora-kde-packages.ks
|
||||
|
||||
part / --size=5000 --fstype ext4
|
||||
part / --size=5632 --fstype ext4
|
||||
|
||||
%post
|
||||
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
|
||||
echo .
|
||||
|
||||
%end
|
||||
|
||||
@@ -3,8 +3,5 @@
|
||||
%include fedora-lxde-packages.ks
|
||||
|
||||
%post
|
||||
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
|
||||
echo .
|
||||
|
||||
%end
|
||||
|
||||
@@ -2,11 +2,8 @@
|
||||
%include fedora-arm-xbase.ks
|
||||
%include fedora-mate-packages.ks
|
||||
|
||||
part / --size=5000 --fstype ext4
|
||||
part / --size=5500 --fstype ext4
|
||||
|
||||
%post
|
||||
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
|
||||
echo .
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,13 +1,17 @@
|
||||
%include fedora-arm-base.ks
|
||||
|
||||
part swap --size=256 --fstype swap
|
||||
part / --size=1200 --fstype ext4
|
||||
part / --size=1279 --fstype ext4
|
||||
|
||||
%packages
|
||||
-@standard
|
||||
-@dial-up
|
||||
-initial-setup-gui
|
||||
-generic-release*
|
||||
-glibc-all-langpacks
|
||||
glibc-langpack-en
|
||||
iw
|
||||
NetworkManager-wifi
|
||||
%end
|
||||
|
||||
%post
|
||||
@@ -18,9 +22,5 @@ rm -f /etc/systemd/system/default.target
|
||||
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||
echo .
|
||||
|
||||
echo -n "Enabling initial-setup text mode on startup"
|
||||
ln -s /usr/lib/systemd/system/initial-setup-text.service /etc/systemd/system/multi-user.target.wants/initial-setup-text.service
|
||||
echo .
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -23,9 +23,5 @@ rm -f /etc/systemd/system/default.target
|
||||
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||
echo .
|
||||
|
||||
echo -n "Enabling initial-setup text mode on startup"
|
||||
ln -s /usr/lib/systemd/system/initial-setup-text.service /etc/systemd/system/multi-user.target.wants/initial-setup-text.service
|
||||
echo .
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -3,8 +3,5 @@
|
||||
%include fedora-soas-packages.ks
|
||||
|
||||
%post
|
||||
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
|
||||
echo .
|
||||
|
||||
%end
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%include fedora-arm-xbase.ks
|
||||
%include fedora-workstation-packages.ks
|
||||
|
||||
part / --size=5000 --fstype ext4
|
||||
part / --size=5500 --fstype ext4
|
||||
|
||||
%packages
|
||||
-initial-setup
|
||||
@@ -10,3 +10,8 @@ part / --size=5000 --fstype ext4
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
# Most of the ARM X accelerated drivers need some level of CMA allocation
|
||||
sed -i 's/\(append .*\)/\1 cma=256MB/' /boot/extlinux/extlinux.conf
|
||||
|
||||
%end
|
||||
|
||||
@@ -6,3 +6,11 @@
|
||||
@printing
|
||||
%end
|
||||
|
||||
%post
|
||||
# Most of the ARM X accelerated drivers need some level of CMA allocation
|
||||
sed -i 's/\(append .*\)/\1 cma=192MB/' /boot/extlinux/extlinux.conf
|
||||
|
||||
# Explicitly set graphical.target as default as this is how initial-setup detects which version to run
|
||||
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
|
||||
|
||||
%end
|
||||
|
||||
@@ -5,8 +5,5 @@
|
||||
part / --size=4000 --fstype ext4
|
||||
|
||||
%post
|
||||
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
|
||||
echo .
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,13 +1,20 @@
|
||||
# Like the Atomic cloud image, but tuned for vagrant. Enable
|
||||
# the vagrant user, disable cloud-init.
|
||||
|
||||
%include fedora-cloud-atomic.ks
|
||||
%include fedora-atomic.ks
|
||||
|
||||
services --disabled=cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
user --name=vagrant --password=vagrant
|
||||
rootpw vagrant
|
||||
|
||||
# The addition of the net.ifnames=0 and biosdevnames=0 option ensures that
|
||||
# even on VirtualBox virt, we get a primary network device with "eth0" as the name
|
||||
# This simplifies things and allows a single disk image for both supported Vagrant
|
||||
# platforms (virtualbox and kvm)
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0"
|
||||
|
||||
|
||||
%post --erroronfail
|
||||
|
||||
# Work around cloud-init being both disabled and enabled; need
|
||||
@@ -18,11 +18,10 @@ user --name=none
|
||||
|
||||
firewall --disabled
|
||||
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0"
|
||||
|
||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||
services --disabled=network
|
||||
services --enabled=sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
zerombr
|
||||
clearpart --all
|
||||
@@ -33,14 +32,14 @@ volgroup atomicos pv.01
|
||||
logvol / --size=3000 --fstype="xfs" --name=root --vgname=atomicos
|
||||
|
||||
# Equivalent of %include fedora-repo.ks
|
||||
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=http://kojipkgs.fedoraproject.org/mash/atomic/rawhide/ --ref=fedora-atomic/rawhide/x86_64/docker-host
|
||||
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/25/ --ref=fedora-atomic/25/x86_64/docker-host
|
||||
|
||||
reboot
|
||||
|
||||
%post --erroronfail
|
||||
# See https://github.com/projectatomic/rpm-ostree/issues/42
|
||||
ostree remote delete fedora-atomic
|
||||
ostree remote add --set=gpg-verify=false fedora-atomic 'https://dl.fedoraproject.org/pub/fedora/linux/atomic/rawhide/'
|
||||
ostree remote add --set=gpg-verify=false fedora-atomic 'https://dl.fedoraproject.org/pub/fedora/linux/atomic/25/'
|
||||
|
||||
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||
@@ -122,5 +121,15 @@ 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.)"
|
||||
|
||||
# For trac ticket https://fedorahosted.org/cloud/ticket/128
|
||||
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
|
||||
|
||||
echo "Adding Developer Mode GRUB2 menu item."
|
||||
/usr/libexec/atomic-devmode/bootentry add
|
||||
|
||||
# enable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network off
|
||||
|
||||
%end
|
||||
|
||||
@@ -18,8 +18,12 @@ hexchat
|
||||
transmission
|
||||
parole
|
||||
|
||||
# unlock default keyring. FIXME: Should probably be done in comps
|
||||
gnome-keyring-pam
|
||||
# make sure we have a graphical installer
|
||||
yumex-dnf
|
||||
|
||||
# extra backgrounds
|
||||
desktop-backgrounds-basic
|
||||
f24-backgrounds-extras-gnome
|
||||
|
||||
# save some space
|
||||
-fedora-icon-theme
|
||||
|
||||
@@ -14,7 +14,7 @@ network --bootproto=dhcp --device=link --activate
|
||||
part / --fstype="ext4" --size=6000
|
||||
part /boot --size=500 --fstype="ext4"
|
||||
shutdown
|
||||
services --disabled=docker-storage-setup,network
|
||||
services --disabled=docker-storage-setup
|
||||
services --enabled=NetworkManager,sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=http://kojipkgs.fedoraproject.org/mash/atomic/22/ --ref=fedora-atomic/f22/x86_64/docker-host
|
||||
@@ -28,4 +28,9 @@ userdel -r none
|
||||
# We copy content of separate /boot partition to root part when building live squashfs image,
|
||||
# and we don't want systemd to try to mount it when pxe booting
|
||||
cat /dev/null > /etc/fstab
|
||||
|
||||
# Disable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network off
|
||||
|
||||
%end
|
||||
|
||||
12
fedora-cloud-base-arm.ks
Normal file
12
fedora-cloud-base-arm.ks
Normal file
@@ -0,0 +1,12 @@
|
||||
%include fedora-cloud-base.ks
|
||||
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyAMA0,115200n8"
|
||||
|
||||
part /boot --fstype="ext4" --size=500
|
||||
part /boot/efi --fstype="vfat" --size=100
|
||||
|
||||
%packages
|
||||
efibootmgr
|
||||
grub2-efi
|
||||
shim
|
||||
%end
|
||||
10
fedora-cloud-base-ppc.ks
Normal file
10
fedora-cloud-base-ppc.ks
Normal file
@@ -0,0 +1,10 @@
|
||||
%include fedora-cloud-base.ks
|
||||
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
|
||||
part prepboot --fstype="prepboot" --size=4
|
||||
part /boot --fstype="ext4" --size=500
|
||||
|
||||
%packages
|
||||
grub2
|
||||
%end
|
||||
@@ -19,7 +19,7 @@ rootpw vagrant
|
||||
# even on VirtualBox virt, we get a primary network device with "eth0" as the name
|
||||
# This simplifies things and allows a single disk image for both supported Vagrant
|
||||
# platforms (virtualbox and kvm)
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0"
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0" --extlinux
|
||||
|
||||
%packages
|
||||
# The default koji Vagrantfile configuration uses rsync to sync files between
|
||||
|
||||
@@ -39,11 +39,17 @@ firewall --disabled
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
|
||||
|
||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
zerombr
|
||||
clearpart --all
|
||||
part / --size 3000 --fstype ext4 --grow
|
||||
#
|
||||
# We need to disable 64bit options here or extlinux won't work.
|
||||
# See: http://www.syslinux.org/wiki/index.php/Filesystem#ext4
|
||||
# and
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1369934
|
||||
#
|
||||
part / --fstype ext4 --grow --mkfsoptions="-O ^64bit"
|
||||
|
||||
%include fedora-repo.ks
|
||||
|
||||
@@ -61,6 +67,11 @@ reboot
|
||||
|
||||
kernel-core
|
||||
@^cloud-server-environment
|
||||
# Need to pull in the udev subpackage
|
||||
systemd-udev
|
||||
|
||||
# after move away from grub2 - let's add 'which' back
|
||||
which
|
||||
|
||||
# rescue mode generally isn't useful in the cloud context
|
||||
-dracut-config-rescue
|
||||
@@ -242,7 +253,6 @@ rm -f /var/lib/rpm/__db*
|
||||
# <https://bugzilla.redhat.com/show_bug.cgi?id=1015931>
|
||||
dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
||||
|
||||
|
||||
# FIXME: is this still needed?
|
||||
echo "Fixing SELinux contexts."
|
||||
touch /var/log/cron
|
||||
@@ -260,5 +270,13 @@ echo "(Don't worry -- that out-of-space error was expected.)"
|
||||
# For trac ticket https://fedorahosted.org/cloud/ticket/128
|
||||
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
|
||||
|
||||
# Enable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network on
|
||||
|
||||
# Remove machine-id on pre generated images
|
||||
rm -f /etc/machine-id
|
||||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ firewall --disabled
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
|
||||
|
||||
network --bootproto=dhcp --device=eth0 --activate --onboot=on
|
||||
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
zerombr
|
||||
clearpart --all
|
||||
@@ -219,5 +219,9 @@ 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.)"
|
||||
|
||||
# Enable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network on
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ firewall --disabled
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
|
||||
|
||||
network --bootproto=dhcp --device=eth0 --activate --onboot=on
|
||||
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
zerombr
|
||||
clearpart --all
|
||||
@@ -211,5 +211,9 @@ 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.)"
|
||||
|
||||
# Enable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network on
|
||||
|
||||
%end
|
||||
|
||||
|
||||
6
fedora-docker-base-arm.ks
Normal file
6
fedora-docker-base-arm.ks
Normal file
@@ -0,0 +1,6 @@
|
||||
%include fedora-docker-base.ks
|
||||
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
|
||||
part /boot --fstype="ext4" --size=500
|
||||
part /boot/efi --fstype="vfat" --size=100
|
||||
5
fedora-docker-base-ppc.ks
Normal file
5
fedora-docker-base-ppc.ks
Normal file
@@ -0,0 +1,5 @@
|
||||
%include fedora-docker-base.ks
|
||||
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
|
||||
part prepboot --fstype="prepboot" --size=4
|
||||
@@ -1,4 +1,4 @@
|
||||
# This is a minimal Fedora install designed to serve as a Docker base image.
|
||||
# This is a minimal Fedora install designed to serve as a Docker base image.
|
||||
#
|
||||
# To keep this image minimal it only installs English language. You need to change
|
||||
# yum configuration in order to enable other languages.
|
||||
@@ -9,9 +9,9 @@
|
||||
#
|
||||
# To do so, testing local changes, first you'll need a TDL file. I store one here:
|
||||
# https://git.fedorahosted.org/cgit/fedora-atomic.git/tree/fedora-atomic-rawhide.tdl
|
||||
#
|
||||
#
|
||||
# Then, once you have imagefactory and imagefactory-plugins installed, run:
|
||||
#
|
||||
#
|
||||
# imagefactory --debug target_image --template /path/to/fedora-atomic-rawhide.tdl --parameter offline_icicle true --file-parameter install_script $(pwd)/fedora-docker-base.ks docker
|
||||
#
|
||||
|
||||
@@ -24,7 +24,7 @@ user --name=none
|
||||
keyboard us
|
||||
zerombr
|
||||
clearpart --all
|
||||
part / --size 3000 --fstype ext4
|
||||
part / --fstype ext4 --grow
|
||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||
reboot
|
||||
|
||||
@@ -35,6 +35,7 @@ rootfiles
|
||||
vim-minimal
|
||||
dnf
|
||||
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
|
||||
sssd-client
|
||||
#fakesystemd #TODO: waiting for review https://bugzilla.redhat.com/show_bug.cgi?id=1118740
|
||||
-kernel
|
||||
|
||||
@@ -42,6 +43,9 @@ dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
|
||||
%end
|
||||
|
||||
%post --log=/tmp/anaconda-post.log
|
||||
|
||||
set -e
|
||||
|
||||
# Set the language rpm nodocs transaction flag persistently in the
|
||||
# image yum.conf and rpm macros
|
||||
|
||||
@@ -67,6 +71,7 @@ releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||
basearch=$(uname -i)
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
|
||||
echo "# fstab intentionally empty for containers" > /etc/fstab
|
||||
rm -f /usr/lib/locale/locale-archive
|
||||
|
||||
#Setup locale properly
|
||||
@@ -75,13 +80,15 @@ localedef -v -c -i en_US -f UTF-8 en_US.UTF-8
|
||||
rm -rf /var/cache/yum/*
|
||||
rm -f /tmp/ks-script*
|
||||
|
||||
#Make it easier for systemd to run in Docker container
|
||||
cp /usr/lib/systemd/system/dbus.service /etc/systemd/system/
|
||||
sed -i 's/OOMScoreAdjust=-900//' /etc/systemd/system/dbus.service
|
||||
|
||||
#Mask mount units and getty service so that we don't get login prompt
|
||||
systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service
|
||||
|
||||
# Fix /run/lock breakage since it's not tmpfs in docker
|
||||
umount /run
|
||||
systemd-tmpfiles --create --boot
|
||||
|
||||
# Remove machine-id on pre generated images
|
||||
rm -f /etc/machine-id
|
||||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,93 +0,0 @@
|
||||
# Kickstart file for composing the "Fedora Cloud" spin of Fedora (rawhide)
|
||||
# Maintained by the Fedora Release Engineering team:
|
||||
# https://fedoraproject.org/wiki/ReleaseEngineering
|
||||
# mailto:rel-eng@lists.fedoraproject.org
|
||||
|
||||
# Use a part of 'iso' to define how large you want your isos.
|
||||
# Only used when composing to more than one iso.
|
||||
# Default is 695 (megs), CD size.
|
||||
# Listed below is the size of a DVD if you wanted to split higher.
|
||||
#part iso --size=4998
|
||||
|
||||
# Add the repos you wish to use to compose here. At least one of them needs group data.
|
||||
|
||||
# Only uncomment repo commands in one of the two following sections.
|
||||
# Because the install kickstart doesn't use the updates repo and does
|
||||
# use the source repo, we can't just include fedora-repo.ks
|
||||
|
||||
# In the master branch the rawhide repo commands should be uncommented.
|
||||
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||
|
||||
# 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 --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||
|
||||
# Package manifest for the compose. Uses repo group metadata to translate groups.
|
||||
# (default groups for the configured repos are added by --default)
|
||||
# @base got renamed to @standard, but @base is still included by default by pungi.
|
||||
%packages --default
|
||||
|
||||
# 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
|
||||
# an exclusion list to cut out things we don't want
|
||||
|
||||
-kernel*debug*
|
||||
-kernel-kdump*
|
||||
-kernel-tools*
|
||||
-syslog-ng*
|
||||
-astronomy-bookmarks
|
||||
# generic* would match generic-jms-ra, so don't 'simplify' this
|
||||
-generic-logos*
|
||||
-generic-release*
|
||||
-GConf2-dbus*
|
||||
-bluez-gnome
|
||||
-community-mysql*
|
||||
# jruby used to be in this list, but springframework-context explicitly
|
||||
# requires it, not just 'any ruby implemention' - please check for things
|
||||
# on the image that require mvn(org.jruby:jruby) before adding jruby to
|
||||
# this list again - adamw 2014/09
|
||||
#-jruby
|
||||
|
||||
# core
|
||||
kernel*
|
||||
dracut-*
|
||||
|
||||
|
||||
# Things needed for installation
|
||||
@anaconda-tools
|
||||
fedora-productimg-cloud
|
||||
-fedora-productimg-server
|
||||
-fedora-productimg-workstation
|
||||
|
||||
# Packages to enable server images to run in cloud environments
|
||||
@cloud-server
|
||||
@core
|
||||
@standard
|
||||
@headless-management
|
||||
@dogtag
|
||||
@directory-server
|
||||
@dns-server
|
||||
@freeipa-server
|
||||
@ftp-server
|
||||
@guest-agents
|
||||
@ha
|
||||
@load-balancer
|
||||
@mail-server
|
||||
@mysql
|
||||
@network-server
|
||||
@smb-server
|
||||
@sql-server
|
||||
@web-server
|
||||
|
||||
# Langpacks
|
||||
autocorr-*
|
||||
hunspell-*
|
||||
hyphen-*
|
||||
man-pages-*
|
||||
-gimp-help-*
|
||||
|
||||
# Removals
|
||||
-PackageKit-zif
|
||||
-zif
|
||||
%end
|
||||
@@ -1,136 +0,0 @@
|
||||
# Kickstart file for composing the "Fedora" spin of Fedora (rawhide)
|
||||
# Maintained by the Fedora Release Engineering team:
|
||||
# https://fedoraproject.org/wiki/ReleaseEngineering
|
||||
# mailto:rel-eng@lists.fedoraproject.org
|
||||
|
||||
# Use a part of 'iso' to define how large you want your isos.
|
||||
# Only used when composing to more than one iso.
|
||||
# Default is 695 (megs), CD size.
|
||||
# Listed below is the size of a DVD if you wanted to split higher.
|
||||
#part iso --size=4998
|
||||
|
||||
# Add the repos you wish to use to compose here. At least one of them needs group data.
|
||||
|
||||
# Only uncomment repo commands in one of the two following sections.
|
||||
# Because the install kickstart doesn't use the updates repo and does
|
||||
# use the source repo, we can't just include fedora-repo.ks
|
||||
|
||||
# In the master branch the rawhide repo commands should be uncommented.
|
||||
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||
|
||||
# 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 --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||
|
||||
# Package manifest for the compose. Uses repo group metadata to translate groups.
|
||||
# (default groups for the configured repos are added by --default)
|
||||
# @base got renamed to @standard, but @base is still included by default by pungi.
|
||||
%packages --default
|
||||
|
||||
-fedora-productimg-cloud
|
||||
fedora-productimg-server
|
||||
-fedora-productimg-workstation
|
||||
|
||||
# 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
|
||||
# an exclusion list to cut out things we don't want
|
||||
|
||||
-kernel*debug*
|
||||
-kernel-kdump*
|
||||
-kernel-tools*
|
||||
-syslog-ng*
|
||||
-astronomy-bookmarks
|
||||
-generic-logos*
|
||||
-generic-release*
|
||||
-GConf2-dbus*
|
||||
-bluez-gnome
|
||||
-community-mysql*
|
||||
|
||||
# core
|
||||
kernel*
|
||||
dracut-*
|
||||
|
||||
# No desktops
|
||||
-cinnamon*
|
||||
-enlightenment*
|
||||
-gnome-shell
|
||||
-gnome-session
|
||||
-kde*
|
||||
-lightdm-kde
|
||||
-lightdm-razorqt
|
||||
# Pulls in qt
|
||||
-oprofile-gui
|
||||
|
||||
-@legacy-fonts
|
||||
|
||||
-@multimedia
|
||||
|
||||
## common stuff
|
||||
@guest-agents
|
||||
@standard
|
||||
@core
|
||||
@hardware-support
|
||||
@networkmanager-submodules
|
||||
|
||||
# Fedora Server.
|
||||
# Including this causes the fedora-release-server package to be included,
|
||||
# which in turn enables server-product-environment, and due to to its priority
|
||||
# this will be the default environment.
|
||||
@^server-product-environment
|
||||
@server-product
|
||||
@headless-management
|
||||
@container-management
|
||||
@domain-client
|
||||
@server-hardware-support
|
||||
|
||||
# Common server packages
|
||||
@mysql
|
||||
@sql-server
|
||||
@web-server
|
||||
|
||||
# Web Server environment
|
||||
@haproxy
|
||||
@mongodb
|
||||
@perl-web
|
||||
@python-web
|
||||
@php
|
||||
@rubyonrails
|
||||
@tomcat
|
||||
|
||||
# Infrastructure Server
|
||||
@directory-server
|
||||
@dogtag
|
||||
@dns-server
|
||||
@freeipa-server
|
||||
@ftp-server
|
||||
@mail-server
|
||||
@network-server
|
||||
@printing
|
||||
@smb-server
|
||||
@virtualization-headless
|
||||
@load-balancer
|
||||
@ha
|
||||
|
||||
@javaenterprise
|
||||
|
||||
# “uservisible” groups we want to offer
|
||||
@editors
|
||||
@network-server
|
||||
@system-tools
|
||||
@text-internet
|
||||
|
||||
# Things needed for installation
|
||||
@anaconda-tools
|
||||
fedora-productimg-server
|
||||
|
||||
# Langpacks
|
||||
autocorr-*
|
||||
hunspell-*
|
||||
man-pages-*
|
||||
-gimp-help-*
|
||||
|
||||
# Removals
|
||||
-PackageKit-zif
|
||||
-zif
|
||||
%end
|
||||
@@ -1,51 +0,0 @@
|
||||
# Kickstart file for composing the "Fedora" spin of Fedora (rawhide)
|
||||
# Maintained by the Fedora Release Engineering team:
|
||||
# https://fedoraproject.org/wiki/ReleaseEngineering
|
||||
# mailto:rel-eng@lists.fedoraproject.org
|
||||
|
||||
# Use a part of 'iso' to define how large you want your isos.
|
||||
# Only used when composing to more than one iso.
|
||||
# Default is 695 (megs), CD size.
|
||||
# Listed below is the size of a DVD if you wanted to split higher.
|
||||
#part iso --size=4998
|
||||
|
||||
# Add the repos you wish to use to compose here. At least one of them needs group data.
|
||||
|
||||
# Only uncomment repo commands in one of the two following sections.
|
||||
# Because the install kickstart doesn't use the updates repo and does
|
||||
# use the source repo, we can't just include fedora-repo.ks
|
||||
|
||||
# In the master branch the rawhide repo commands should be uncommented.
|
||||
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||
|
||||
# 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 --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||
|
||||
%include fedora-workstation-packages.ks
|
||||
|
||||
# Package manifest for the compose. Uses repo group metadata to translate groups.
|
||||
# (default groups for the configured repos are added by --default)
|
||||
# @base got renamed to @standard, but @base is still included by default by pungi.
|
||||
%packages --default
|
||||
|
||||
# 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
|
||||
# an exclusion list to cut out things we don't want
|
||||
-kernel*debug*
|
||||
-kernel-kdump*
|
||||
-kernel-tools*
|
||||
-astronomy-bookmarks
|
||||
-generic*
|
||||
|
||||
# core
|
||||
kernel*
|
||||
|
||||
# Things needed for installation
|
||||
@anaconda-tools
|
||||
-fedora-productimg-cloud
|
||||
-fedora-productimg-server
|
||||
fedora-productimg-workstation
|
||||
|
||||
%end
|
||||
@@ -1,4 +1,5 @@
|
||||
%packages
|
||||
@firefox
|
||||
@kde-apps
|
||||
@kde-desktop
|
||||
@kde-media
|
||||
@@ -9,7 +10,7 @@
|
||||
### The KDE-Desktop
|
||||
|
||||
### Browser
|
||||
firefox
|
||||
qupzilla
|
||||
|
||||
### fixes
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
%include fedora-live-kde.ks
|
||||
|
||||
# The recommended part size for DVDs is too close to use for the astronomy spin
|
||||
part / --size 12288
|
||||
part / --size 14500
|
||||
|
||||
%packages
|
||||
|
||||
@@ -42,55 +42,18 @@ indi-apogee
|
||||
indi-eqmod
|
||||
indi-gphoto
|
||||
indi-sx
|
||||
indistarter
|
||||
kstars
|
||||
skychart
|
||||
skychart-data-dso
|
||||
skychart-data-stars
|
||||
stellarium
|
||||
|
||||
# misc. astronomy
|
||||
celestia
|
||||
xvarstar
|
||||
virtualplanet
|
||||
|
||||
# Some astro environment stuff
|
||||
astronomy-bookmarks
|
||||
astronomy-menus
|
||||
astronomy-menus-toplevel
|
||||
|
||||
#Devel tools
|
||||
|
||||
#Install the mandatory packages from dev-tools and dev-libs
|
||||
# C/C++ compiler, gdb, autotools, bison, flex, make, strace..
|
||||
@development-tools
|
||||
@development-libs
|
||||
@c-development
|
||||
@rpm-development-tools
|
||||
# for astronomy
|
||||
cfitsio-devel
|
||||
CCfits-devel
|
||||
libnova-devel
|
||||
wcslib-devel
|
||||
|
||||
|
||||
#python 2 tools/libraries not included from the groups
|
||||
python-tools
|
||||
python-ipython
|
||||
python-ipython-console
|
||||
python-ipython-notebook
|
||||
sympy
|
||||
python-networkx
|
||||
python-pandas
|
||||
# Python astronomy
|
||||
astropy-tools
|
||||
python-astropy
|
||||
python-astroML
|
||||
python-photutils
|
||||
python-sep
|
||||
pyephem
|
||||
APLpy
|
||||
ATpy
|
||||
|
||||
|
||||
#python 3 and tools/libraries not included from the groups
|
||||
python3
|
||||
python3-tools
|
||||
@@ -103,26 +66,37 @@ python3-ipython-notebook
|
||||
python3-sympy
|
||||
python3-networkx
|
||||
python3-pandas
|
||||
python3-pillow
|
||||
python3-seaborn
|
||||
python3-statsmodels
|
||||
python3-scikit-learn
|
||||
python3-scikit-image
|
||||
# Python 3 astronomy
|
||||
astropy-tools
|
||||
ginga
|
||||
python3-astropy
|
||||
python3-astroML
|
||||
python3-astroML-addons
|
||||
python3-astroquery
|
||||
python3-astroscrappy
|
||||
python3-APLpy
|
||||
python3-ATpy
|
||||
python3-ccdproc
|
||||
python3-fitsio
|
||||
python3-gatspy
|
||||
python3-photutils
|
||||
python3-pyvo
|
||||
python3-reproject
|
||||
python3-sep
|
||||
|
||||
# matplotlib backends
|
||||
python-matplotlib-qt4
|
||||
python-matplotlib-qt5
|
||||
python-matplotlib-tk
|
||||
python3-matplotlib-qt4
|
||||
python3-matplotlib-qt5
|
||||
python3-matplotlib-tk
|
||||
|
||||
|
||||
# Python IDE very useful for scientific use
|
||||
spyder
|
||||
|
||||
python3-spyder
|
||||
|
||||
#Version control- a GUI for each as well
|
||||
|
||||
@@ -130,28 +104,24 @@ spyder
|
||||
rapidsvn
|
||||
git
|
||||
git-gui
|
||||
# Mercurial
|
||||
mercurial
|
||||
mercurial-hgk
|
||||
|
||||
#Backup Utilities
|
||||
backintime-kde
|
||||
|
||||
#Drawing, Picture viewing tools, Visualization tools
|
||||
dia
|
||||
gimp
|
||||
inkscape
|
||||
kst
|
||||
kst-docs
|
||||
kst-fits
|
||||
scidavis
|
||||
LabPlot
|
||||
|
||||
#Misc. Utils
|
||||
# icedtea-web to have webstart useful for VO tools
|
||||
icedtea-web
|
||||
ImageMagick
|
||||
kate
|
||||
kate-plugins
|
||||
rlwrap
|
||||
screen
|
||||
plasma-applet-redshift-control
|
||||
|
||||
# Omit KDE 4 translations for now: https://bugzilla.redhat.com/show_bug.cgi?id=1197940
|
||||
-kde-l10n-*
|
||||
|
||||
@@ -14,8 +14,12 @@ auth --useshadow --passalgo=sha512
|
||||
selinux --enforcing
|
||||
firewall --enabled --service=mdns
|
||||
xconfig --startxonboot
|
||||
part / --size 4096 --fstype ext4
|
||||
services --enabled=NetworkManager,ModemManager --disabled=network,sshd
|
||||
zerombr
|
||||
clearpart --all
|
||||
part / --size 5120 --fstype ext4
|
||||
services --enabled=NetworkManager,ModemManager --disabled=sshd
|
||||
network --bootproto=dhcp --device=link --activate
|
||||
shutdown
|
||||
|
||||
%include fedora-repo.ks
|
||||
|
||||
@@ -34,6 +38,8 @@ services --enabled=NetworkManager,ModemManager --disabled=network,sshd
|
||||
# Explicitly specified here:
|
||||
# <notting> walters: because otherwise dependency loops cause yum issues.
|
||||
kernel
|
||||
kernel-modules
|
||||
kernel-modules-extra
|
||||
|
||||
# This was added a while ago, I think it falls into the category of
|
||||
# "Diagnosis/recovery tool useful from a Live OS image". Leaving this untouched
|
||||
@@ -49,7 +55,11 @@ aajohan-comfortaa-fonts
|
||||
|
||||
# Without this, initramfs generation during live image creation fails: #1242586
|
||||
dracut-live
|
||||
grub2-efi
|
||||
syslinux
|
||||
|
||||
# anaconda needs the locales available to run for different locales
|
||||
glibc-all-langpacks
|
||||
%end
|
||||
|
||||
%post
|
||||
@@ -62,7 +72,7 @@ cat > /etc/rc.d/init.d/livesys << EOF
|
||||
# chkconfig: 345 00 99
|
||||
# description: Init script for live image.
|
||||
### BEGIN INIT INFO
|
||||
# X-Start-Before: display-manager
|
||||
# X-Start-Before: display-manager chronyd
|
||||
### END INIT INFO
|
||||
|
||||
. /etc/init.d/functions
|
||||
@@ -204,7 +214,9 @@ touch /.liveimg-configured
|
||||
|
||||
# add static hostname to work around xauth bug
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
|
||||
echo "localhost" > /etc/hostname
|
||||
# the hostname must be something else than 'localhost'
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1370222
|
||||
echo "localhost-live" > /etc/hostname
|
||||
|
||||
EOF
|
||||
|
||||
@@ -280,7 +292,6 @@ systemctl enable tmp.mount
|
||||
# note https://bugzilla.redhat.com/show_bug.cgi?id=1135475
|
||||
cat >> /etc/fstab << EOF
|
||||
vartmp /var/tmp tmpfs defaults 0 0
|
||||
varcacheyum /var/cache/yum tmpfs mode=0755,context=system_u:object_r:rpm_var_cache_t:s0 0 0
|
||||
EOF
|
||||
|
||||
# work around for poor key import UI in PackageKit
|
||||
@@ -296,23 +307,30 @@ rm -f /var/lib/rpm/__db*
|
||||
# go ahead and pre-make the man -k cache (#455968)
|
||||
/usr/bin/mandb
|
||||
|
||||
# save a little bit of space at least...
|
||||
rm -f /boot/initramfs*
|
||||
# make sure there aren't core files lying around
|
||||
rm -f /core*
|
||||
|
||||
# remove random seed, the newly installed instance should make it's own
|
||||
rm -f /var/lib/systemd/random-seed
|
||||
|
||||
# convince readahead not to collect
|
||||
# FIXME: for systemd
|
||||
|
||||
# forcibly regenerate fontconfig cache (so long as this live image has
|
||||
# fontconfig) - see #1169979
|
||||
if [ -x /usr/bin/fc-cache ] ; then
|
||||
fc-cache -f
|
||||
fi
|
||||
|
||||
echo 'File created by kickstart. See systemd-update-done.service(8).' \
|
||||
| tee /etc/.updated >/var/.updated
|
||||
|
||||
# Drop the rescue kernel and initramfs, we don't need them on the live media itself.
|
||||
# See bug 1317709
|
||||
rm -f /boot/*-rescue*
|
||||
|
||||
# Disable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network off
|
||||
|
||||
# Remove machine-id on pre generated images
|
||||
rm -f /etc/machine-id
|
||||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -324,4 +342,5 @@ if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
||||
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
||||
@@ -9,81 +9,56 @@
|
||||
|
||||
%include fedora-live-workstation.ks
|
||||
|
||||
#DVD size partition
|
||||
part / --size 8192
|
||||
# Size partition
|
||||
part / --size 14336
|
||||
|
||||
%packages
|
||||
# graphics
|
||||
blender
|
||||
#LuxRender-blender
|
||||
YafaRay-blender
|
||||
bluefish
|
||||
colord-extra-profiles
|
||||
darktable
|
||||
dia
|
||||
entangle
|
||||
fontforge
|
||||
font-manager
|
||||
gimp
|
||||
gimp-elsamuko
|
||||
gimp-*-plugin
|
||||
# Switch to groups for design suite
|
||||
@design-suite
|
||||
|
||||
# Added addons to address rhbz#1336879 from dnf
|
||||
gimp-data-extras
|
||||
gimp-dbp
|
||||
gimp-dds-plugin
|
||||
gimp-elsamuko
|
||||
gimp-fourier-plugin
|
||||
gimp-gap
|
||||
gimp-paint-studio
|
||||
gimp-help
|
||||
gimp-help-browser
|
||||
gimp-high-pass-filter
|
||||
gimp-layer-via-copy-cut
|
||||
gimp-lensfun
|
||||
gimp-lqr-plugin
|
||||
gimp-normalmap
|
||||
gimp-paint-studio
|
||||
gimp-resynthesizer
|
||||
gimp-save-for-web
|
||||
gimp-separate+
|
||||
gpick
|
||||
GraphicsMagick
|
||||
gimp-wavelet-denoise-plugin
|
||||
gimpfx-foundry
|
||||
gmic-gimp
|
||||
hugin
|
||||
ImageMagick
|
||||
inkscape
|
||||
inkscape-psd
|
||||
inkscape-sozi
|
||||
inkscape-table
|
||||
mypaint
|
||||
nautilus-image-converter
|
||||
optipng
|
||||
phatch
|
||||
screenruler
|
||||
simple-scan
|
||||
scribus
|
||||
shutter
|
||||
synfigstudio
|
||||
xournal
|
||||
LuxRender-blender
|
||||
sane-backends-drivers-scanners
|
||||
xsane-gimp
|
||||
#YafaRay-blender
|
||||
|
||||
# office
|
||||
vym
|
||||
pdfmod
|
||||
pdfshuffler
|
||||
# Preview Gnome Photos
|
||||
gnome-photos
|
||||
|
||||
# internet
|
||||
filezilla
|
||||
sparkleshare
|
||||
sshpass
|
||||
|
||||
# audio & video
|
||||
audacity
|
||||
pitivi
|
||||
|
||||
# fonts
|
||||
aajohan-comfortaa-fonts
|
||||
adobe-source-sans-pro-fonts
|
||||
campivisivi-titillium-fonts
|
||||
lato-fonts
|
||||
open-sans-fonts
|
||||
overpass-fonts
|
||||
# Add gthumb for renaming group files
|
||||
gthumb
|
||||
|
||||
# Extra wallpapers
|
||||
f23-backgrounds-extras-base
|
||||
f23-backgrounds-extras-gnome
|
||||
f24-backgrounds-extras-base
|
||||
f24-backgrounds-extras-gnome
|
||||
|
||||
# removal of unneeded applications
|
||||
-gnome-boxes
|
||||
-gthumb
|
||||
-eog
|
||||
-gnome-photos
|
||||
-rdesktop
|
||||
|
||||
%end
|
||||
@@ -92,7 +67,7 @@ f23-backgrounds-extras-gnome
|
||||
#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', 'shotwell.desktop', 'gimp.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']
|
||||
favorite-apps=['firefox.desktop', 'shotwell.desktop', 'darktable.desktop', 'gimp.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']
|
||||
FOE
|
||||
|
||||
# Add link to lists of tutorials
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
%include fedora-live-xfce.ks
|
||||
|
||||
# The recommended part size for DVDs is too close to use for the games spin
|
||||
part / --size 10240
|
||||
part / --size 14336
|
||||
|
||||
%packages
|
||||
|
||||
@@ -35,13 +35,13 @@ armacycles-ad
|
||||
asc
|
||||
asc-music
|
||||
astromenace
|
||||
beneath-a-steel-sky-cd
|
||||
# beneath-a-steel-sky-cd scummvm games cut for size
|
||||
boswars
|
||||
btanks
|
||||
bzflag
|
||||
crossfire-client
|
||||
extremetuxracer
|
||||
flight-of-the-amazon-queen-cd
|
||||
# flight-of-the-amazon-queen-cd scummvm games cut for size
|
||||
freeciv
|
||||
freecol
|
||||
freedoom
|
||||
@@ -51,16 +51,16 @@ gl-117
|
||||
glob2
|
||||
lincity-ng
|
||||
tmw
|
||||
maniadrive
|
||||
maniadrive-music
|
||||
#maniadrive - maniadrive isn't building with php7
|
||||
#maniadrive-music
|
||||
megaglest
|
||||
nethack-vultures
|
||||
netpanzer
|
||||
#neverball #cut for size
|
||||
nogravity
|
||||
pinball
|
||||
#pinball # Would pull in fluid-soundfont-lite-patches
|
||||
scorched3d
|
||||
supertux
|
||||
# supertux # Crashing
|
||||
#supertuxkart #remove for size
|
||||
ultimatestunts
|
||||
warzone2100
|
||||
@@ -91,14 +91,14 @@ lbrickbuster2
|
||||
# liquidwar # Would pull in fluid-soundfont-lite-patches
|
||||
londonlaw
|
||||
lordsawar
|
||||
lure
|
||||
# lure scummvm games cut for size
|
||||
# machineball # Would pull in fluid-soundfont-lite-patches
|
||||
nethack
|
||||
openlierox
|
||||
pachi
|
||||
pioneers
|
||||
quarry
|
||||
Ri-li
|
||||
# Ri-li cut for size
|
||||
rogue
|
||||
# scorchwentbonkers # Would pull in fluid-soundfont-lite-patches
|
||||
seahorse-adventures
|
||||
|
||||
@@ -108,7 +108,6 @@ ladspa-vco-plugins
|
||||
#lv2 plugins
|
||||
lv2
|
||||
lv2-avw-plugins
|
||||
lv2-fil-plugins
|
||||
lv2-invada-plugins
|
||||
lv2-kn0ck0ut
|
||||
lv2-ll-plugins
|
||||
@@ -168,9 +167,6 @@ rtirq
|
||||
japa
|
||||
radium-compressor
|
||||
|
||||
#streaming
|
||||
idjc
|
||||
|
||||
# fedora jam theming (to be customized)
|
||||
kfaenza-icon-theme
|
||||
fedora-jam-backgrounds
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-kde-packages.ks
|
||||
%include snippets/packagekit-cached-metadata.ks
|
||||
|
||||
%post
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@ part / --size=6144
|
||||
# don't include these for now to fit on a cd
|
||||
-desktop-backgrounds-basic
|
||||
-kdeaccessibility*
|
||||
-kdeartwork-screensavers # screensavers are not needed on live images
|
||||
#-ktorrent # kget has also basic torrent features (~3 megs)
|
||||
-digikam # digikam has duplicate functionality with gwenview (~28 megs)
|
||||
#-amarok # ~23 megs (mysql-embedded etc.)
|
||||
@@ -31,7 +30,7 @@ part / --size=6144
|
||||
k3b # ~15 megs
|
||||
#kdeartwork # only include some parts of kdeartwork
|
||||
fuse
|
||||
liveusb-creator
|
||||
mediawriter
|
||||
|
||||
# only include kdegames-minimal
|
||||
-kdegames
|
||||
@@ -44,7 +43,7 @@ wqy-microhei-fonts # a compact CJK font, to replace:
|
||||
-naver-nanum-gothic-fonts # Korean
|
||||
-vlgothic-fonts # Japanese
|
||||
-adobe-source-han-sans-cn-fonts # simplified Chinese
|
||||
-adobe-source-han-sans-twhk-fonts # traditional Chinese
|
||||
-adobe-source-han-sans-tw-fonts # traditional Chinese
|
||||
|
||||
-paratype-pt-sans-fonts # Cyrillic (already supported by DejaVu), huge
|
||||
#-stix-fonts # mathematical symbols
|
||||
|
||||
@@ -79,7 +79,4 @@ chown -R liveuser:liveuser /home/liveuser/
|
||||
restorecon -R /home/liveuser/
|
||||
EOF
|
||||
|
||||
# This is a huge file and things work ok without it
|
||||
rm -f /usr/share/icons/HighContrast/icon-theme.cache
|
||||
|
||||
%end
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
-mpage
|
||||
-sox
|
||||
-hplip
|
||||
-hpijs
|
||||
-numactl
|
||||
-isdn4k-utils
|
||||
-autofs
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%include fedora-live-minimization.ks
|
||||
|
||||
# The recommended part size for DVDs is too close to use for the robotics spin
|
||||
part / --size 10240
|
||||
part / --size 10752
|
||||
|
||||
%packages
|
||||
# Start with GNOME
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
#fedora-livedvd-scientific-kde.ks
|
||||
# With KDE Desktop
|
||||
# Fedora Scientific with KDE Desktop
|
||||
|
||||
# Fedora Scientific: For researchers in Science and Engineering
|
||||
# Fedora-Scientific aims to create a Fedora which has the generic
|
||||
# toolset for the researcher
|
||||
# Web: https://fedoraproject.org/wiki/Scientific_Spin
|
||||
# Web: http://spins.fedoraproject.org/scientific-kde/
|
||||
# Web: https://labs.fedoraproject.org/en/scientific/
|
||||
|
||||
# Maintainer: Amit Saha <amitksaha@fedoraproject.org>
|
||||
# https://fedoraproject.org/wiki/User:Amitksaha
|
||||
@@ -13,7 +11,7 @@
|
||||
%include fedora-live-kde.ks
|
||||
|
||||
# The recommended part size for DVDs is too close to use for the scientific spin
|
||||
part / --size 12288
|
||||
part / --size 14500
|
||||
|
||||
%packages
|
||||
|
||||
@@ -25,10 +23,8 @@ scilab
|
||||
scilab-devel
|
||||
scilab-doc
|
||||
|
||||
# sagemath
|
||||
# BZ #1006230 should fix this
|
||||
#sagemath
|
||||
#sagemath-notebook
|
||||
# Remove sagemath explicitly?
|
||||
-sagemath
|
||||
|
||||
#Devel tools
|
||||
|
||||
@@ -88,6 +84,10 @@ rkward
|
||||
# GUI for Octave
|
||||
qtoctave
|
||||
|
||||
# julia
|
||||
julia
|
||||
julia-doc
|
||||
|
||||
# IDEs for the IDE folks
|
||||
@eclipse
|
||||
spyder
|
||||
@@ -133,9 +133,9 @@ backintime-kde
|
||||
libotf
|
||||
|
||||
#root
|
||||
root
|
||||
root-gui-fitpanel
|
||||
root-python
|
||||
#root
|
||||
#root-gui-fitpanel
|
||||
#root-python
|
||||
|
||||
#Multiple jobs/clustering system
|
||||
# torque
|
||||
@@ -153,8 +153,8 @@ xzgv
|
||||
gimp
|
||||
ggobi
|
||||
ggobi-devel
|
||||
g3data
|
||||
Mayavi
|
||||
#g3data
|
||||
#Mayavi
|
||||
|
||||
#Misc. Utils
|
||||
screen
|
||||
@@ -173,4 +173,4 @@ firefox
|
||||
|
||||
%post
|
||||
|
||||
%end
|
||||
%end
|
||||
|
||||
@@ -6,10 +6,9 @@
|
||||
# Maintainers:
|
||||
# Fabian Affolter <fab [AT] fedoraproject <dot> org>
|
||||
# Joerg Simon <jsimon [AT] fedoraproject <dot> org>
|
||||
# Christoph Wickert <cwickert [AT] fedoraproject <dot> org>
|
||||
# Acknowledgements:
|
||||
# Fedora LiveCD Xfce Spin team - some work here was and will be inherited,
|
||||
# many thanks!
|
||||
# many thanks, especially to Christoph Wickert!
|
||||
# Fedora LXDE Spin - Copied over stuff to make LXDE Default
|
||||
# Luke Macken and Adam Miller for the original OpenBox Security ks and all
|
||||
# the Security Applications!
|
||||
@@ -94,9 +93,6 @@ gnome-keyring-pam
|
||||
%post
|
||||
# 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)
|
||||
|
||||
cat > /etc/sysconfig/desktop <<EOF
|
||||
|
||||
@@ -51,6 +51,7 @@ org.laptop.StopWatchActivity
|
||||
org.laptop.community.Finance
|
||||
org.laptop.community.TypingTurtle
|
||||
org.laptop.sugar.Jukebox
|
||||
org.laptop.Words
|
||||
org.eq.FotoToon
|
||||
org.gnome.Labyrinth
|
||||
com.laptop.Ruler
|
||||
@@ -58,6 +59,7 @@ org.sugarlabs.AbacusActivity
|
||||
org.sugarlabs.IRC
|
||||
org.sugarlabs.InfoSlicer
|
||||
org.sugarlabs.PortfolioActivity
|
||||
org.sugarlabs.StoryActivity
|
||||
org.sugarlabs.VisualMatchActivity
|
||||
com.garycmartin.Moon
|
||||
mulawa.Countries
|
||||
|
||||
@@ -4,15 +4,16 @@
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-workstation-packages.ks
|
||||
%include snippets/packagekit-cached-metadata.ks
|
||||
#
|
||||
# Disable this for now to see if packagekit is causing
|
||||
# compose failures by leaving a gpg-agent around holding /dev/null open.
|
||||
#
|
||||
#include snippets/packagekit-cached-metadata.ks
|
||||
|
||||
part / --size 6144
|
||||
part / --size 6656
|
||||
|
||||
%post
|
||||
|
||||
# This is a huge file and things work ok without it
|
||||
rm -f /usr/share/icons/HighContrast/icon-theme.cache
|
||||
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
|
||||
|
||||
@@ -16,9 +16,6 @@
|
||||
%post
|
||||
# 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)
|
||||
|
||||
cat > /etc/sysconfig/desktop <<EOF
|
||||
@@ -33,7 +30,7 @@ mkdir -p /home/liveuser/.config/xfce4
|
||||
cat > /home/liveuser/.config/xfce4/helpers.rc << FOE
|
||||
MailReader=sylpheed-claws
|
||||
FileManager=Thunar
|
||||
WebBrowser=midori
|
||||
WebBrowser=firefox
|
||||
FOE
|
||||
|
||||
# disable screensaver locking (#674410)
|
||||
|
||||
@@ -7,27 +7,25 @@ compiz-plugins-main
|
||||
compiz-plugins-extra
|
||||
compiz-manager
|
||||
compizconfig-python
|
||||
compiz-plugins-unsupported
|
||||
compiz-mate
|
||||
compiz-plugins-experimental
|
||||
libcompizconfig
|
||||
compiz-plugins-main
|
||||
ccsm
|
||||
simple-ccsm
|
||||
emerald-themes
|
||||
emerald
|
||||
fusion-icon
|
||||
fusion-icon-gtk
|
||||
@networkmanager-submodules
|
||||
blueman
|
||||
|
||||
# some apps from mate-applications
|
||||
caja-actions
|
||||
mate-disk-usage-analyzer
|
||||
mate-netspeed
|
||||
|
||||
# more backgrounds
|
||||
f23-backgrounds-base
|
||||
f23-backgrounds-mate
|
||||
f23-backgrounds-extras-base
|
||||
f25-backgrounds-base
|
||||
f25-backgrounds-mate
|
||||
f24-backgrounds-extras-base
|
||||
|
||||
# system tools
|
||||
system-config-printer
|
||||
@@ -48,6 +46,10 @@ PackageKit-gstreamer-plugin
|
||||
# dsl tools
|
||||
rp-pppoe
|
||||
|
||||
# some tools
|
||||
p7zip
|
||||
p7zip-plugins
|
||||
|
||||
# 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
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
|
||||
repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
|
||||
#repo --name=updates-testing --mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
|
||||
url --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
repo --name=rawhide --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=$basearch
|
||||
url --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=$basearch
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Exactly one of 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
|
||||
# %include fedora-repo-not-rawhide.ks
|
||||
%include fedora-repo-not-rawhide.ks
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
-abrt-cli
|
||||
-ibus*
|
||||
-hyperv-daemons
|
||||
-webkitgtk4-plugin-process-gtk2
|
||||
|
||||
# Add some extra fonts
|
||||
dejavu-sans-fonts
|
||||
@@ -76,9 +77,6 @@ pulseaudio-utils
|
||||
# Usefulness for DSL connections as per:
|
||||
# http://bugs.sugarlabs.org/ticket/1951
|
||||
rp-pppoe
|
||||
# Useful for SoaS duplication from:
|
||||
# http://bugs.sugarlabs.org/ticket/74
|
||||
livecd-tools
|
||||
|
||||
# Get the Sugar boot screen
|
||||
-plymouth-system-theme
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
@core
|
||||
@firefox
|
||||
@fonts
|
||||
@gnome-desktop
|
||||
@guest-desktop-agents
|
||||
@hardware-support
|
||||
@libreoffice
|
||||
|
||||
@@ -21,10 +21,16 @@
|
||||
|
||||
# unlock default keyring. FIXME: Should probably be done in comps
|
||||
gnome-keyring-pam
|
||||
# Admin tools are handy to have
|
||||
@admin-tools
|
||||
# Add some screensavers, people seem to like them
|
||||
# Note that blank is still default.
|
||||
xscreensaver-extras
|
||||
wget
|
||||
# Handy for debugging
|
||||
rfkill
|
||||
# Better more popular browser
|
||||
firefox
|
||||
system-config-printer
|
||||
|
||||
# save some space
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
# %post modifications for gdm
|
||||
|
||||
cat >> /etc/rc.d/init.d/fedora-live << EOF
|
||||
chown -R fedora:fedora /home/fedora
|
||||
sed -i -e 's/\[daemon\]/[daemon]\nTimedLoginEnable=true\nTimedLogin=fedora\nTimedLoginDelay=60/' /etc/gdm/custom.conf
|
||||
if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then
|
||||
cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /home/fedora/.face
|
||||
chown fedora:fedora /home/fedora/.face
|
||||
# TODO: would be nice to get e-d-s to pick this one up too... but how?
|
||||
fi
|
||||
EOF
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
# %post modifications for kdm and kde
|
||||
|
||||
# add initscript
|
||||
cat >> /etc/rc.d/init.d/fedora-live << EOF
|
||||
|
||||
if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then
|
||||
# use image also for kdm
|
||||
mkdir -p /usr/share/apps/kdm/faces
|
||||
cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /usr/share/apps/kdm/faces/fedora.face.icon
|
||||
fi
|
||||
|
||||
# make fedora user use KDE
|
||||
echo "startkde" > /home/fedora/.xsession
|
||||
chmod a+x /home/fedora/.xsession
|
||||
chown fedora:fedora /home/fedora/.xsession
|
||||
|
||||
# set up autologin for user fedora
|
||||
sed -i 's/#AutoLoginEnable=true/AutoLoginEnable=true/' /etc/kde/kdm/kdmrc
|
||||
sed -i 's/#AutoLoginUser=fred/AutoLoginUser=fedora/' /etc/kde/kdm/kdmrc
|
||||
|
||||
# set up user fedora as default user and preselected user
|
||||
sed -i 's/#PreselectUser=Default/PreselectUser=Default/' /etc/kde/kdm/kdmrc
|
||||
sed -i 's/#DefaultUser=johndoe/DefaultUser=fedora/' /etc/kde/kdm/kdmrc
|
||||
|
||||
# add liveinst.desktop to favorites menu
|
||||
mkdir -p /home/fedora/.kde/share/config/
|
||||
cat > /home/fedora/.kde/share/config/kickoffrc << MENU_EOF
|
||||
[Favorites]
|
||||
FavoriteURLs=/usr/share/applications/kde4/konqbrowser.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/kde4/systemsettings.desktop,/usr/share/applications/liveinst.desktop
|
||||
MENU_EOF
|
||||
chown -R fedora:fedora /home/fedora/.kde/
|
||||
EOF
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
# %post modifications to add link to demonstration videos to desktop
|
||||
|
||||
cat >> /etc/rc.d/init.d/fedora-live << EOF
|
||||
pushd /home/fedora/Desktop
|
||||
ln -s /usr/share/eclipse-demos-0.0.1 "Eclipse demonstration videos"
|
||||
popd
|
||||
EOF
|
||||
@@ -1,57 +0,0 @@
|
||||
# %post modifications specifically for Fedora Electronic Lab
|
||||
|
||||
# Fedora Electronic Lab: Kwin buttons
|
||||
cat > /usr/share/kde-settings/kde-profile/default/share/config/kwinrc <<EOF
|
||||
[Style]
|
||||
ButtonsOnLeft=MB
|
||||
ButtonsOnRight=FIAX
|
||||
CustomButtonPositions=true
|
||||
EOF
|
||||
|
||||
# kill klipper
|
||||
cat > /usr/share/kde-settings/kde-profile/default/share/config/klipperrc <<EOF
|
||||
[General]
|
||||
AutoStart=false
|
||||
EOF
|
||||
|
||||
# use the LCD_Style clock as alliance's windows demand a lot of space on kicker
|
||||
cat > /usr/share/kde-settings/kde-profile/default/share/config/clock_panelappletrc <<EOF
|
||||
[Digital]
|
||||
LCD_Style=false
|
||||
Show_Date=false
|
||||
Show_Seconds=true
|
||||
|
||||
[General]
|
||||
Type=Digital
|
||||
EOF
|
||||
|
||||
cat > /usr/share/kde-settings/kde-profile/default/share/config/kxkbrc <<EOF
|
||||
[Layout]
|
||||
DisplayNames=
|
||||
EnableXkbOptions=false
|
||||
IncludeGroups=
|
||||
LayoutList=us,de,fr,jp
|
||||
Model=pc104
|
||||
Options=
|
||||
ResetOldOptions=false
|
||||
ShowFlag=true
|
||||
ShowSingle=true
|
||||
StickySwitching=false
|
||||
StickySwitchingDepth=2
|
||||
SwitchMode=Global
|
||||
Use=true
|
||||
EOF
|
||||
|
||||
# Chitlesh doesn't like the KDE icon on the kicker, but fedora's
|
||||
# This is a feature for Fedora and not for KDE
|
||||
cp -fp /usr/share/icons/Bluecurve/16x16/apps/gnome-main-menu.png /usr/share/icons/crystalsvg/16x16/apps/kmenu.png
|
||||
cp -fp /usr/share/icons/Bluecurve/24x24/apps/gnome-main-menu.png /usr/share/icons/crystalsvg/22x22/apps/kmenu.png
|
||||
cp -fp /usr/share/icons/Bluecurve/32x32/apps/gnome-main-menu.png /usr/share/icons/crystalsvg/32x32/apps/kmenu.png
|
||||
cp -fp /usr/share/icons/Bluecurve/48x48/apps/gnome-main-menu.png /usr/share/icons/crystalsvg/48x48/apps/kmenu.png
|
||||
|
||||
/sbin/chkconfig anacron off
|
||||
/sbin/chkconfig sendmail off
|
||||
/sbin/chkconfig nfs off
|
||||
/sbin/chkconfig nfslock off
|
||||
/sbin/chkconfig rpcidmapd off
|
||||
/sbin/chkconfig rpcbind off
|
||||
@@ -1,19 +0,0 @@
|
||||
# %post modifications to set up gnome-keyring in KDE
|
||||
|
||||
mkdir -p /etc/skel/.kde/env /etc/skel/.kde/shutdown
|
||||
cat > /etc/skel/.kde/env/start-custom.sh << EOF
|
||||
#!/bin/sh
|
||||
eval \`gnome-keyring-daemon\`
|
||||
export GNOME_KEYRING_PID
|
||||
export GNOME_KEYRING_SOCKET
|
||||
EOF
|
||||
chmod 755 /etc/skel/.kde/env/start-custom.sh
|
||||
|
||||
cat > /etc/skel/.kde/shutdown/stop-custom.sh << EOF
|
||||
#/bin/sh
|
||||
if [-n "$GNOME_KEYRING_PID"]; then
|
||||
kill $GNOME_KEYRING_PID
|
||||
fi
|
||||
EOF
|
||||
|
||||
chmod 755 /etc/skel/.kde/shutdown/stop-custom.sh
|
||||
@@ -1,16 +0,0 @@
|
||||
# %post modifications to configure tracker search
|
||||
|
||||
mkdir -p /home/fedora/.config/tracker
|
||||
|
||||
cat > /home/fedora/.config/tracker/tracker.cfg <<EOF
|
||||
[Indexing]
|
||||
EnableIndexing=false
|
||||
Language=en
|
||||
EOF
|
||||
|
||||
mkdir -p /root/.config/tracker
|
||||
cat > /root/.config/tracker/tracker.cfg <<EOF
|
||||
[Indexing]
|
||||
EnableIndexing=false
|
||||
Language=en
|
||||
EOF
|
||||
@@ -1,164 +0,0 @@
|
||||
###### Eee PC 900 stuff ####################################################
|
||||
#
|
||||
###### Hotkeys #############################################################
|
||||
cat > /etc/acpi/actions/hotkeys.sh << EOHOTKEY
|
||||
#!/bin/bash
|
||||
|
||||
export DISPLAY=:0
|
||||
|
||||
case "$3" in
|
||||
|
||||
#Fn+F2
|
||||
00000010)
|
||||
# Wlan On
|
||||
/etc/acpi/actions/wlan.sh poweron
|
||||
;;
|
||||
00000011)
|
||||
# Wlan Off
|
||||
/etc/acpi/actions/wlan.sh poweroff
|
||||
;;
|
||||
|
||||
#Fn+F6
|
||||
00000012)
|
||||
# Webcam switch
|
||||
/etc/acpi/actions/camera.sh
|
||||
# TaskManager
|
||||
# /usr/bin/gnome-system-monitor
|
||||
;;
|
||||
|
||||
#Fn+F7
|
||||
00000013)
|
||||
# Volume mute
|
||||
/usr/bin/amixer set -D hw:0 Master toggle
|
||||
;;
|
||||
|
||||
#Fn+F8
|
||||
00000014)
|
||||
# Volume down
|
||||
/usr/bin/amixer set -D hw:0 Master 10%- unmute
|
||||
;;
|
||||
|
||||
#Fn+F9
|
||||
00000015)
|
||||
# Volume up
|
||||
/usr/bin/amixer set -D hw:0 Master 10%+ unmute
|
||||
;;
|
||||
|
||||
#Fn+F5
|
||||
00000030)
|
||||
|
||||
/usr/bin/xrandr --output VGA --mode 1024x768 \
|
||||
--output LVDS --off
|
||||
|
||||
if [[ "$?" != "0" ]]; then
|
||||
|
||||
/usr/bin/xrandr --output VGA --preferred \
|
||||
--output LVDS --off
|
||||
|
||||
fi
|
||||
;;
|
||||
|
||||
00000031)
|
||||
|
||||
/usr/bin/xrandr --output LVDS --mode 800x480 \
|
||||
--output VGA --mode 800x600
|
||||
|
||||
;;
|
||||
|
||||
00000032)
|
||||
|
||||
/usr/bin/xrandr --output VGA --off \
|
||||
--output LVDS --preferred
|
||||
|
||||
;;
|
||||
*)
|
||||
logger "ACPI hotkey $3 action is not defined"
|
||||
;;
|
||||
esac
|
||||
EOHOTKEY
|
||||
|
||||
###### WLAN #############################################################
|
||||
cat > /etc/acpi/actions/wlan.sh << EOF
|
||||
#!/bin/bash
|
||||
|
||||
PWR=$(cat /sys/devices/platform/eeepc/wlan)
|
||||
|
||||
UnloadModules() {
|
||||
rmmod ath_pci
|
||||
rmmod ath_rate_sample
|
||||
rmmod wlan_scan_sta
|
||||
rmmod wlan_tkip
|
||||
rmmod wlan_wep
|
||||
rmmod wlan
|
||||
}
|
||||
|
||||
LoadModules() {
|
||||
modprobe ath_pci
|
||||
}
|
||||
|
||||
case $1 in
|
||||
poweron)
|
||||
if [[ "$PWR" = "0" ]]; then
|
||||
modprobe pciehp pciehp_force=1
|
||||
|
||||
echo 1 > /sys/devices/platform/eeepc/wlan
|
||||
|
||||
rmmod pciehp
|
||||
|
||||
fi
|
||||
;;
|
||||
|
||||
poweroff)
|
||||
if [[ "$PWR" = "1" ]]; then
|
||||
|
||||
modprobe pciehp pciehp_force=1
|
||||
|
||||
ifconfig ath0 down
|
||||
|
||||
wlanconfig ath0 destroy
|
||||
|
||||
UnloadModules
|
||||
|
||||
echo 0 > /sys/devices/platform/eeepc/wlan
|
||||
|
||||
rmmod pciehp
|
||||
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
EOF
|
||||
|
||||
###### Webcam #############################################################
|
||||
cat > /etc/acpi/actions/camera.sh << EOF
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
CAMERA=$(cat /sys/devices/platform/eeepc/camera)
|
||||
|
||||
if [[ "$CAMERA" = "0" ]]; then
|
||||
echo 1 > /sys/devices/platform/eeepc/camera
|
||||
else
|
||||
echo 0 > /sys/devices/platform/eeepc/camera
|
||||
fi
|
||||
EOF
|
||||
|
||||
chmod +x "/etc/acpi/actions/*"
|
||||
|
||||
###### Shutdown fix #########################################################
|
||||
echo "modprobe -r snd-hda-intel" >> /sbin/halt.local
|
||||
chmod 755 /sbin/halt.local
|
||||
|
||||
###### Gnome display stuff ##################################################
|
||||
|
||||
gconftool-2 --set /apps/nautilus/preferences/desktop_font --type string "Sans 8"
|
||||
gconftool-2 --set /desktop/gnome/interface/document_font_name --type string "Sans 8"
|
||||
gconftool-2 --set /desktop/gnome/interface/font_name --type string "Sans 8"
|
||||
gconftool-2 --set /apps/metacity/general/titlebar_font --type string "Sans Bold 8"
|
||||
gconftool-2 --set /desktop/gnome/interface/monospace_font_name --type string "Monospace 8"
|
||||
gconftool-2 --set /apps/metacity/window_keybindings/toggle_fullscreen --type string "<Alt>F11"
|
||||
gconftool-2 --set /desktop/gnome/interface/toolbar_style --type string "icons"
|
||||
gconftool-2 --set /desktop/gnome/sound/default_mixer_tracks --type list --list-type string "[PCM]"
|
||||
gconftool-2 --set /apps/gnome-power-manager/notify/low_capacity --type bool 0
|
||||
gconftool-2 --set /apps/compiz/plugins/move/allscreens/options/constrain_y --type bool 0
|
||||
gconftool-2 --set /apps/panel/toplevels/top_panel_screen0/size --type integer 19
|
||||
gconftool-2 --set /apps/panel/toplevels/bottom_panel_screen0/size --type integer 19
|
||||
@@ -3,7 +3,7 @@
|
||||
%post --nochroot
|
||||
# Copy over files needed for networking inside the chroot
|
||||
for f in /etc/resolv.conf /etc/hosts ; do
|
||||
test -f $f && cp -a $f ${INSTALL_ROOT}${f}.kickstart
|
||||
test -f $f && cp $f /mnt/sysimage/$f.kickstart
|
||||
done
|
||||
%end
|
||||
|
||||
@@ -19,7 +19,7 @@ PK_PREFIX=`mktemp -d`
|
||||
mkdir -p $PK_PREFIX/etc/yum.repos.d
|
||||
if [ -f /etc/yum.repos.d/fedora.repo ] ; then
|
||||
cp /etc/yum.repos.d/fedora.repo $PK_PREFIX/etc/yum.repos.d/
|
||||
sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch|baseurl=http://kojipkgs.fedoraproject.org/mash/branched/$basearch/os/|' \
|
||||
sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch|baseurl=http://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-/compose/Everything/$basearch/os/|' \
|
||||
$PK_PREFIX/etc/yum.repos.d/fedora.repo
|
||||
fi
|
||||
if [ -f /etc/yum.repos.d/fedora-updates.repo ] ; then
|
||||
@@ -34,7 +34,7 @@ if [ -f /etc/yum.repos.d/fedora-updates-testing.repo ] ; then
|
||||
fi
|
||||
if [ -f /etc/yum.repos.d/fedora-rawhide.repo ] ; then
|
||||
cp /etc/yum.repos.d/fedora-rawhide.repo $PK_PREFIX/etc/yum.repos.d/
|
||||
sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=$basearch|baseurl=http://kojipkgs.fedoraproject.org/mash/rawhide/$basearch/os/|' \
|
||||
sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=$basearch|baseurl=http://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-/compose/Everything/$basearch/os/|' \
|
||||
$PK_PREFIX/etc/yum.repos.d/fedora-rawhide.repo
|
||||
fi
|
||||
rpm --root=$PK_PREFIX --initdb
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
# %post modifications to enable debuginfo repository
|
||||
|
||||
awk '
|
||||
BEGIN {
|
||||
debuginfo = 0
|
||||
}
|
||||
/^\[.*\]/ {
|
||||
if (/debuginfo/) {
|
||||
debuginfo = 1
|
||||
} else {
|
||||
debuginfo = 0
|
||||
}
|
||||
print
|
||||
next
|
||||
}
|
||||
/enabled=0/ && debuginfo {
|
||||
print "enabled=1"
|
||||
next
|
||||
}
|
||||
{
|
||||
print
|
||||
next
|
||||
}' < /etc/yum.repos.d/fedora.repo > /etc/yum.repos.d/fedora.repo.tmp
|
||||
mv /etc/yum.repos.d/fedora.repo{.tmp,}
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
# %post modifications to disable GNOME screensaver locking
|
||||
|
||||
cat >> /etc/rc.d/init.d/fedora-live << EOF
|
||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled false >/dev/null
|
||||
EOF
|
||||
@@ -1,3 +0,0 @@
|
||||
# %post modifications to disable KDE screensaver
|
||||
|
||||
sed -i 's/Enabled=true/Enabled=false/' /usr/share/kde-settings/kde-profile/default/share/config/kdesktoprc
|
||||
@@ -1,6 +0,0 @@
|
||||
# %post modifications to create /etc/sysconfig/desktop for KDE
|
||||
|
||||
cat > /etc/sysconfig/desktop <<EOF
|
||||
DESKTOP="KDE"
|
||||
DISPLAYMANAGER="KDE"
|
||||
EOF
|
||||
@@ -1,5 +0,0 @@
|
||||
# %post modifications to create /etc/sysconfig/desktop for XFCE
|
||||
|
||||
cat > /etc/sysconfig/desktop <<EOF
|
||||
PREFERRED=/usr/bin/startxfce4
|
||||
EOF
|
||||
Reference in New Issue
Block a user