mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-09 00:20:31 +08:00
Compare commits
130 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
782967ccba | ||
|
|
cd947e0c4a | ||
|
|
e17d3d0ba4 | ||
|
|
1c25cb6171 | ||
|
|
e171dabdc5 | ||
|
|
d7ef245b83 | ||
|
|
48296d16ae | ||
|
|
b71f67490e | ||
|
|
9308b5da94 | ||
|
|
500b85c343 | ||
|
|
7f06442f8f | ||
|
|
02e041303b | ||
|
|
5cb276a2f1 | ||
|
|
7fcc4df93a | ||
|
|
cde583e3a2 | ||
|
|
9245751e67 | ||
|
|
5e9e250c1d | ||
|
|
ba3bedacb3 | ||
|
|
cd820f7630 | ||
|
|
fb6bcce1be | ||
|
|
d7d0e5ad95 | ||
|
|
9fa38d0117 | ||
|
|
cf9444b682 | ||
|
|
bfc2901422 | ||
|
|
47ab710fe2 | ||
|
|
0959478eab | ||
|
|
427657159d | ||
|
|
dbe507bd91 | ||
|
|
0b6884a62e | ||
|
|
3677a24bd9 | ||
|
|
4675f6f6fd | ||
|
|
2bd8c367cf | ||
|
|
a7d928767c | ||
|
|
f7d3da2878 | ||
|
|
131565566b | ||
|
|
d4d001c549 | ||
|
|
db8c33a53f | ||
|
|
16b8801b8e | ||
|
|
264303aac1 | ||
|
|
7c328c9965 | ||
|
|
66b3b50b89 | ||
|
|
341e2f56f9 | ||
|
|
b1c14531ce | ||
|
|
9c52c11e9a | ||
|
|
37dc4aa02f | ||
|
|
a8e9553e5c | ||
|
|
75e15f1dd2 | ||
|
|
9eed55b9e5 | ||
|
|
eae3708bca | ||
|
|
ee4bc19ae7 | ||
|
|
51d4c8ee45 | ||
|
|
9defdef6cd | ||
|
|
efab044d00 | ||
|
|
13f09fe7d6 | ||
|
|
38321a2d35 | ||
|
|
b5ab8fc9bb | ||
|
|
6881942927 | ||
|
|
c00926fcb5 | ||
|
|
66c69f4243 | ||
|
|
6633c8f661 | ||
|
|
84b8cd7926 | ||
|
|
f1cfec3f1b | ||
|
|
eab5b9ed44 | ||
|
|
8f3beacf10 | ||
|
|
6bf1907a10 | ||
|
|
c699a0b7eb | ||
|
|
20a9971686 | ||
|
|
7c09012288 | ||
|
|
3f3d02bc82 | ||
|
|
d0f9999891 | ||
|
|
0d9ba65717 | ||
|
|
2cf009041d | ||
|
|
982d2c2482 | ||
|
|
f39bf4894d | ||
|
|
fa67a85c02 | ||
|
|
7496dc558f | ||
|
|
fbd0a17e7c | ||
|
|
b947d49831 | ||
|
|
9e226727b9 | ||
|
|
eba9ca6a6f | ||
|
|
f77caba988 | ||
|
|
ebff6b00b9 | ||
|
|
112b098d46 | ||
|
|
45028e7a4b | ||
|
|
50631d36d9 | ||
|
|
6fc115ffbd | ||
|
|
7b6aead393 | ||
|
|
3bc7b62f68 | ||
|
|
db65fdca24 | ||
|
|
ca1105466f | ||
|
|
004915b1e4 | ||
|
|
b47513bb14 | ||
|
|
90e71f7a4b | ||
|
|
5710f9ff65 | ||
|
|
39c412833e | ||
|
|
2120aded43 | ||
|
|
efec98370f | ||
|
|
9b11d77146 | ||
|
|
514c03a962 | ||
|
|
afbd353140 | ||
|
|
0d68707f4b | ||
|
|
f59d761db7 | ||
|
|
be35caf183 | ||
|
|
26d2bef549 | ||
|
|
8173ebec2e | ||
|
|
039307e153 | ||
|
|
319ef2422f | ||
|
|
213dbfcaaa | ||
|
|
0679b37d65 | ||
|
|
0ab674dc2a | ||
|
|
aa63eae541 | ||
|
|
bf3371ecfe | ||
|
|
0bcbab3c71 | ||
|
|
09c0f61959 | ||
|
|
f6aa9a0c70 | ||
|
|
4af399d67e | ||
|
|
722b29c75c | ||
|
|
ec57ca9e56 | ||
|
|
99c9224ef5 | ||
|
|
c99924252b | ||
|
|
cc7179c45d | ||
|
|
6d305ab349 | ||
|
|
852fb1a0a1 | ||
|
|
78b16c4559 | ||
|
|
b732c18132 | ||
|
|
bfa7d4e4f6 | ||
|
|
0b975fe5d3 | ||
|
|
bfe90ab506 | ||
|
|
25b862c1e1 | ||
|
|
7f202a0e53 |
1
.sparkleshare
Normal file
1
.sparkleshare
Normal file
@@ -0,0 +1 @@
|
|||||||
|
d6afc629dc9311ebd79b4cedb2775531065ecb05
|
||||||
9
SparkleShare.txt
Normal file
9
SparkleShare.txt
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
Congratulations, you've successfully created a SparkleShare repository!
|
||||||
|
|
||||||
|
Any files you add or change in this folder will be automatically synced to
|
||||||
|
ssh://luya@git.fedorahosted.org/git/spin-kickstarts.git and everyone connected to it.
|
||||||
|
|
||||||
|
SparkleShare is an Open Source software program that helps people collaborate and
|
||||||
|
share files. If you like what we do, consider buying us a beer: http://www.sparkleshare.org/
|
||||||
|
|
||||||
|
Have fun! :)
|
||||||
8
atomic-installer/lorax-configure-repo.tmpl
Normal file
8
atomic-installer/lorax-configure-repo.tmpl
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
## Lorax template to configure Anaconda to use the local OSTree
|
||||||
|
## repository on disk.
|
||||||
|
|
||||||
|
<%page args="ostree_osname, ostree_ref"/>
|
||||||
|
append usr/share/anaconda/interactive-defaults.ks "ostreesetup --nogpg --osname=${ostree_osname} --remote=${ostree_osname} --url=file:////run/install/repo/content/repo --ref=${ostree_ref}\n"
|
||||||
|
append usr/share/anaconda/interactive-defaults.ks "services --disabled cloud-init,cloud-config,cloud-final,cloud-init-local\n"
|
||||||
|
append usr/share/anaconda/interactive-defaults.ks "%post --erroronfail\nrm -f /etc/ostree/remotes.d/${ostree_osname}.conf\n%end\n"
|
||||||
|
|
||||||
11
atomic-installer/lorax-embed-repo.tmpl
Normal file
11
atomic-installer/lorax-embed-repo.tmpl
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
## Lorax template to embed an OSTree repository into the installer.iso
|
||||||
|
## and configure an interactive installer use to look for it.
|
||||||
|
##
|
||||||
|
## Note that we pull with depth=0 to only get *one* commit into the
|
||||||
|
## ISO, because we obviously don't want the full history.
|
||||||
|
|
||||||
|
<%page args="workdir, ostree_osname, ostree_repo, ostree_ref"/>
|
||||||
|
runcmd mkdir -p ${workdir}/iso-graft/content/repo
|
||||||
|
runcmd ostree --repo=${workdir}/iso-graft/content/repo init --mode=archive-z2
|
||||||
|
runcmd ostree --repo=${workdir}/iso-graft/content/repo remote add ostree-mirror --set=gpg-verify=false ${ostree_repo}
|
||||||
|
runcmd ostree --repo=${workdir}/iso-graft/content/repo pull --mirror ostree-mirror ${ostree_ref}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
%include ../fedora-livecd-desktop.ks
|
%include ../fedora-live-workstation.ks
|
||||||
|
|
||||||
part / --size 6000
|
part / --size 6000
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# Contact QA team if you have any improvements for this kickstart:
|
# Contact QA team if you have any improvements for this kickstart:
|
||||||
# https://fedoraproject.org/wiki/QA
|
# https://fedoraproject.org/wiki/QA
|
||||||
|
|
||||||
%include ../fedora-livecd-desktop.ks
|
%include ../fedora-live-workstation.ks
|
||||||
|
|
||||||
|
|
||||||
## System configuration
|
## System configuration
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ firewall --enabled --service=mdns,ssh
|
|||||||
# configure extlinux bootloader
|
# configure extlinux bootloader
|
||||||
bootloader extlinux
|
bootloader extlinux
|
||||||
|
|
||||||
part /boot --size=512 --fstype ext3
|
part /boot --size=300 --fstype ext3
|
||||||
part swap --size=512 --fstype swap
|
part swap --size=512 --fstype swap
|
||||||
part / --size=3000 --fstype ext4
|
part / --size=3000 --fstype ext4
|
||||||
|
|
||||||
@@ -23,6 +23,7 @@ services --enabled=ssh,NetworkManager,avahi-daemon,rsyslog,chronyd --disabled=ne
|
|||||||
@standard
|
@standard
|
||||||
@hardware-support
|
@hardware-support
|
||||||
@dial-up
|
@dial-up
|
||||||
|
@fedora-release-nonproduct
|
||||||
|
|
||||||
kernel
|
kernel
|
||||||
|
|
||||||
@@ -51,7 +52,7 @@ rm -f /var/lib/rpm/__db*
|
|||||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||||
basearch=armhfp
|
basearch=armhfp
|
||||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||||
echo "Packages within this LiveCD"
|
echo "Packages within this ARM disk image"
|
||||||
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
|
||||||
rm -f /var/lib/rpm/__db*
|
rm -f /var/lib/rpm/__db*
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
%include fedora-arm-xbase.ks
|
%include fedora-arm-xbase.ks
|
||||||
%include fedora-kde-packages.ks
|
%include fedora-kde-packages.ks
|
||||||
|
|
||||||
part / --size=4000 --fstype ext4
|
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"
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
%include fedora-arm-base.ks
|
%include fedora-arm-base.ks
|
||||||
|
|
||||||
part swap --size=128 --fstype swap
|
part swap --size=256 --fstype swap
|
||||||
part / --size=1400 --fstype ext4
|
part / --size=1200 --fstype ext4
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
-@standard
|
-@standard
|
||||||
-@dial-up
|
-@dial-up
|
||||||
-initial-setup-gui
|
-initial-setup-gui
|
||||||
|
-generic-release*
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|||||||
32
fedora-arm-server.ks
Normal file
32
fedora-arm-server.ks
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
%include fedora-arm-base.ks
|
||||||
|
|
||||||
|
# server defaults to xfs for / so lets do so on arm also
|
||||||
|
part / --size=3000 --fstype xfs
|
||||||
|
|
||||||
|
%packages
|
||||||
|
-@fedora-release-nonproduct
|
||||||
|
-@dial-up
|
||||||
|
# install the default groups for the server evironment since installing the environment is not working
|
||||||
|
@server-product
|
||||||
|
@standard
|
||||||
|
@headless-management
|
||||||
|
@container-management
|
||||||
|
@domain-client
|
||||||
|
-initial-setup-gui
|
||||||
|
-generic-release*
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post
|
||||||
|
|
||||||
|
# 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 .
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
%include fedora-arm-base.ks
|
%include fedora-arm-base.ks
|
||||||
%include fedora-arm-xbase.ks
|
%include fedora-arm-xbase.ks
|
||||||
%include fedora-xfce-packages.ks
|
%include fedora-xfce-packages.ks
|
||||||
|
part / --size=3500 --fstype ext4
|
||||||
|
|
||||||
%post
|
%post
|
||||||
echo -n "Enabling initial-setup gui mode on startup"
|
echo -n "Enabling initial-setup gui mode on startup"
|
||||||
|
|||||||
31
fedora-cloud-atomic-pxetolive.ks
Normal file
31
fedora-cloud-atomic-pxetolive.ks
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
# PXE-to-Live Atomic: PXE boot directly into a running Atomic Host
|
||||||
|
# https://fedoraproject.org/wiki/Changes/AtomicHost
|
||||||
|
|
||||||
|
lang en_US.UTF-8
|
||||||
|
keyboard us
|
||||||
|
timezone America/New_York
|
||||||
|
zerombr
|
||||||
|
clearpart --all --initlabel
|
||||||
|
rootpw --lock --iscrypted locked
|
||||||
|
user --name=none
|
||||||
|
bootloader --timeout=1
|
||||||
|
network --bootproto=dhcp --device=link --activate
|
||||||
|
# We are only able to install atomic with separate /boot partition currently
|
||||||
|
part / --fstype="ext4" --size=6000
|
||||||
|
part /boot --size=500 --fstype="ext4"
|
||||||
|
shutdown
|
||||||
|
services --disabled=docker-storage-setup,network
|
||||||
|
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
|
||||||
|
|
||||||
|
%post
|
||||||
|
|
||||||
|
# Ensure the root password is locked, we use cloud-init
|
||||||
|
passwd -l root
|
||||||
|
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
|
||||||
|
%end
|
||||||
28
fedora-cloud-atomic-vagrant.ks
Normal file
28
fedora-cloud-atomic-vagrant.ks
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# Like the Atomic cloud image, but tuned for vagrant. Enable
|
||||||
|
# the vagrant user, disable cloud-init.
|
||||||
|
|
||||||
|
%include fedora-cloud-atomic.ks
|
||||||
|
|
||||||
|
services --disabled=cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||||
|
|
||||||
|
user --name=vagrant --password=vagrant
|
||||||
|
|
||||||
|
%post --erroronfail
|
||||||
|
|
||||||
|
# Work around cloud-init being both disabled and enabled; need
|
||||||
|
# to refactor to a common base.
|
||||||
|
systemctl mask cloud-init cloud-init-local cloud-config cloud-final
|
||||||
|
|
||||||
|
# Vagrant setup
|
||||||
|
sed -i 's,Defaults\\s*requiretty,Defaults !requiretty,' /etc/sudoers
|
||||||
|
echo 'vagrant ALL=NOPASSWD: ALL' > /etc/sudoers.d/vagrant-nopasswd
|
||||||
|
sed -i 's/.*UseDNS.*/UseDNS no/' /etc/ssh/sshd_config
|
||||||
|
mkdir -m 0700 -p ~vagrant/.ssh
|
||||||
|
cat > ~vagrant/.ssh/authorized_keys << EOKEYS
|
||||||
|
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcWyLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQ== vagrant insecure public key
|
||||||
|
EOKEYS
|
||||||
|
chmod 600 ~vagrant/.ssh/authorized_keys
|
||||||
|
chown -R vagrant:vagrant ~vagrant/.ssh/
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
@@ -1,8 +1,10 @@
|
|||||||
# Fedora Atomic is a cloud-focused spin implementing the Project Atomic
|
# Fedora Atomic is a cloud-focused spin implementing the Project
|
||||||
# patterns.
|
# Atomic patterns. Note that this replicates the same tree which can
|
||||||
#
|
# now be installed on bare metal.
|
||||||
# RIGHT NOW, this is very like the traditional cloud image -- this is
|
|
||||||
# just a starting point.
|
# This image allocates most space to an LVM-managed thin pool
|
||||||
|
# dedicated for Docker containers, and uses docker-storage-setup to
|
||||||
|
# dynamically resize storage on boot.
|
||||||
|
|
||||||
text
|
text
|
||||||
lang en_US.UTF-8
|
lang en_US.UTF-8
|
||||||
@@ -16,22 +18,29 @@ user --name=none
|
|||||||
|
|
||||||
firewall --disabled
|
firewall --disabled
|
||||||
|
|
||||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
|
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||||
|
|
||||||
network --bootproto=dhcp --device=eth0 --activate --onboot=on
|
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||||
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
services --disabled=network
|
||||||
|
services --enabled=sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||||
|
|
||||||
zerombr
|
zerombr
|
||||||
clearpart --all
|
clearpart --all
|
||||||
# Atomic differs from cloud - we want LVM
|
# Atomic differs from cloud - we want LVM
|
||||||
autopart
|
part /boot --size=300 --fstype="ext4"
|
||||||
|
part pv.01 --grow
|
||||||
|
volgroup atomicos pv.01
|
||||||
|
logvol / --size=3000 --fstype="xfs" --name=root --vgname=atomicos
|
||||||
|
|
||||||
# Equivalent of %include fedora-repo.ks
|
# Equivalent of %include fedora-repo.ks
|
||||||
ostreesetup --nogpg --osname=fedora-atomic-host --remote=installmedia --url=http://kojipkgs.fedoraproject.org/mash/atomic/ --ref=fedora-atomic/rawhide/x86_64/docker-host
|
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=http://kojipkgs.fedoraproject.org/mash/atomic/22/ --ref=fedora-atomic/f22/x86_64/docker-host
|
||||||
|
|
||||||
reboot
|
reboot
|
||||||
|
|
||||||
%post --erroronfail
|
%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 'http://dl.fedoraproject.org/pub/fedora/linux/atomic/22/'
|
||||||
|
|
||||||
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||||
@@ -39,14 +48,9 @@ passwd -l root
|
|||||||
# remove the user anaconda forces us to make
|
# remove the user anaconda forces us to make
|
||||||
userdel -r none
|
userdel -r none
|
||||||
|
|
||||||
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
|
# We can lead the way with the internal DHCP, see
|
||||||
# 0 means wait forever, so instead we'll go with 1.
|
# https://lists.fedoraproject.org/pipermail/cloud/2015-March/005119.html
|
||||||
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
|
echo "dhcp=internal" >> /etc/NetworkManager/NetworkManager.conf
|
||||||
|
|
||||||
# If you want to remove rsyslog and just use journald, remove this!
|
|
||||||
echo -n "Disabling persistent journal"
|
|
||||||
rmdir /var/log/journal/
|
|
||||||
echo .
|
|
||||||
|
|
||||||
echo -n "Getty fixes"
|
echo -n "Getty fixes"
|
||||||
# although we want console output going to the serial console, we don't
|
# although we want console output going to the serial console, we don't
|
||||||
@@ -55,13 +59,6 @@ echo -n "Getty fixes"
|
|||||||
sed -i '/^#NAutoVTs=.*/ a\
|
sed -i '/^#NAutoVTs=.*/ a\
|
||||||
NAutoVTs=0' /etc/systemd/logind.conf
|
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
|
# For cloud images, 'eth0' _is_ the predictable device name, since
|
||||||
# we don't want to be tied to specific virtual (!) hardware
|
# we don't want to be tied to specific virtual (!) hardware
|
||||||
rm -f /etc/udev/rules.d/70*
|
rm -f /etc/udev/rules.d/70*
|
||||||
@@ -105,16 +102,6 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
|
|||||||
echo "Removing random-seed so it's not the same in every image."
|
echo "Removing random-seed so it's not the same in every image."
|
||||||
rm -f /var/lib/random-seed
|
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 "Packages within this cloud image:"
|
||||||
echo "-----------------------------------------------------------------------"
|
echo "-----------------------------------------------------------------------"
|
||||||
rpm -qa
|
rpm -qa
|
||||||
|
|||||||
57
fedora-cloud-base-vagrant.ks
Normal file
57
fedora-cloud-base-vagrant.ks
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
# Like the Cloud Base image, but tuned for vagrant. Enable
|
||||||
|
# the vagrant user, disable cloud-init.
|
||||||
|
|
||||||
|
%include fedora-cloud-base.ks
|
||||||
|
|
||||||
|
services --disabled=cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||||
|
|
||||||
|
# So, to be clear, this gaping security hole is an integral part of how
|
||||||
|
# Vagrant works - These images are _not_ supposed to be run in any public-
|
||||||
|
# Internet facing way - They are for use on developer setups, almost always
|
||||||
|
# with NAT
|
||||||
|
user --name=vagrant --password=vagrant
|
||||||
|
|
||||||
|
# Suggestion from @purpleidea that most/many vagrant boxes also set root PW
|
||||||
|
# to "vagrant" for ease of use. Again, see comments above.
|
||||||
|
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" --extlinux
|
||||||
|
|
||||||
|
%packages
|
||||||
|
# The default koji Vagrantfile configuration uses rsync to sync files between
|
||||||
|
# the vagrant host and the guest. It uses yum to verify that rsync is present
|
||||||
|
# and/or install it if it is not. It will fail without adding the yum compat
|
||||||
|
# layer for dnf
|
||||||
|
# TODO: Teach vagrant about dnf
|
||||||
|
dnf-yum
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post --erroronfail
|
||||||
|
|
||||||
|
# Work around cloud-init being both disabled and enabled; need
|
||||||
|
# to refactor to a common base.
|
||||||
|
systemctl mask cloud-init cloud-init-local cloud-config cloud-final
|
||||||
|
|
||||||
|
# Vagrant setup
|
||||||
|
sed -i 's,Defaults\\s*requiretty,Defaults !requiretty,' /etc/sudoers
|
||||||
|
echo 'vagrant ALL=NOPASSWD: ALL' > /etc/sudoers.d/vagrant-nopasswd
|
||||||
|
sed -i 's/.*UseDNS.*/UseDNS no/' /etc/ssh/sshd_config
|
||||||
|
mkdir -m 0700 -p ~vagrant/.ssh
|
||||||
|
cat > ~vagrant/.ssh/authorized_keys << EOKEYS
|
||||||
|
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcWyLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQ== vagrant insecure public key
|
||||||
|
EOKEYS
|
||||||
|
chmod 600 ~vagrant/.ssh/authorized_keys
|
||||||
|
chown -R vagrant:vagrant ~vagrant/.ssh/
|
||||||
|
|
||||||
|
# Further suggestion from @purpleidea (James Shubin) - extend key to root users as well
|
||||||
|
mkdir -m 0700 -p /root/.ssh
|
||||||
|
cp /home/vagrant/.ssh/authorized_keys /root/.ssh/authorized_keys
|
||||||
|
chmod 600 /root/.ssh/authorized_keys
|
||||||
|
chown -R root:root /root/.ssh
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
# may need slight modification for use with actual anaconda or other tools.
|
# 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.
|
# We intend to target anaconda-in-a-vm style image building for F20.
|
||||||
|
|
||||||
text
|
cmdline
|
||||||
lang en_US.UTF-8
|
lang en_US.UTF-8
|
||||||
keyboard us
|
keyboard us
|
||||||
timezone --utc Etc/UTC
|
timezone --utc Etc/UTC
|
||||||
@@ -25,7 +25,7 @@ firewall --disabled
|
|||||||
|
|
||||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
|
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
|
||||||
|
|
||||||
network --bootproto=dhcp --device=eth0 --activate --onboot=on
|
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||||
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||||
|
|
||||||
zerombr
|
zerombr
|
||||||
@@ -37,6 +37,8 @@ part / --size 3000 --fstype ext4
|
|||||||
reboot
|
reboot
|
||||||
|
|
||||||
# Package list.
|
# Package list.
|
||||||
|
# FIXME: instLangs does not work, so there's a hack below
|
||||||
|
# (see https://bugzilla.redhat.com/show_bug.cgi?id=1051816)
|
||||||
%packages --instLangs=en
|
%packages --instLangs=en
|
||||||
|
|
||||||
kernel-core
|
kernel-core
|
||||||
@@ -100,24 +102,36 @@ rm -f /etc/systemd/system/default.target
|
|||||||
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||||
echo .
|
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
|
# this is installed by default but we don't need it in virt
|
||||||
echo "Removing linux-firmware package."
|
echo "Removing linux-firmware package."
|
||||||
yum -C -y remove linux-firmware
|
dnf -C -y erase linux-firmware
|
||||||
|
|
||||||
# Remove firewalld; was supposed to be optional in F18+, but is pulled in
|
# Remove firewalld; was supposed to be optional in F18+, but is pulled in
|
||||||
# in install/image building.
|
# in install/image building.
|
||||||
echo "Removing firewalld."
|
echo "Removing firewalld."
|
||||||
yum -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
|
# FIXME! clean_requirements_on_remove is the default with DNF, but may
|
||||||
|
# not work when package was installed by Anaconda instead of command line.
|
||||||
|
# Also -- check if this is still even needed with new anaconda -- disabled
|
||||||
|
# firewall should _not_ pull in this package.
|
||||||
|
# yum -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
|
||||||
|
dnf -C -y erase "firewalld*"
|
||||||
|
|
||||||
# Another one needed at install time but not after that, and it pulls
|
# Another one needed at install time but not after that, and it pulls
|
||||||
# in some unneeded deps (like, newt and slang)
|
# in some unneeded deps (like, newt and slang)
|
||||||
echo "Removing authconfig."
|
echo "Removing authconfig."
|
||||||
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
dnf -C -y erase authconfig
|
||||||
|
|
||||||
|
# instlang hack. (Note! See bug referenced above package list)
|
||||||
|
find /usr/share/locale -mindepth 1 -maxdepth 1 -type d -not -name en_US -exec rm -rf {} +
|
||||||
|
localedef --list-archive | grep -v ^en_US | xargs localedef --delete-from-archive
|
||||||
|
# this will kill a live system (since it's memory mapped) but should be safe offline
|
||||||
|
mv -f /usr/lib/locale/locale-archive /usr/lib/locale/locale-archive.tmpl
|
||||||
|
build-locale-archive
|
||||||
|
echo '%_install_langs C:en:en_US:en_US.UTF-8' >> /etc/rpm/macros.image-language-conf
|
||||||
|
awk '(NF==0&&!done){print "override_install_langs='$LANG'";done=1}{print}' \
|
||||||
|
< /etc/yum.conf > /etc/yum.conf.new
|
||||||
|
mv /etc/yum.conf.new /etc/yum.conf
|
||||||
|
|
||||||
|
|
||||||
echo -n "Getty fixes"
|
echo -n "Getty fixes"
|
||||||
# although we want console output going to the serial console, we don't
|
# although we want console output going to the serial console, we don't
|
||||||
@@ -128,9 +142,11 @@ NAutoVTs=0' /etc/systemd/logind.conf
|
|||||||
|
|
||||||
echo -n "Network fixes"
|
echo -n "Network fixes"
|
||||||
# initscripts don't like this file to be missing.
|
# initscripts don't like this file to be missing.
|
||||||
|
# and https://bugzilla.redhat.com/show_bug.cgi?id=1204612
|
||||||
cat > /etc/sysconfig/network << EOF
|
cat > /etc/sysconfig/network << EOF
|
||||||
NETWORKING=yes
|
NETWORKING=yes
|
||||||
NOZEROCONF=yes
|
NOZEROCONF=yes
|
||||||
|
DEVTIMEOUT=10
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# For cloud images, 'eth0' _is_ the predictable device name, since
|
# For cloud images, 'eth0' _is_ the predictable device name, since
|
||||||
@@ -176,10 +192,11 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
|
|||||||
echo "Removing random-seed so it's not the same in every image."
|
echo "Removing random-seed so it's not the same in every image."
|
||||||
rm -f /var/lib/random-seed
|
rm -f /var/lib/random-seed
|
||||||
|
|
||||||
echo "Cleaning old yum repodata."
|
echo "Cleaning old dnf repodata."
|
||||||
yum history new
|
# FIXME: clear history?
|
||||||
yum clean all
|
dnf clean all
|
||||||
truncate -c -s 0 /var/log/yum.log
|
truncate -c -s 0 /var/log/dnf.log
|
||||||
|
truncate -c -s 0 /var/log/dnf.rpm.log
|
||||||
|
|
||||||
echo "Import RPM GPG key"
|
echo "Import RPM GPG key"
|
||||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||||
@@ -194,10 +211,18 @@ echo "-----------------------------------------------------------------------"
|
|||||||
rm -f /var/lib/rpm/__db*
|
rm -f /var/lib/rpm/__db*
|
||||||
|
|
||||||
|
|
||||||
|
# This is a temporary workaround for
|
||||||
|
# <https://bugzilla.redhat.com/show_bug.cgi?id=1147998>
|
||||||
|
# where sfdisk seems to be messing up the mbr.
|
||||||
|
# Long-term fix is to address this in anaconda directly and remove this.
|
||||||
|
# <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."
|
echo "Fixing SELinux contexts."
|
||||||
touch /var/log/cron
|
touch /var/log/cron
|
||||||
touch /var/log/boot.log
|
touch /var/log/boot.log
|
||||||
mkdir -p /var/cache/yum
|
|
||||||
chattr -i /boot/extlinux/ldlinux.sys
|
chattr -i /boot/extlinux/ldlinux.sys
|
||||||
/usr/sbin/fixfiles -R -a restore
|
/usr/sbin/fixfiles -R -a restore
|
||||||
chattr +i /boot/extlinux/ldlinux.sys
|
chattr +i /boot/extlinux/ldlinux.sys
|
||||||
|
|||||||
@@ -107,11 +107,6 @@ rm -f /etc/systemd/system/default.target
|
|||||||
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||||
echo .
|
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
|
# this is installed by default but we don't need it in virt
|
||||||
echo "Removing linux-firmware package."
|
echo "Removing linux-firmware package."
|
||||||
yum -C -y remove linux-firmware
|
yum -C -y remove linux-firmware
|
||||||
@@ -200,6 +195,13 @@ echo "-----------------------------------------------------------------------"
|
|||||||
# Note that running rpm recreates the rpm db files which aren't needed/wanted
|
# Note that running rpm recreates the rpm db files which aren't needed/wanted
|
||||||
rm -f /var/lib/rpm/__db*
|
rm -f /var/lib/rpm/__db*
|
||||||
|
|
||||||
|
# This is a temporary workaround for
|
||||||
|
# <https://bugzilla.redhat.com/show_bug.cgi?id=1147998>
|
||||||
|
# where sfdisk seems to be messing up the mbr.
|
||||||
|
# Long-term fix is to address this in anaconda directly and remove this.
|
||||||
|
# <https://bugzilla.redhat.com/show_bug.cgi?id=1015931>
|
||||||
|
dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
||||||
|
|
||||||
|
|
||||||
echo "Fixing SELinux contexts."
|
echo "Fixing SELinux contexts."
|
||||||
touch /var/log/cron
|
touch /var/log/cron
|
||||||
|
|||||||
@@ -98,11 +98,6 @@ rm -f /etc/systemd/system/default.target
|
|||||||
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||||
echo .
|
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
|
# this is installed by default but we don't need it in virt
|
||||||
echo "Removing linux-firmware package."
|
echo "Removing linux-firmware package."
|
||||||
yum -C -y remove linux-firmware
|
yum -C -y remove linux-firmware
|
||||||
@@ -192,6 +187,14 @@ echo "-----------------------------------------------------------------------"
|
|||||||
rm -f /var/lib/rpm/__db*
|
rm -f /var/lib/rpm/__db*
|
||||||
|
|
||||||
|
|
||||||
|
# This is a temporary workaround for
|
||||||
|
# <https://bugzilla.redhat.com/show_bug.cgi?id=1147998>
|
||||||
|
# where sfdisk seems to be messing up the mbr.
|
||||||
|
# Long-term fix is to address this in anaconda directly and remove this.
|
||||||
|
# <https://bugzilla.redhat.com/show_bug.cgi?id=1015931>
|
||||||
|
dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
||||||
|
|
||||||
|
|
||||||
echo "Fixing SELinux contexts."
|
echo "Fixing SELinux contexts."
|
||||||
touch /var/log/cron
|
touch /var/log/cron
|
||||||
touch /var/log/boot.log
|
touch /var/log/boot.log
|
||||||
|
|||||||
@@ -1,24 +0,0 @@
|
|||||||
%packages
|
|
||||||
@firefox
|
|
||||||
@gnome-desktop
|
|
||||||
@libreoffice
|
|
||||||
@networkmanager-submodules
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
%end
|
|
||||||
@@ -2,24 +2,38 @@
|
|||||||
#
|
#
|
||||||
# To keep this image minimal it only installs English language. You need to change
|
# To keep this image minimal it only installs English language. You need to change
|
||||||
# yum configuration in order to enable other languages.
|
# yum configuration in order to enable other languages.
|
||||||
|
#
|
||||||
|
### Hacking on this image ###
|
||||||
|
# This kickstart is processed using Anaconda-in-ImageFactory (via Koji typically),
|
||||||
|
# but you can run imagefactory locally too.
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
#
|
||||||
|
|
||||||
cmdline
|
cmdline
|
||||||
bootloader --location=none
|
bootloader --location=none
|
||||||
timezone America/New_York --isUtc --nontp
|
timezone --isUtc --nontp Etc/UTC
|
||||||
rootpw --plaintext qweqwe
|
rootpw --plaintext qweqwe
|
||||||
|
|
||||||
keyboard us
|
keyboard us
|
||||||
firewall --disable
|
|
||||||
zerombr
|
zerombr
|
||||||
clearpart --all
|
clearpart --all
|
||||||
part / --size 3000 --fstype ext4
|
part / --size 3000 --fstype ext4
|
||||||
|
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||||
reboot
|
reboot
|
||||||
|
|
||||||
%packages --excludedocs --instLangs=en --nocore
|
%packages --excludedocs --instLangs=en --nocore
|
||||||
bash
|
bash
|
||||||
fedora-release
|
fedora-release
|
||||||
|
rootfiles
|
||||||
vim-minimal
|
vim-minimal
|
||||||
yum
|
dnf
|
||||||
|
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
|
||||||
#fakesystemd #TODO: waiting for review https://bugzilla.redhat.com/show_bug.cgi?id=1118740
|
#fakesystemd #TODO: waiting for review https://bugzilla.redhat.com/show_bug.cgi?id=1118740
|
||||||
-kernel
|
-kernel
|
||||||
|
|
||||||
@@ -43,7 +57,20 @@ basearch=$(uname -i)
|
|||||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||||
|
|
||||||
rm -f /usr/lib/locale/locale-archive
|
rm -f /usr/lib/locale/locale-archive
|
||||||
|
|
||||||
|
#Setup locale properly
|
||||||
|
localedef -v -c -i en_US -f UTF-8 en_US.UTF-8
|
||||||
|
|
||||||
rm -rf /var/cache/yum/*
|
rm -rf /var/cache/yum/*
|
||||||
rm -f /tmp/ks-script*
|
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
|
||||||
|
|
||||||
|
rm -f /etc/machine-id
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -16,12 +16,12 @@
|
|||||||
# 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 --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||||
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 --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||||
|
|
||||||
# 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 --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||||
#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 --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||||
|
|
||||||
# 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)
|
||||||
@@ -56,6 +56,9 @@ dracut-*
|
|||||||
|
|
||||||
# Things needed for installation
|
# Things needed for installation
|
||||||
@anaconda-tools
|
@anaconda-tools
|
||||||
|
fedora-productimg-cloud
|
||||||
|
-fedora-productimg-server
|
||||||
|
-fedora-productimg-workstation
|
||||||
|
|
||||||
# Packages to enable server images to run in cloud environments
|
# Packages to enable server images to run in cloud environments
|
||||||
@cloud-server
|
@cloud-server
|
||||||
|
|||||||
@@ -16,18 +16,22 @@
|
|||||||
# 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 --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||||
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 --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||||
|
|
||||||
# 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 --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||||
#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 --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||||
|
|
||||||
# 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)
|
||||||
# @base got renamed to @standard, but @base is still included by default by pungi.
|
# @base got renamed to @standard, but @base is still included by default by pungi.
|
||||||
%packages --default
|
%packages --default
|
||||||
|
|
||||||
|
-fedora-productimg-cloud
|
||||||
|
fedora-productimg-server
|
||||||
|
-fedora-productimg-workstation
|
||||||
|
|
||||||
# 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
|
||||||
# an exclusion list to cut out things we don't want
|
# an exclusion list to cut out things we don't want
|
||||||
@@ -68,13 +72,6 @@ dracut-*
|
|||||||
@core
|
@core
|
||||||
@hardware-support
|
@hardware-support
|
||||||
|
|
||||||
# Some development tools
|
|
||||||
@development-libs
|
|
||||||
@development-tools
|
|
||||||
@c-development
|
|
||||||
@rpm-development-tools
|
|
||||||
@fedora-packager
|
|
||||||
|
|
||||||
# Fedora Server.
|
# Fedora Server.
|
||||||
# Including this causes the fedora-release-server package to be included,
|
# Including this causes the fedora-release-server package to be included,
|
||||||
# which in turn enables server-product-environment, and due to to its priority
|
# which in turn enables server-product-environment, and due to to its priority
|
||||||
@@ -84,6 +81,7 @@ dracut-*
|
|||||||
@headless-management
|
@headless-management
|
||||||
@container-management
|
@container-management
|
||||||
@domain-client
|
@domain-client
|
||||||
|
@server-hardware-support
|
||||||
|
|
||||||
# Common server packages
|
# Common server packages
|
||||||
@mysql
|
@mysql
|
||||||
@@ -123,6 +121,7 @@ dracut-*
|
|||||||
|
|
||||||
# Things needed for installation
|
# Things needed for installation
|
||||||
@anaconda-tools
|
@anaconda-tools
|
||||||
|
fedora-productimg-server
|
||||||
|
|
||||||
# Langpacks
|
# Langpacks
|
||||||
autocorr-*
|
autocorr-*
|
||||||
|
|||||||
@@ -16,12 +16,12 @@
|
|||||||
# 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 --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||||
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 --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||||
|
|
||||||
# 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 --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||||
#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 --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||||
|
|
||||||
%include fedora-workstation-packages.ks
|
%include fedora-workstation-packages.ks
|
||||||
|
|
||||||
@@ -44,5 +44,8 @@ kernel*
|
|||||||
|
|
||||||
# Things needed for installation
|
# Things needed for installation
|
||||||
@anaconda-tools
|
@anaconda-tools
|
||||||
|
-fedora-productimg-cloud
|
||||||
|
-fedora-productimg-server
|
||||||
|
fedora-productimg-workstation
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
@kde-apps
|
@kde-apps
|
||||||
@kde-desktop
|
@kde-desktop
|
||||||
@kde-media
|
@kde-media
|
||||||
|
@kde-office
|
||||||
@kde-telepathy
|
@kde-telepathy
|
||||||
@networkmanager-submodules
|
@networkmanager-submodules
|
||||||
|
|
||||||
@@ -16,5 +17,9 @@ mariadb-embedded
|
|||||||
mariadb-libs
|
mariadb-libs
|
||||||
mariadb-server
|
mariadb-server
|
||||||
|
|
||||||
|
# minimal localization support - allows installing the kde-l10n-* packages
|
||||||
|
system-config-language
|
||||||
|
kde-l10n
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ auth --useshadow --enablemd5
|
|||||||
selinux --enforcing
|
selinux --enforcing
|
||||||
firewall --enabled --service=mdns
|
firewall --enabled --service=mdns
|
||||||
xconfig --startxonboot
|
xconfig --startxonboot
|
||||||
part / --size 3072 --fstype ext4
|
part / --size 4096 --fstype ext4
|
||||||
services --enabled=NetworkManager --disabled=network,sshd
|
services --enabled=NetworkManager --disabled=network,sshd
|
||||||
|
|
||||||
%include fedora-repo.ks
|
%include fedora-repo.ks
|
||||||
@@ -24,6 +24,7 @@ services --enabled=NetworkManager --disabled=network,sshd
|
|||||||
@guest-desktop-agents
|
@guest-desktop-agents
|
||||||
@standard
|
@standard
|
||||||
@core
|
@core
|
||||||
|
@fedora-release-nonproduct
|
||||||
@fonts
|
@fonts
|
||||||
@input-methods
|
@input-methods
|
||||||
@dial-up
|
@dial-up
|
||||||
@@ -298,6 +299,15 @@ rm -f /core*
|
|||||||
# convince readahead not to collect
|
# convince readahead not to collect
|
||||||
# FIXME: for systemd
|
# 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
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# fedora-design-suite.ks
|
# fedora-design-suite.ks
|
||||||
# Based on Live Desktop
|
# Based on Live Workstation
|
||||||
# Description:
|
# Description:
|
||||||
# - 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
|
||||||
@@ -7,21 +7,18 @@
|
|||||||
# - Luya Tshimbalanga <luya 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-workstation.ks
|
||||||
|
|
||||||
#DVD size partition
|
#DVD size partition
|
||||||
part / --size 8192
|
part / --size 8192
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
|
|
||||||
# graphics
|
# graphics
|
||||||
blender
|
blender
|
||||||
# add blender plugins
|
|
||||||
LuxRender-blender
|
LuxRender-blender
|
||||||
YafaRay-blender
|
YafaRay-blender
|
||||||
bluefish
|
bluefish
|
||||||
#cinepaint
|
colord-extra-profiles
|
||||||
cmyktool
|
|
||||||
darktable
|
darktable
|
||||||
dia
|
dia
|
||||||
entangle
|
entangle
|
||||||
@@ -38,26 +35,33 @@ gimp-normalmap
|
|||||||
gimp-resynthesizer
|
gimp-resynthesizer
|
||||||
gimp-separate+
|
gimp-separate+
|
||||||
gpick
|
gpick
|
||||||
|
GraphicsMagick
|
||||||
gmic-gimp
|
gmic-gimp
|
||||||
hugin
|
hugin
|
||||||
mypaint
|
ImageMagick
|
||||||
inkscape
|
inkscape
|
||||||
|
inkscape-sozi
|
||||||
|
inkscape-table
|
||||||
|
mypaint
|
||||||
nautilus-image-converter
|
nautilus-image-converter
|
||||||
optipng
|
optipng
|
||||||
phatch
|
phatch
|
||||||
screenruler
|
screenruler
|
||||||
simple-scan
|
simple-scan
|
||||||
scribus
|
scribus
|
||||||
colord-extra-profiles
|
shutter
|
||||||
synfigstudio
|
synfigstudio
|
||||||
xournal
|
xournal
|
||||||
|
|
||||||
# office
|
# office
|
||||||
vym
|
vym
|
||||||
|
pdfmod
|
||||||
pdfshuffler
|
pdfshuffler
|
||||||
|
|
||||||
# internet
|
# internet
|
||||||
filezilla
|
filezilla
|
||||||
|
sparkleshare
|
||||||
|
sshpass
|
||||||
|
|
||||||
# audio & video
|
# audio & video
|
||||||
audacity
|
audacity
|
||||||
@@ -68,45 +72,23 @@ aajohan-comfortaa-fonts
|
|||||||
adobe-source-sans-pro-fonts
|
adobe-source-sans-pro-fonts
|
||||||
campivisivi-titillium-fonts
|
campivisivi-titillium-fonts
|
||||||
lato-fonts
|
lato-fonts
|
||||||
|
open-sans-fonts
|
||||||
overpass-fonts
|
overpass-fonts
|
||||||
|
|
||||||
# removal of duplicated and unneeded applications
|
# removal of unneeded applications
|
||||||
-gnome-boxes
|
-gnome-boxes
|
||||||
-gthumb
|
-gthumb
|
||||||
-eog
|
-eog
|
||||||
-gnome-photos
|
-gnome-photos
|
||||||
-rdesktop
|
-rdesktop
|
||||||
|
|
||||||
# Legacy cmdline things we don't want
|
|
||||||
-krb5-auth-dialog
|
|
||||||
-krb5-workstation
|
|
||||||
-pam_krb5
|
|
||||||
-quota
|
|
||||||
-minicom
|
|
||||||
-dos2unix
|
|
||||||
-finger
|
|
||||||
-ftp
|
|
||||||
-jwhois
|
|
||||||
-mtr
|
|
||||||
-pinfo
|
|
||||||
-rsh
|
|
||||||
-telnet
|
|
||||||
-nfs-utils
|
|
||||||
-ypbind
|
|
||||||
-yp-tools
|
|
||||||
-rpcbind
|
|
||||||
-acpid
|
|
||||||
-ntsysv
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
#Override the favorite desktop application in Dash
|
#Override the favorite desktop application in Dash
|
||||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||||
[org.gnome.shell]
|
[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']
|
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']
|
||||||
#Enable categories in Gnome Shell
|
|
||||||
app-folder-categories=['Utilities', 'Games', 'Sundry', 'Office', 'Network', 'Internet', 'Graphics', 'Multimedia', 'System', 'Development', 'Accessories', 'System Settings', 'wine-wine', 'Crossover', 'Crossover Games', 'Science', 'Education', 'Universal Access', 'Other']
|
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# Add link to lists of tutorials
|
# Add link to lists of tutorials
|
||||||
@@ -122,10 +104,40 @@ Categories=Graphics;Documentation;
|
|||||||
FOE
|
FOE
|
||||||
chmod a+x /usr/share/applications/list-design-tutorials.desktop
|
chmod a+x /usr/share/applications/list-design-tutorials.desktop
|
||||||
|
|
||||||
|
# Add information about Fedora Design Suite
|
||||||
|
cat >> /usr/share/applications/fedora-design-suite.desktop << FOE
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Design Suite Info
|
||||||
|
GenericName=About Design Suite
|
||||||
|
Comment=Wiki page of Design Suite
|
||||||
|
Name=About Design Team
|
||||||
|
GenericName=About Design Team
|
||||||
|
Comment=Wiki page of Design Team
|
||||||
|
>>>>>>> d4d001c54999e8f5401ca3f7b5d9b6a2d0132093
|
||||||
|
Exec=xdg-open http://fedoraproject.org/wiki/Design_Suite
|
||||||
|
Type=Application
|
||||||
|
Icon=applications-internet
|
||||||
|
Categories=Documentation;
|
||||||
|
FOE
|
||||||
|
chmod a+x /usr/share/applications/fedora-design-suite.desktop
|
||||||
|
|
||||||
|
# Add information about Fedora Design Team
|
||||||
|
cat >> /usr/share/applications/fedora-design-team.desktop << FOE
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Design Team Info
|
||||||
|
GenericName=About Design Team
|
||||||
|
Name=About Design Suite
|
||||||
|
GenericName=About Design Suite Wiki Page
|
||||||
|
Comment=Wiki page of Design Team
|
||||||
|
Exec=xdg-open http://fedoraproject.org/wiki/Design
|
||||||
|
Type=Application
|
||||||
|
Icon=applications-internet
|
||||||
|
Categories=Documentation;
|
||||||
|
FOE
|
||||||
|
chmod a+x /usr/share/applications/fedora-design-team.desktop
|
||||||
|
|
||||||
# rebuild schema cache with any overrides we installed
|
# rebuild schema cache with any overrides we installed
|
||||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||||
|
|
||||||
#EOF
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
@@ -1,65 +0,0 @@
|
|||||||
# Maintained by the Fedora Desktop SIG:
|
|
||||||
# http://fedoraproject.org/wiki/SIGs/Desktop
|
|
||||||
# mailto:desktop@lists.fedoraproject.org
|
|
||||||
|
|
||||||
%include fedora-live-base.ks
|
|
||||||
%include fedora-desktop-packages.ks
|
|
||||||
|
|
||||||
part / --size 4096
|
|
||||||
|
|
||||||
%post
|
|
||||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
|
||||||
|
|
||||||
|
|
||||||
# disable updates plugin
|
|
||||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
|
|
||||||
[org.gnome.software]
|
|
||||||
download-updates=false
|
|
||||||
FOE
|
|
||||||
|
|
||||||
# don't run gnome-initial-setup
|
|
||||||
mkdir ~liveuser/.config
|
|
||||||
touch ~liveuser/.config/gnome-initial-setup-done
|
|
||||||
|
|
||||||
# make the installer show up
|
|
||||||
if [ -f /usr/share/applications/liveinst.desktop ]; then
|
|
||||||
# Show harddisk install in shell dash
|
|
||||||
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop ""
|
|
||||||
# need to move it to anaconda.desktop to make shell happy
|
|
||||||
mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop
|
|
||||||
|
|
||||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
|
||||||
[org.gnome.shell]
|
|
||||||
favorite-apps=['firefox.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'libreoffice-writer.desktop', 'nautilus.desktop', 'gnome-documents.desktop', 'anaconda.desktop']
|
|
||||||
FOE
|
|
||||||
|
|
||||||
# Make the welcome screen show up
|
|
||||||
if [ -f /usr/share/anaconda/gnome/fedora-welcome.desktop ]; then
|
|
||||||
mkdir -p ~liveuser/.config/autostart
|
|
||||||
cp /usr/share/anaconda/gnome/fedora-welcome.desktop /usr/share/applications/
|
|
||||||
cp /usr/share/anaconda/gnome/fedora-welcome.desktop ~liveuser/.config/autostart/
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# rebuild schema cache with any overrides we installed
|
|
||||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
|
||||||
|
|
||||||
# set up auto-login
|
|
||||||
cat > /etc/gdm/custom.conf << FOE
|
|
||||||
[daemon]
|
|
||||||
AutomaticLoginEnable=True
|
|
||||||
AutomaticLogin=liveuser
|
|
||||||
FOE
|
|
||||||
|
|
||||||
# Turn off PackageKit-command-not-found while uninstalled
|
|
||||||
if [ -f /etc/PackageKit/CommandNotFound.conf ]; then
|
|
||||||
sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
|
|
||||||
fi
|
|
||||||
|
|
||||||
# make sure to set the right permissions and selinux contexts
|
|
||||||
chown -R liveuser:liveuser /home/liveuser/
|
|
||||||
restorecon -R /home/liveuser/
|
|
||||||
|
|
||||||
EOF
|
|
||||||
|
|
||||||
%end
|
|
||||||
@@ -199,12 +199,12 @@ thunderbird
|
|||||||
%post
|
%post
|
||||||
|
|
||||||
#setup kickoff favorites
|
#setup kickoff favorites
|
||||||
/bin/mkdir -p /etc/skel/.kde/share/config
|
/bin/mkdir -p /etc/skel/.config
|
||||||
|
|
||||||
JAMFAVORITES=/usr/share/applications/firefox.desktop,/usr/share/applications/qjackctl.desktop,/usr/share/applications/qtractor.desktop,/usr/share/applications/frescobaldi.desktop,/usr/share/applications/kde4/konsole.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/kde4/systemsettings.desktop
|
JAMFAVORITES=/usr/share/applications/firefox.desktop,/usr/share/applications/qjackctl.desktop,/usr/share/applications/qtractor.desktop,/usr/share/applications/frescobaldi.desktop,/usr/share/applications/org.kde.konsole.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/systemsettings.desktop,/usr/share/applications/pavucontrol.desktop,/usr/share/applications/kde4/kfmclient_html.desktop,/usr/share/applications/kde4/Kontact.desktop,/usr/share/applications/kde4/ktp-contactlist.desktop
|
||||||
JAMFAVORITESLIVE=/usr/share/applications/liveinst.desktop,$JAMFAVORITES
|
JAMFAVORITESLIVE=/usr/share/applications/liveinst.desktop,$JAMFAVORITES
|
||||||
|
|
||||||
cat <<EOF >> /etc/skel/.kde/share/config/kickoffrc
|
cat <<EOF >> /etc/skel/.config/kickoffrc
|
||||||
[Favorites]
|
[Favorites]
|
||||||
FavoriteURLs=$JAMFAVORITES
|
FavoriteURLs=$JAMFAVORITES
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
@@ -13,16 +13,16 @@ DESKTOP="KDE"
|
|||||||
DISPLAYMANAGER="KDE"
|
DISPLAYMANAGER="KDE"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# make oxygen-gtk the default GTK+ theme for root (see #683855, #689070, #808062)
|
# set default GTK+ theme for root (see #683855, #689070, #808062)
|
||||||
cat > /root/.gtkrc-2.0 << EOF
|
cat > /root/.gtkrc-2.0 << EOF
|
||||||
include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc"
|
include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
|
||||||
include "/etc/gtk-2.0/gtkrc"
|
include "/etc/gtk-2.0/gtkrc"
|
||||||
gtk-theme-name="oxygen-gtk"
|
gtk-theme-name="Adwaita"
|
||||||
EOF
|
EOF
|
||||||
mkdir -p /root/.config/gtk-3.0
|
mkdir -p /root/.config/gtk-3.0
|
||||||
cat > /root/.config/gtk-3.0/settings.ini << EOF
|
cat > /root/.config/gtk-3.0/settings.ini << EOF
|
||||||
[Settings]
|
[Settings]
|
||||||
gtk-theme-name = oxygen-gtk
|
gtk-theme-name = Adwaita
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# add initscript
|
# add initscript
|
||||||
@@ -40,17 +40,22 @@ chmod a+x /home/liveuser/.xsession
|
|||||||
chown liveuser:liveuser /home/liveuser/.xsession
|
chown liveuser:liveuser /home/liveuser/.xsession
|
||||||
|
|
||||||
# set up autologin for user liveuser
|
# set up autologin for user liveuser
|
||||||
sed -i 's/^AutoUser=.*/AutoUser=liveuser/' /etc/sddm.conf
|
if [ -f /etc/sddm.conf ]; then
|
||||||
|
sed -i 's/^#User=.*/User=liveuser/' /etc/sddm.conf
|
||||||
# set up user liveuser as default user and preselected user
|
sed -i 's/^#Session=.*/Session=plasma.desktop/' /etc/sddm.conf
|
||||||
sed -i 's/^LastUser=.*/LastUser=liveuser/' /etc/sddm.conf
|
else
|
||||||
sed -i 's/^LastSession=.*/LastSession=kde-plasma.desktop/' /etc/sddm.conf
|
cat > /etc/sddm.conf << SDDM_EOF
|
||||||
|
[Autologin]
|
||||||
|
User=liveuser
|
||||||
|
Session=plasma.desktop
|
||||||
|
SDDM_EOF
|
||||||
|
fi
|
||||||
|
|
||||||
# add liveinst.desktop to favorites menu
|
# add liveinst.desktop to favorites menu
|
||||||
mkdir -p /home/liveuser/.kde/share/config/
|
mkdir -p /home/liveuser/.config/
|
||||||
cat > /home/liveuser/.kde/share/config/kickoffrc << MENU_EOF
|
cat > /home/liveuser/.config/kickoffrc << MENU_EOF
|
||||||
[Favorites]
|
[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
|
FavoriteURLs=/usr/share/applications/kde4/kfmclient_html.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/systemsettings.desktop,/usr/share/applications/org.kde.konsole.desktop,/usr/share/applications/liveinst.desktop
|
||||||
MENU_EOF
|
MENU_EOF
|
||||||
|
|
||||||
# show liveinst.desktop on desktop and in menu
|
# show liveinst.desktop on desktop and in menu
|
||||||
@@ -102,15 +107,6 @@ cat > /home/liveuser/.kde/share/config/kres-migratorrc << KRES_EOF
|
|||||||
Enabled=false
|
Enabled=false
|
||||||
KRES_EOF
|
KRES_EOF
|
||||||
|
|
||||||
# Disable nepomuk
|
|
||||||
cat > /home/liveuser/.kde/share/config/nepomukserverrc << NEPOMUK_EOF
|
|
||||||
[Basic Settings]
|
|
||||||
Start Nepomuk=false
|
|
||||||
|
|
||||||
[Service-nepomukfileindexer]
|
|
||||||
autostart=false
|
|
||||||
NEPOMUK_EOF
|
|
||||||
|
|
||||||
# make sure to set the right permissions and selinux contexts
|
# make sure to set the right permissions and selinux contexts
|
||||||
chown -R liveuser:liveuser /home/liveuser/
|
chown -R liveuser:liveuser /home/liveuser/
|
||||||
restorecon -R /home/liveuser/
|
restorecon -R /home/liveuser/
|
||||||
|
|||||||
@@ -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 1 GiB version
|
# see fedora-livecd-kde.ks for the default 1.4 GiB version
|
||||||
#
|
#
|
||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Sebastian Vahl <fedora@deadbabylon.de>
|
# - Sebastian Vahl <fedora@deadbabylon.de>
|
||||||
@@ -22,35 +22,14 @@ kde-wallpapers
|
|||||||
|
|
||||||
# Additional packages that are not default in kde-desktop but useful
|
# Additional packages that are not default in kde-desktop but useful
|
||||||
k3b # ~15 megs
|
k3b # ~15 megs
|
||||||
calligra
|
|
||||||
#kdeartwork # only include some parts of kdeartwork
|
#kdeartwork # only include some parts of kdeartwork
|
||||||
#twinkle # (~10 megs)
|
|
||||||
fuse
|
fuse
|
||||||
liveusb-creator
|
liveusb-creator
|
||||||
#pavucontrol # pavucontrol has duplicate functionality with kmix
|
#pavucontrol # pavucontrol has duplicate functionality with kmix
|
||||||
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
|
||||||
blinken
|
@kde-education
|
||||||
kalzium
|
|
||||||
kanagram
|
|
||||||
kgeography
|
|
||||||
khangman
|
|
||||||
kiten
|
|
||||||
klettres
|
|
||||||
ktouch
|
|
||||||
kturtle
|
|
||||||
kwordquiz
|
|
||||||
parley
|
|
||||||
step
|
|
||||||
marble
|
|
||||||
kstars
|
|
||||||
kalgebra
|
|
||||||
kbruch
|
|
||||||
kig
|
|
||||||
kmplot
|
|
||||||
rocs
|
|
||||||
cantor
|
|
||||||
|
|
||||||
# Cantor backends
|
# Cantor backends
|
||||||
cantor-R # Cantor R backend, built against R-core at compile time
|
cantor-R # Cantor R backend, built against R-core at compile time
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
%include fedora-live-base.ks
|
%include fedora-live-base.ks
|
||||||
%include fedora-mate-packages.ks
|
%include fedora-mate-packages.ks
|
||||||
|
|
||||||
part / --size 4096
|
part / --size 6144
|
||||||
|
|
||||||
%post
|
%post
|
||||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||||
|
|||||||
@@ -43,6 +43,11 @@ FOE
|
|||||||
cp /usr/share/anaconda/gnome/fedora-welcome.desktop /usr/share/applications/
|
cp /usr/share/anaconda/gnome/fedora-welcome.desktop /usr/share/applications/
|
||||||
cp /usr/share/anaconda/gnome/fedora-welcome.desktop ~liveuser/.config/autostart/
|
cp /usr/share/anaconda/gnome/fedora-welcome.desktop ~liveuser/.config/autostart/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Copy Anaconda branding in place
|
||||||
|
if [ -d /usr/share/lorax/product/usr/share/anaconda ]; then
|
||||||
|
cp -a /usr/share/lorax/product/* /
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# rebuild schema cache with any overrides we installed
|
# rebuild schema cache with any overrides we installed
|
||||||
|
|||||||
@@ -1,112 +0,0 @@
|
|||||||
# Desktop with customizations to fit in a CD (package removals, etc.)
|
|
||||||
# Maintained by the Fedora Desktop SIG:
|
|
||||||
# http://fedoraproject.org/wiki/SIGs/Desktop
|
|
||||||
# mailto:desktop@lists.fedoraproject.org
|
|
||||||
|
|
||||||
%include fedora-live-desktop.ks
|
|
||||||
%include fedora-live-minimization.ks
|
|
||||||
|
|
||||||
%packages
|
|
||||||
# reduce the office suite in size
|
|
||||||
-planner
|
|
||||||
-libreoffice-xsltfilter
|
|
||||||
-libreoffice-pyuno
|
|
||||||
-libreoffice-emailmerge
|
|
||||||
-libreoffice-math
|
|
||||||
|
|
||||||
# remove some other applications
|
|
||||||
-gnome-boxes
|
|
||||||
-gnome-dictionary
|
|
||||||
|
|
||||||
# remove input method things we don't need
|
|
||||||
-ibus-typing-booster
|
|
||||||
-imsettings
|
|
||||||
-imsettings-gsettings
|
|
||||||
|
|
||||||
# Drop the Java plugin
|
|
||||||
-icedtea-web
|
|
||||||
-java-1.8.0-openjdk
|
|
||||||
|
|
||||||
# Drop things that pull in perl
|
|
||||||
-linux-atm
|
|
||||||
|
|
||||||
# No printing
|
|
||||||
-foomatic-db-ppds
|
|
||||||
-foomatic
|
|
||||||
|
|
||||||
# we don't want prelink
|
|
||||||
-prelink
|
|
||||||
|
|
||||||
# Dictionaries are big
|
|
||||||
# we're going to try keeping hunspell-* after notting, davidz, and ajax voiced
|
|
||||||
# strong preference to giving it a go on #fedora-desktop.
|
|
||||||
# also see http://bugzilla.gnome.org/681084
|
|
||||||
-aspell-*
|
|
||||||
-man-pages*
|
|
||||||
-words
|
|
||||||
|
|
||||||
# Help and art and fonts can be big, too
|
|
||||||
-evolution-help
|
|
||||||
-desktop-backgrounds-basic
|
|
||||||
-*backgrounds-extras
|
|
||||||
-stix-fonts
|
|
||||||
|
|
||||||
# Legacy and cmdline things we don't want
|
|
||||||
-krb5-auth-dialog
|
|
||||||
-krb5-workstation
|
|
||||||
-pam_krb5
|
|
||||||
-quota
|
|
||||||
-nano
|
|
||||||
-minicom
|
|
||||||
-dos2unix
|
|
||||||
-finger
|
|
||||||
-ftp
|
|
||||||
-jwhois
|
|
||||||
-mtr
|
|
||||||
-pinfo
|
|
||||||
-rsh
|
|
||||||
-telnet
|
|
||||||
-nfs-utils
|
|
||||||
-ypbind
|
|
||||||
-yp-tools
|
|
||||||
-rpcbind
|
|
||||||
-acpid
|
|
||||||
-ntsysv
|
|
||||||
-rmt
|
|
||||||
-talk
|
|
||||||
-lftp
|
|
||||||
-tcpdump
|
|
||||||
-dump
|
|
||||||
|
|
||||||
# Drop some system-config things
|
|
||||||
-system-config-language
|
|
||||||
-system-config-rootpassword
|
|
||||||
-system-config-services
|
|
||||||
-policycoreutils-gui
|
|
||||||
|
|
||||||
# These things are cut purely for space reasons
|
|
||||||
-aisleriot
|
|
||||||
-brasero
|
|
||||||
-brasero-nautilus
|
|
||||||
-bijiben
|
|
||||||
-gnome-system-log
|
|
||||||
-deja-dup
|
|
||||||
-eog
|
|
||||||
-gnu-free-mono-fonts
|
|
||||||
-gnu-free-sans-fonts
|
|
||||||
-gnu-free-serif-fonts
|
|
||||||
-uboot-tools
|
|
||||||
-dtc
|
|
||||||
|
|
||||||
# Without gnu freefonts, the lack of Malayalam coverage is
|
|
||||||
# a problem in anaconda (#977764)
|
|
||||||
lohit-malayalam-fonts
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post
|
|
||||||
|
|
||||||
# This is a huge file and things work ok without it
|
|
||||||
rm -f /usr/share/icons/HighContrast/icon-theme.cache
|
|
||||||
|
|
||||||
%end
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# fedora-livecd-kde.ks
|
# fedora-livecd-kde.ks
|
||||||
#
|
#
|
||||||
# Description:
|
# Description:
|
||||||
# - Fedora Live Spin with the K Desktop Environment (KDE), default 1 GB version
|
# - Fedora Live Spin with the K Desktop Environment (KDE), default 1.4 GB version
|
||||||
#
|
#
|
||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Sebastian Vahl <fedora@deadbabylon.de>
|
# - Sebastian Vahl <fedora@deadbabylon.de>
|
||||||
@@ -19,7 +19,6 @@ part / --size=4096
|
|||||||
# don't include these for now to fit on a cd
|
# don't include these for now to fit on a cd
|
||||||
-desktop-backgrounds-basic
|
-desktop-backgrounds-basic
|
||||||
-kdeaccessibility*
|
-kdeaccessibility*
|
||||||
-scribus # scribus is too big for the live images
|
|
||||||
-kdeartwork-screensavers # screensavers are not needed on live images
|
-kdeartwork-screensavers # screensavers are not needed on live images
|
||||||
#-ktorrent # kget has also basic torrent features (~3 megs)
|
#-ktorrent # kget has also basic torrent features (~3 megs)
|
||||||
-digikam # digikam has duplicate functionality with gwenview (~28 megs)
|
-digikam # digikam has duplicate functionality with gwenview (~28 megs)
|
||||||
@@ -28,14 +27,9 @@ part / --size=4096
|
|||||||
#-kdeplasma-addons # ~16 megs
|
#-kdeplasma-addons # ~16 megs
|
||||||
#-krusader # ~4 megs
|
#-krusader # ~4 megs
|
||||||
|
|
||||||
# Additional packages that are not default in kde-desktop but useful
|
# Additional packages that are not default in kde-* groups, but useful
|
||||||
k3b # ~15 megs
|
k3b # ~15 megs
|
||||||
-calligra # don't include whole calligra, just parts of it
|
|
||||||
calligra-words
|
|
||||||
calligra-sheets # ~1 megs
|
|
||||||
calligra-stage # ~3 megs
|
|
||||||
#kdeartwork # only include some parts of kdeartwork
|
#kdeartwork # only include some parts of kdeartwork
|
||||||
#twinkle # (~10 megs)
|
|
||||||
fuse
|
fuse
|
||||||
liveusb-creator
|
liveusb-creator
|
||||||
|
|
||||||
@@ -47,7 +41,6 @@ kdegames-minimal
|
|||||||
|
|
||||||
# fonts (we make no bones about admitting we're english-only)
|
# fonts (we make no bones about admitting we're english-only)
|
||||||
wqy-microhei-fonts # a compact CJK font, to replace:
|
wqy-microhei-fonts # a compact CJK font, to replace:
|
||||||
-nhn-nanum-gothic-fonts # Korean (old name, still in comps)
|
|
||||||
-naver-nanum-gothic-fonts # Korean
|
-naver-nanum-gothic-fonts # Korean
|
||||||
-vlgothic-fonts # Japanese
|
-vlgothic-fonts # Japanese
|
||||||
-adobe-source-han-sans-cn-fonts # simplified Chinese
|
-adobe-source-han-sans-cn-fonts # simplified Chinese
|
||||||
|
|||||||
@@ -7,104 +7,66 @@
|
|||||||
%include fedora-live-minimization.ks
|
%include fedora-live-minimization.ks
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
# First, no office
|
|
||||||
-planner
|
# some apps from mate-applications
|
||||||
|
caja-actions
|
||||||
|
mate-disk-usage-analyzer
|
||||||
|
mate-netspeed
|
||||||
|
mate-themes-extras
|
||||||
|
|
||||||
|
# more backgrounds
|
||||||
|
f22-backgrounds-mate
|
||||||
|
f21-backgrounds-extras-base
|
||||||
|
f21-backgrounds-extras-mate
|
||||||
|
|
||||||
|
# system tools
|
||||||
|
system-config-printer
|
||||||
|
system-config-printer-applet
|
||||||
|
|
||||||
|
# audio player
|
||||||
|
audacious
|
||||||
|
|
||||||
|
# office
|
||||||
|
@libreoffice
|
||||||
|
|
||||||
|
# dsl tools
|
||||||
|
rp-pppoe
|
||||||
|
|
||||||
# Drop things for size
|
# Drop things for size
|
||||||
-@3d-printing
|
-@3d-printing
|
||||||
-brasero
|
-brasero
|
||||||
-bluez
|
-bluez
|
||||||
-bluez-cups
|
-bluez-cups
|
||||||
-@dial-up
|
-colord
|
||||||
-dnf
|
-fedora-icon-theme
|
||||||
|
-GConf2
|
||||||
-gnome-bluetooth-libs
|
-gnome-bluetooth-libs
|
||||||
|
-gnome-icon-theme
|
||||||
-gnome-icon-theme-symbolic
|
-gnome-icon-theme-symbolic
|
||||||
-gnome-software
|
-gnome-software
|
||||||
|
-gnome-themes
|
||||||
|
-gnome-themes-standard
|
||||||
-gnome-user-docs
|
-gnome-user-docs
|
||||||
-@guest-desktop-agents
|
|
||||||
-@libreoffice
|
|
||||||
-@mate-applications
|
-@mate-applications
|
||||||
-mate-icon-theme-faenza
|
-mate-icon-theme-faenza
|
||||||
-transmission-gtk
|
-NetworkManager-bluetooth
|
||||||
-samba-client
|
|
||||||
-gnome-themes
|
|
||||||
-fedora-icon-theme
|
|
||||||
-espeak
|
|
||||||
-gstreamer-plugins-espeak
|
|
||||||
-ibus-typing-booster
|
|
||||||
-ibus-kkc
|
|
||||||
-libkkc
|
|
||||||
-libkkc-data #save 30MB
|
|
||||||
-skkdic # save 25MB
|
|
||||||
-ibus-libpinyin
|
|
||||||
-libpinyin
|
|
||||||
-libpinyin-data #save 31MB
|
|
||||||
-colord
|
|
||||||
|
|
||||||
# Drop oversized fonts that aren't needed
|
# Drop oversized fonts that aren't needed
|
||||||
-adobe-source-han-* # save 94MB
|
|
||||||
-naver-nanum-gothic-fonts # save 14MB
|
|
||||||
-stix-fonts
|
|
||||||
-vlgothic-fonts
|
|
||||||
-paratype-pt-sans-fonts
|
|
||||||
-jomolhari-fonts
|
|
||||||
-sil-abyssinica-fonts
|
|
||||||
|
|
||||||
# Drop the Java plugin
|
|
||||||
-icedtea-web
|
|
||||||
-java-1.8.0-openjdk
|
|
||||||
|
|
||||||
# Drop things that pull in perl
|
# Drop things that pull in perl
|
||||||
-linux-atm
|
|
||||||
|
|
||||||
# No printing
|
|
||||||
-foomatic-db-ppds
|
|
||||||
-foomatic
|
|
||||||
-gutenprint
|
|
||||||
-gutenprint-cups
|
|
||||||
-gutenprint-libs
|
|
||||||
|
|
||||||
# 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.
|
||||||
# also see http://bugzilla.gnome.org/681084
|
# also see http://bugzilla.gnome.org/681084
|
||||||
-aspell-*
|
|
||||||
-man-pages*
|
|
||||||
-words
|
|
||||||
|
|
||||||
# Help and art can be big, too
|
# Help and art can be big, too
|
||||||
-gnome-user-docs
|
-gnome-user-docs
|
||||||
-evolution-help
|
-evolution-help
|
||||||
-desktop-backgrounds-basic
|
|
||||||
-*backgrounds-extras
|
|
||||||
|
|
||||||
# Legacy cmdline things we don't want
|
# Legacy cmdline things we don't want
|
||||||
-krb5-auth-dialog
|
-telnet
|
||||||
-krb5-workstation
|
|
||||||
-pam_krb5
|
|
||||||
-quota
|
|
||||||
-nano
|
|
||||||
-minicom
|
|
||||||
-dos2unix
|
|
||||||
-finger
|
|
||||||
-ftp
|
|
||||||
-jwhois
|
|
||||||
-mtr
|
|
||||||
-pinfo
|
|
||||||
-rsh
|
|
||||||
-nfs-utils
|
|
||||||
-ypbind
|
|
||||||
-yp-tools
|
|
||||||
-rpcbind
|
|
||||||
-acpid
|
|
||||||
-ntsysv
|
|
||||||
|
|
||||||
# Drop some system-config things
|
|
||||||
-system-config-language
|
|
||||||
-system-config-printer
|
|
||||||
-system-config-rootpassword
|
|
||||||
-system-config-services
|
|
||||||
-policycoreutils-gui
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
@@ -75,7 +75,6 @@ gnome-keyring-pam
|
|||||||
-packETH
|
-packETH
|
||||||
-pads
|
-pads
|
||||||
-pdfcrack
|
-pdfcrack
|
||||||
-picviz-gui
|
|
||||||
-proxychains
|
-proxychains
|
||||||
-pyrit
|
-pyrit
|
||||||
-raddump
|
-raddump
|
||||||
@@ -88,9 +87,7 @@ gnome-keyring-pam
|
|||||||
-tcpreplay
|
-tcpreplay
|
||||||
-tripwire
|
-tripwire
|
||||||
-wipe
|
-wipe
|
||||||
|
-zmap
|
||||||
# Is not available for OpenVAS-7. No longer supported by upstream.
|
|
||||||
-openvas-client
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
@@ -76,13 +76,19 @@ sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.con
|
|||||||
sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
|
sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
|
||||||
|
|
||||||
# Don't use the default system user (in SoaS liveuser) as nick name
|
# Don't use the default system user (in SoaS liveuser) as nick name
|
||||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t string /desktop/sugar/user/default_nick disabled >/dev/null
|
|
||||||
|
|
||||||
# Disable the logout menu item in Sugar
|
# Disable the logout menu item in Sugar
|
||||||
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/sugar/show_logout false >/dev/null
|
|
||||||
|
|
||||||
# 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
|
cat >/usr/share/glib-2.0/schemas/sugar.soas.gschema.override <<EOF
|
||||||
|
[org.sugarlabs.user]
|
||||||
|
default-nick='disabled'
|
||||||
|
|
||||||
|
[org.sugarlabs]
|
||||||
|
show-logout=false
|
||||||
|
|
||||||
|
[org.sugarlabs.power]
|
||||||
|
automatic=true
|
||||||
|
EOF
|
||||||
|
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/sugar.soas.gschema.override
|
||||||
|
|
||||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||||
# set up lightdm autologin
|
# set up lightdm autologin
|
||||||
|
|||||||
@@ -1,59 +0,0 @@
|
|||||||
# Description : Live DVD image for Fedora/Free Electronic Lab
|
|
||||||
#
|
|
||||||
# Maintainer(s):
|
|
||||||
# - Chitlesh Goorah <chitlesh a fedoraproject.org>
|
|
||||||
# - Thibault North <tnorth a fedoraproject.org>
|
|
||||||
|
|
||||||
%include fedora-livecd-desktop.ks
|
|
||||||
|
|
||||||
# DVD payload
|
|
||||||
part / --size 10240
|
|
||||||
|
|
||||||
%packages
|
|
||||||
|
|
||||||
@electronic-lab
|
|
||||||
|
|
||||||
# Support for the Milkymist hardware community
|
|
||||||
@milkymist
|
|
||||||
|
|
||||||
|
|
||||||
# Office
|
|
||||||
dia
|
|
||||||
vym
|
|
||||||
libreoffice-writer
|
|
||||||
libreoffice-calc
|
|
||||||
libreoffice-impress
|
|
||||||
#libreoffice-extendedPDF
|
|
||||||
planner
|
|
||||||
graphviz
|
|
||||||
|
|
||||||
|
|
||||||
# debugging tools
|
|
||||||
make
|
|
||||||
gdb
|
|
||||||
valgrind
|
|
||||||
kdbg
|
|
||||||
wireshark-gnome
|
|
||||||
qemu
|
|
||||||
|
|
||||||
|
|
||||||
# EDA/CAD department
|
|
||||||
perl-Test-Pod
|
|
||||||
perl-Test-Pod-Coverage
|
|
||||||
|
|
||||||
|
|
||||||
# Removing unnecessary packages from the desktop spin
|
|
||||||
-abiword
|
|
||||||
-@games
|
|
||||||
-gimp
|
|
||||||
-gimp-libs
|
|
||||||
-gimp-data-extras
|
|
||||||
-kdebluetooth
|
|
||||||
-kbluetooth
|
|
||||||
-rdesktop
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post
|
|
||||||
|
|
||||||
%end
|
|
||||||
@@ -53,7 +53,7 @@ maniadrive-music
|
|||||||
megaglest
|
megaglest
|
||||||
nethack-vultures
|
nethack-vultures
|
||||||
netpanzer
|
netpanzer
|
||||||
neverball
|
#neverball #cut for size
|
||||||
nogravity
|
nogravity
|
||||||
pinball
|
pinball
|
||||||
scorched3d
|
scorched3d
|
||||||
@@ -171,7 +171,6 @@ celestia
|
|||||||
childsplay
|
childsplay
|
||||||
gcompris
|
gcompris
|
||||||
planets
|
planets
|
||||||
stellarium
|
|
||||||
tuxpaint
|
tuxpaint
|
||||||
tuxpaint-stamps
|
tuxpaint-stamps
|
||||||
tuxtype2
|
tuxtype2
|
||||||
|
|||||||
@@ -48,21 +48,26 @@ ddd
|
|||||||
valgrind
|
valgrind
|
||||||
|
|
||||||
#python 2 tools/libraries not included from the groups
|
#python 2 tools/libraries not included from the groups
|
||||||
|
python-tools
|
||||||
python-ipython
|
python-ipython
|
||||||
python-ipython-console
|
python-ipython-console
|
||||||
python-ipython-notebook
|
python-ipython-notebook
|
||||||
sympy
|
sympy
|
||||||
python-networkx
|
python-networkx
|
||||||
|
python-pandas
|
||||||
|
|
||||||
#python 3 and tools/libraries not included from the groups
|
#python 3 and tools/libraries not included from the groups
|
||||||
python3
|
python3
|
||||||
|
python3-tools
|
||||||
python3-matplotlib
|
python3-matplotlib
|
||||||
python3-scipy
|
python3-scipy
|
||||||
python3-numpy
|
python3-numpy
|
||||||
python3-ipython
|
python3-ipython
|
||||||
python3-ipython-console
|
python3-ipython-console
|
||||||
python3-ipython-notebook
|
python3-ipython-notebook
|
||||||
|
python3-sympy
|
||||||
python3-networkx
|
python3-networkx
|
||||||
|
python3-pandas
|
||||||
|
|
||||||
# matplotlib backends
|
# matplotlib backends
|
||||||
python-matplotlib-qt4
|
python-matplotlib-qt4
|
||||||
@@ -166,6 +171,10 @@ hevea
|
|||||||
#Include Mozilla Firefox
|
#Include Mozilla Firefox
|
||||||
firefox
|
firefox
|
||||||
|
|
||||||
|
# Omit KDE 4 translations for now: https://bugzilla.redhat.com/show_bug.cgi?id=1197940
|
||||||
|
-kde-l10n-*
|
||||||
|
-calligra-l10n-*
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
%packages
|
%packages
|
||||||
-realmd # only seems to be used in GNOME
|
|
||||||
-PackageKit* # we switched to yumex, so we don't need this
|
-PackageKit* # we switched to yumex, so we don't need this
|
||||||
-ConsoleKit # ConsoleKit is deprecated
|
-ConsoleKit # ConsoleKit is deprecated
|
||||||
-ConsoleKit-x11 # ConsoleKit is deprecated
|
-ConsoleKit-x11 # ConsoleKit is deprecated
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
|
repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
|
||||||
repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$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/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch
|
#repo --name=updates-testing --mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
repo --name=rawhide --mirrorlist=https://mirrors.fedoraproject.org/metalink?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-not-rawhide.ks
|
%include fedora-repo-not-rawhide.ks
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
# - Sebastian Dziallas <sdz AT fedoraproject DOT org>
|
# - Sebastian Dziallas <sdz AT fedoraproject DOT org>
|
||||||
# - Mel Chua <mchua AT fedoraproject DOT org>
|
# - Mel Chua <mchua AT fedoraproject DOT org>
|
||||||
|
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
-@fonts
|
-@fonts
|
||||||
-@dial-up
|
-@dial-up
|
||||||
@@ -29,6 +28,18 @@
|
|||||||
-realmd
|
-realmd
|
||||||
-eekboard-libs
|
-eekboard-libs
|
||||||
-open-vm-tools*
|
-open-vm-tools*
|
||||||
|
-gfs2-utils
|
||||||
|
-abrt-cli
|
||||||
|
-ibus*
|
||||||
|
-hyperv-daemons
|
||||||
|
|
||||||
|
# Add some extra fonts
|
||||||
|
dejavu-sans-fonts
|
||||||
|
dejavu-sans-mono-fonts
|
||||||
|
madan-fonts
|
||||||
|
aajohan-comfortaa-fonts
|
||||||
|
sil-abyssinica-fonts
|
||||||
|
vlgothic-fonts
|
||||||
|
|
||||||
# == Core Sugar Platform ==
|
# == Core Sugar Platform ==
|
||||||
@sugar-desktop
|
@sugar-desktop
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
# Exclude unwanted groups that fedora-live-base.ks pulls in
|
# Exclude unwanted groups that fedora-live-base.ks pulls in
|
||||||
-@dial-up
|
-@dial-up
|
||||||
|
-@fedora-release-nonproduct
|
||||||
-@input-methods
|
-@input-methods
|
||||||
-@standard
|
-@standard
|
||||||
|
|
||||||
@@ -18,6 +19,9 @@
|
|||||||
@printing
|
@printing
|
||||||
@workstation-product
|
@workstation-product
|
||||||
|
|
||||||
|
# Branding for the installer
|
||||||
|
fedora-productimg-workstation
|
||||||
|
|
||||||
# Exclude unwanted packages from @anaconda-tools group
|
# Exclude unwanted packages from @anaconda-tools group
|
||||||
-gfs2-utils
|
-gfs2-utils
|
||||||
-reiserfs-utils
|
-reiserfs-utils
|
||||||
|
|||||||
@@ -21,43 +21,20 @@
|
|||||||
|
|
||||||
# unlock default keyring. FIXME: Should probably be done in comps
|
# unlock default keyring. FIXME: Should probably be done in comps
|
||||||
gnome-keyring-pam
|
gnome-keyring-pam
|
||||||
|
# Add some screensavers, people seem to like them
|
||||||
|
# Note that blank is still default.
|
||||||
|
xscreensaver-extras
|
||||||
|
wget
|
||||||
|
system-config-printer
|
||||||
|
|
||||||
# save some space
|
# save some space
|
||||||
-autofs
|
-autofs
|
||||||
-pidgin
|
|
||||||
-acpid
|
-acpid
|
||||||
-gimp-help
|
-gimp-help
|
||||||
-desktop-backgrounds-basic
|
-desktop-backgrounds-basic
|
||||||
-realmd # only seems to be used in GNOME
|
-realmd # only seems to be used in GNOME
|
||||||
-PackageKit* # we switched to yumex, so we don't need this
|
-PackageKit* # we switched to yumex, so we don't need this
|
||||||
-aspell-* # dictionaries are big
|
-aspell-* # dictionaries are big
|
||||||
-gnumeric
|
|
||||||
-foomatic-db-ppds
|
|
||||||
-foomatic
|
|
||||||
-gutenprint
|
|
||||||
-gutenprint-cups
|
|
||||||
-stix-fonts
|
|
||||||
-ibus-typing-booster
|
|
||||||
-xfce4-sensors-plugin
|
-xfce4-sensors-plugin
|
||||||
#-man-pages-*
|
|
||||||
-adobe-source-han-* # save 94MB
|
|
||||||
-rodent-icon-theme # save 34MB
|
|
||||||
-skkdic # save 25MB
|
|
||||||
-naver-nanum-gothic-fonts # save 14MB
|
|
||||||
-ibus-kkc
|
|
||||||
-ibus-libpinyin
|
|
||||||
-libpinyin-data
|
|
||||||
-libkkc-data
|
|
||||||
# Drop some fonts for space
|
|
||||||
-vlgothic-fonts
|
|
||||||
-paratype-pt-sans-fonts
|
|
||||||
-jomolhari-fonts
|
|
||||||
-sil-abyssinica-fonts
|
|
||||||
|
|
||||||
# drop some system-config things
|
|
||||||
-system-config-network
|
|
||||||
-system-config-rootpassword
|
|
||||||
#-system-config-services
|
|
||||||
-policycoreutils-gui
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
# fedora-livecd-desktop-de_CH.ks
|
# fedora-live-workstation-de_CH.ks
|
||||||
#
|
#
|
||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Fabian Affolter <fab at fedoraproject.org>
|
# - Fabian Affolter <fab at fedoraproject.org>
|
||||||
|
|
||||||
%include ../fedora-livecd-desktop.ks
|
%include ../fedora-live-workstation.ks
|
||||||
|
|
||||||
lang de_DE.UTF-8
|
lang de_DE.UTF-8
|
||||||
keyboard sg-latin1-nodeadkeys
|
keyboard sg-latin1-nodeadkeys
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
# fedora-livecd-desktop-de_DE.ks
|
# fedora-live-workstation-de_DE.ks
|
||||||
#
|
#
|
||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
||||||
|
|
||||||
%include ../fedora-livecd-desktop.ks
|
%include ../fedora-live-workstation.ks
|
||||||
|
|
||||||
lang de_DE.UTF-8
|
lang de_DE.UTF-8
|
||||||
keyboard de-latin1-nodeadkeys
|
keyboard de-latin1-nodeadkeys
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# fedora-livecd-desktop-fr_FR.ks
|
# fedora-live-workstation-fr_FR.ks
|
||||||
#
|
#
|
||||||
# Description:
|
# Description:
|
||||||
# - French Fedora Live Spin with the Gnome Desktop Environment
|
# - French Fedora Live Spin with the Gnome Desktop Environment
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Matthieu Saulnier <fantom@fedoraproject.org>
|
# - Matthieu Saulnier <fantom@fedoraproject.org>
|
||||||
|
|
||||||
%include ../fedora-livecd-desktop.ks
|
%include ../fedora-live-workstation.ks
|
||||||
|
|
||||||
lang fr_FR.UTF-8
|
lang fr_FR.UTF-8
|
||||||
keyboard fr-latin9
|
keyboard fr-latin9
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
# fedora-livecd-desktop-nl_NL.ks
|
# fedora-live-workstation-nl_NL.ks
|
||||||
#
|
#
|
||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
||||||
|
|
||||||
%include ../fedora-livecd-desktop.ks
|
%include ../fedora-live-workstation.ks
|
||||||
|
|
||||||
lang nl_NL.UTF-8
|
lang nl_NL.UTF-8
|
||||||
keyboard us
|
keyboard us
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
# fedora-livecd-desktop-pt_BR.ks
|
# fedora-live-workstation-pt_BR.ks
|
||||||
#
|
#
|
||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Igor Pires Soares <igor at projetofedora.org>
|
# - Igor Pires Soares <igor at projetofedora.org>
|
||||||
|
|
||||||
%include ../fedora-livecd-desktop.ks
|
%include ../fedora-live-workstation.ks
|
||||||
|
|
||||||
lang pt_BR.UTF-8
|
lang pt_BR.UTF-8
|
||||||
keyboard br-abnt2
|
keyboard br-abnt2
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
# fedora-livecd-desktop-pt_PT.ks
|
# fedora-live-workstation-pt_PT.ks
|
||||||
#
|
#
|
||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Pedro Silva <pedrofsilva a netcabo.pt>
|
# - Pedro Silva <pedrofsilva a netcabo.pt>
|
||||||
|
|
||||||
%include ../fedora-livecd-desktop.ks
|
%include ../fedora-live-workstation.ks
|
||||||
|
|
||||||
lang pt_PT.UTF-8
|
lang pt_PT.UTF-8
|
||||||
keyboard pt-latin1
|
keyboard pt-latin1
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
# fedora-livecd-desktop-ru_RU.ks
|
# fedora-live-workstation-ru_RU.ks
|
||||||
#
|
#
|
||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# Sergey Mihailov <sergey.mihailov at gmail.com>
|
# Sergey Mihailov <sergey.mihailov at gmail.com>
|
||||||
|
|
||||||
%include ../fedora-livecd-desktop.ks
|
%include ../fedora-live-workstation.ks
|
||||||
|
|
||||||
lang ru_RU.UTF-8
|
lang ru_RU.UTF-8
|
||||||
keyboard ru
|
keyboard ru
|
||||||
Reference in New Issue
Block a user