mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-09 00:20:31 +08:00
Compare commits
396 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b5bfeaf8f3 | ||
|
|
885bef6712 | ||
|
|
6e53fc1a51 | ||
|
|
0a408bc655 | ||
|
|
c033c03c08 | ||
|
|
16a5bf2a4d | ||
|
|
6ef2d02a30 | ||
|
|
b8947535a2 | ||
|
|
72a583d4a4 | ||
|
|
7a6f83699b | ||
|
|
76d2df7147 | ||
|
|
1fd1f6d138 | ||
|
|
94ab41ccd3 | ||
|
|
5f90422b0e | ||
|
|
c7094bf8ab | ||
|
|
906bbfee12 | ||
|
|
a9325d0503 | ||
|
|
0a2751d382 | ||
|
|
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 | ||
|
|
8d5f9bb321 | ||
|
|
395757c4b6 | ||
|
|
5f7ca87f01 | ||
|
|
3b362be489 | ||
|
|
79fef84e8f | ||
|
|
09661de452 | ||
|
|
30680a984e | ||
|
|
5f0fcd1d5e | ||
|
|
3ae4c4139a | ||
|
|
f64b8c7353 | ||
|
|
8ba8270ff8 | ||
|
|
151836c00d | ||
|
|
ef404752a2 | ||
|
|
96a16eefc4 | ||
|
|
fff32ba339 | ||
|
|
fdacfc48cd | ||
|
|
7df1d7ab82 | ||
|
|
91e15f750c | ||
|
|
9d66334a55 | ||
|
|
ca1c7727aa | ||
|
|
731df4402e | ||
|
|
3eafe889d9 | ||
|
|
d3a2195d57 | ||
|
|
d338e1456a | ||
|
|
94283bfff2 | ||
|
|
cc5246b9ba | ||
|
|
0edeedbde3 | ||
|
|
dcb9dc8ec8 | ||
|
|
5e49468d39 | ||
|
|
cece80a91b | ||
|
|
a7e8a12ce7 | ||
|
|
6140729189 | ||
|
|
22c7c00a6b | ||
|
|
e65263fa4a | ||
|
|
629c19368c | ||
|
|
ad74864bd6 | ||
|
|
72304db676 | ||
|
|
745387e20e | ||
|
|
47e7a468e0 | ||
|
|
ff66f181a8 | ||
|
|
d2b1c2a323 | ||
|
|
a23371ece0 | ||
|
|
e04141ef29 | ||
|
|
cf21afd8b0 | ||
|
|
2b64928357 | ||
|
|
89a63ee25a | ||
|
|
5c326c797b | ||
|
|
a493743f9e | ||
|
|
b0850152d8 | ||
|
|
8180b563f1 | ||
|
|
022cc883c0 | ||
|
|
bc28d4e272 | ||
|
|
7d8b302b9f | ||
|
|
56085be1db | ||
|
|
ceba259b5a | ||
|
|
e8ca9581eb | ||
|
|
04ec88194a | ||
|
|
b73614d1e1 | ||
|
|
2fa7a61c8e | ||
|
|
44dd601bc4 | ||
|
|
b5c6a9265b | ||
|
|
65190cd71f | ||
|
|
4e610f4fae | ||
|
|
ec2dce353f | ||
|
|
f2e4d2629e | ||
|
|
ba1430e757 | ||
|
|
398ba1441b | ||
|
|
dbeebcaca1 | ||
|
|
d81d7e30c5 | ||
|
|
c2c9381978 | ||
|
|
6b5a6951c8 | ||
|
|
1eaff68343 | ||
|
|
a505605420 | ||
|
|
7f9d8fbe7a | ||
|
|
ae95c23f2f | ||
|
|
e60fa6ff31 | ||
|
|
7426bd8c0f | ||
|
|
0edba30722 | ||
|
|
84abe1643c | ||
|
|
4c741afb8e | ||
|
|
01183e9516 | ||
|
|
f18156010c | ||
|
|
426bd4e1e7 | ||
|
|
841a2908f4 | ||
|
|
c90a8409a4 | ||
|
|
604f71d449 | ||
|
|
48da3aacb7 | ||
|
|
dba6e97afe | ||
|
|
88e267d5b7 | ||
|
|
596e4a84f7 | ||
|
|
6d305f2685 | ||
|
|
a641c933b9 | ||
|
|
c42bafdd9b | ||
|
|
2b7bfc67a5 | ||
|
|
b9f6e8b3e1 | ||
|
|
f844fe2791 | ||
|
|
c42ccad987 | ||
|
|
e8e1e59fb0 | ||
|
|
26cce5f5dc | ||
|
|
a272436f45 | ||
|
|
6cc4bb9b19 | ||
|
|
f8d6e01d07 | ||
|
|
e8bbd2f00b | ||
|
|
d4b5366a57 | ||
|
|
e1778df1fe | ||
|
|
1f37a24e7a | ||
|
|
dd1f2890a0 | ||
|
|
e41164127e | ||
|
|
57a518fdea | ||
|
|
42b2c22ddc | ||
|
|
5d35678eb9 | ||
|
|
a5f3d45341 | ||
|
|
39725ad62a | ||
|
|
8c34b5ffa9 | ||
|
|
b8472d7f87 | ||
|
|
54415d973c | ||
|
|
cfb0130681 | ||
|
|
c847f5b78f | ||
|
|
d998406bae | ||
|
|
2e8e82a93d | ||
|
|
d8f9852e47 | ||
|
|
09a1dd5807 | ||
|
|
ccd8c30b88 | ||
|
|
854d60c781 | ||
|
|
9470ce8863 | ||
|
|
08f336ed40 | ||
|
|
40f4327565 | ||
|
|
85220e627b | ||
|
|
ffb9dc20a5 | ||
|
|
c6112064c0 | ||
|
|
352a416c61 | ||
|
|
922fff0b59 | ||
|
|
91a9117bc4 | ||
|
|
07ed9c93b2 | ||
|
|
8f0370b13f | ||
|
|
41845d3dc4 | ||
|
|
70e4580977 | ||
|
|
c6f36e4c10 | ||
|
|
c8ddd8dc4e | ||
|
|
09ac8634dd | ||
|
|
fede4b181c | ||
|
|
8c563ee734 | ||
|
|
77ea37a424 | ||
|
|
d3410ae947 | ||
|
|
a382d63c17 | ||
|
|
74f896bdbf | ||
|
|
33e214ee06 | ||
|
|
51673c1ddc | ||
|
|
c430042f08 | ||
|
|
24e8c12302 | ||
|
|
fe5b6843ac | ||
|
|
9b40e37957 | ||
|
|
56bc67430b | ||
|
|
41b3b4dea6 | ||
|
|
adfe66c38f | ||
|
|
ab82d07e4f | ||
|
|
8bf40fdc8e | ||
|
|
6f76dabb74 | ||
|
|
0741647868 | ||
|
|
681365531c | ||
|
|
1bdc87189a | ||
|
|
9a57bcfb07 | ||
|
|
d275ae9403 | ||
|
|
6aa8533f0e | ||
|
|
32e066e039 | ||
|
|
1cbf4f481f | ||
|
|
e853d96f22 | ||
|
|
bb14cdd406 | ||
|
|
ff93964670 | ||
|
|
2dfb8c0758 | ||
|
|
7492604654 | ||
|
|
1288d6007d | ||
|
|
96cf7a22e5 | ||
|
|
b9dc4f5f49 | ||
|
|
045b630a4e | ||
|
|
4df45db78e | ||
|
|
6d05550b86 | ||
|
|
573d47ed00 | ||
|
|
61239d49f4 | ||
|
|
1f41edbb13 | ||
|
|
62a0e57497 | ||
|
|
e51dfb813a | ||
|
|
c6f9b71b37 | ||
|
|
217620ac55 | ||
|
|
987c05cc5e | ||
|
|
8f0b1a1f68 | ||
|
|
d26fba8808 | ||
|
|
d96f923c04 | ||
|
|
6dfda6e355 | ||
|
|
f3b92ac9e0 | ||
|
|
528f3500f2 | ||
|
|
c9fa0ffb82 | ||
|
|
9562f29b46 | ||
|
|
aa0ea4aa4d | ||
|
|
c08f8c215f | ||
|
|
5664467ce1 | ||
|
|
cfd1288c29 | ||
|
|
e1715dc151 | ||
|
|
431bc90632 | ||
|
|
4fcffa3b92 | ||
|
|
aaa3151692 | ||
|
|
5ee23ccea9 | ||
|
|
f7b98bb655 | ||
|
|
29f179c805 | ||
|
|
947fd69d5f | ||
|
|
da24aef084 | ||
|
|
58345f2cc3 | ||
|
|
da40dc8382 | ||
|
|
1f12485e42 | ||
|
|
2be322d626 | ||
|
|
11631d6481 | ||
|
|
f0a4cbb934 | ||
|
|
97426b8c93 | ||
|
|
168dcbf3d2 | ||
|
|
4411338736 | ||
|
|
ca841d2202 | ||
|
|
724f5bd19a | ||
|
|
3c4e8b4727 | ||
|
|
70c1555960 | ||
|
|
b52ecec428 | ||
|
|
8c702acbc5 | ||
|
|
4f4d1d082a | ||
|
|
a47186bb67 | ||
|
|
681485e85f | ||
|
|
f8f7efb3f7 | ||
|
|
a466042a77 | ||
|
|
763d6892ed | ||
|
|
ee950ce8cf | ||
|
|
279c21441c | ||
|
|
c79eede0d7 | ||
|
|
cc9c456047 | ||
|
|
ec9017b587 | ||
|
|
c9f3aed3d6 | ||
|
|
9556cf3bc0 | ||
|
|
bf294a002c | ||
|
|
b0d3bb2b25 | ||
|
|
0f3f36d2c5 | ||
|
|
6bb61fa057 | ||
|
|
d79ee1b027 | ||
|
|
bdf04f705a | ||
|
|
69c0debc5d | ||
|
|
1d87b18f46 | ||
|
|
12e9f1e583 | ||
|
|
53643faf8f | ||
|
|
3cd8f80d1b | ||
|
|
314afb81d0 | ||
|
|
0ecefe0230 | ||
|
|
247595b762 |
1
.sparkleshare
Normal file
1
.sparkleshare
Normal file
@@ -0,0 +1 @@
|
|||||||
|
d6afc629dc9311ebd79b4cedb2775531065ecb05
|
||||||
16
Makefile
16
Makefile
@@ -1,9 +1,5 @@
|
|||||||
# Get the version name first by seeing if HEAD is tagged
|
# Get a version name based off the nearest tag (include lightweight tags)
|
||||||
version := $(shell git tag --points-at HEAD)
|
version := $(shell git describe --tags)
|
||||||
# And if it wasn't use a git hash
|
|
||||||
ifeq ($(version),)
|
|
||||||
version := $(shell git log -1 --abbrev=8 --pretty=git%h)
|
|
||||||
endif
|
|
||||||
|
|
||||||
DESTDIR := /usr
|
DESTDIR := /usr
|
||||||
|
|
||||||
@@ -22,16 +18,16 @@ install:
|
|||||||
install -m 644 custom/* $(DATADIR)/$(name)/custom
|
install -m 644 custom/* $(DATADIR)/$(name)/custom
|
||||||
mkdir -p -m 755 $(DATADIR)/$(name)/l10n
|
mkdir -p -m 755 $(DATADIR)/$(name)/l10n
|
||||||
install -m 644 l10n/* $(DATADIR)/$(name)/l10n
|
install -m 644 l10n/* $(DATADIR)/$(name)/l10n
|
||||||
mkdir -p -m 755 $(DOCDIR)/$(name)-$(version)
|
|
||||||
install -m 644 AUTHORS COPYING README $(DOCDIR)/$(name)-$(version)
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(name)-*.tar.gz
|
rm -f $(name)-*.tar.gz
|
||||||
|
|
||||||
dist:
|
dist: $(name)-$(version).tar.gz
|
||||||
|
|
||||||
|
$(name)-$(version).tar.gz:
|
||||||
git archive --format=tar --prefix=$(name)-$(version)/ HEAD | gzip > $(name)-$(version).tar.gz
|
git archive --format=tar --prefix=$(name)-$(version)/ HEAD | gzip > $(name)-$(version).tar.gz
|
||||||
|
|
||||||
publish:
|
publish: $(name)-$(version).tar.gz
|
||||||
scp $(name)-$(version).tar.gz fedorahosted.org:$(name)
|
scp $(name)-$(version).tar.gz fedorahosted.org:$(name)
|
||||||
|
|
||||||
dist-clean:
|
dist-clean:
|
||||||
|
|||||||
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\nostree remote add --set=gpg-verify=false fedora-atomic 'http://dl.fedoraproject.org/pub/fedora/linux/atomic/22/'\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
|
||||||
@@ -66,7 +66,6 @@ selinux --permissive
|
|||||||
-realmd
|
-realmd
|
||||||
-rhythmbox
|
-rhythmbox
|
||||||
-sane-backends*
|
-sane-backends*
|
||||||
-sendmail
|
|
||||||
-shotwell
|
-shotwell
|
||||||
-simple-scan
|
-simple-scan
|
||||||
-system-config-*
|
-system-config-*
|
||||||
@@ -136,29 +135,14 @@ ln -s /usr/share/applications/test-day-welcome.desktop /etc/xdg/autostart/
|
|||||||
# Remove anaconda welcome screen (if it exists), it would display instead of ours
|
# Remove anaconda welcome screen (if it exists), it would display instead of ours
|
||||||
rm -f /home/liveuser/.config/autostart/fedora-welcome.desktop
|
rm -f /home/liveuser/.config/autostart/fedora-welcome.desktop
|
||||||
|
|
||||||
# Change Firefox start page to open Test Day wiki and IRC chat
|
PREFDIR=`ls -d /usr/lib*/firefox/browser/defaults/preferences`
|
||||||
# (and a few more properties)
|
cat << FOE >> $PREFDIR/00-test-day.js
|
||||||
mkdir /tmp/firefox
|
|
||||||
unzip /usr/lib*/firefox/browser/omni.ja -d /tmp/firefox
|
|
||||||
|
|
||||||
cat << FOE > /tmp/firefox/chrome/en-US/locale/branding/browserconfig.properties
|
|
||||||
browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current | http://webchat.freenode.net/?channels=fedora-test-day
|
|
||||||
FOE
|
|
||||||
|
|
||||||
cat << FOE >> /tmp/firefox/defaults/preferences/firefox-branding.js
|
|
||||||
pref("startup.homepage_welcome_url","");
|
pref("startup.homepage_welcome_url","");
|
||||||
pref("startup.homepage_override_url","");
|
pref("startup.homepage_override_url","");
|
||||||
pref("browser.rights.3.shown", true);
|
pref("browser.rights.3.shown", true);
|
||||||
|
pref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current | http://webchat.freenode.net/?channels=fedora-test-day");
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# We need to re-zip the whole archive (instead of just updating files), because
|
|
||||||
# the original archive is "Firefox optimized" and updating doesn't work
|
|
||||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=605524
|
|
||||||
OMNIJA=`ls /usr/lib*/firefox/browser/omni.ja`
|
|
||||||
rm -f $OMNIJA
|
|
||||||
(cd /tmp/firefox; zip -r -0 $OMNIJA *)
|
|
||||||
rm -rf /tmp/firefox
|
|
||||||
|
|
||||||
# Adjust launchers in dash using a vendor override. (Adding a profile would
|
# Adjust launchers in dash using a vendor override. (Adding a profile would
|
||||||
# be another way to do this.)
|
# be another way to do this.)
|
||||||
cat << FOE >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override
|
cat << FOE >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override
|
||||||
|
|||||||
@@ -4,6 +4,13 @@ auth --useshadow --enablemd5
|
|||||||
selinux --enforcing
|
selinux --enforcing
|
||||||
firewall --enabled --service=mdns,ssh
|
firewall --enabled --service=mdns,ssh
|
||||||
|
|
||||||
|
# configure extlinux bootloader
|
||||||
|
bootloader extlinux
|
||||||
|
|
||||||
|
part /boot --size=512 --fstype ext3
|
||||||
|
part swap --size=512 --fstype swap
|
||||||
|
part / --size=3000 --fstype ext4
|
||||||
|
|
||||||
# make sure that initial-setup runs and lets us do all the configuration bits
|
# make sure that initial-setup runs and lets us do all the configuration bits
|
||||||
firstboot --reconfig
|
firstboot --reconfig
|
||||||
|
|
||||||
@@ -18,31 +25,45 @@ services --enabled=ssh,NetworkManager,avahi-daemon,rsyslog,chronyd --disabled=ne
|
|||||||
@dial-up
|
@dial-up
|
||||||
|
|
||||||
kernel
|
kernel
|
||||||
kernel-lpae
|
|
||||||
|
dracut-config-generic
|
||||||
|
|
||||||
chrony
|
chrony
|
||||||
arm-boot-config
|
arm-boot-config
|
||||||
|
extlinux-bootloader
|
||||||
initial-setup
|
initial-setup
|
||||||
|
initial-setup-gui
|
||||||
|
#lets resize / on first boot
|
||||||
|
# dracut-modules-growroot
|
||||||
|
|
||||||
|
# remove this in %post
|
||||||
|
dracut-config-generic
|
||||||
|
|
||||||
# install uboot images
|
# install uboot images
|
||||||
uboot-beagle
|
uboot-images-armv7
|
||||||
uboot-beaglebone
|
|
||||||
uboot-origen
|
|
||||||
uboot-panda
|
|
||||||
uboot-smdkv310
|
|
||||||
uboot-uevm
|
|
||||||
uboot-wandboard_dl
|
|
||||||
uboot-wandboard_solo
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
|
# work around for poor key import UI in PackageKit
|
||||||
|
rm -f /var/lib/rpm/__db*
|
||||||
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||||
|
basearch=armhfp
|
||||||
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||||
|
echo "Packages within this ARM disk image"
|
||||||
|
rpm -qa
|
||||||
|
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||||
|
rm -f /var/lib/rpm/__db*
|
||||||
|
|
||||||
# Because memory is scarce resource in most arm systems we are differing from the Fedora
|
# Because memory is scarce resource in most arm systems we are differing from the Fedora
|
||||||
# default of having /tmp on tmpfs.
|
# default of having /tmp on tmpfs.
|
||||||
echo "Disabling tmpfs for /tmp."
|
echo "Disabling tmpfs for /tmp."
|
||||||
systemctl mask tmp.mount
|
systemctl mask tmp.mount
|
||||||
|
|
||||||
/usr/sbin/a-b-c
|
/usr/sbin/a-b-c
|
||||||
|
|
||||||
|
yum -y remove dracut-config-generic
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
%include fedora-arm-base.ks
|
|
||||||
%include fedora-arm-xbase.ks
|
|
||||||
%include fedora-kde-packages.ks
|
|
||||||
%include fedora-arm-vfat-partitioning.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
|
|
||||||
@@ -1,7 +1,8 @@
|
|||||||
%include fedora-arm-base.ks
|
%include fedora-arm-base.ks
|
||||||
%include fedora-arm-xbase.ks
|
%include fedora-arm-xbase.ks
|
||||||
%include fedora-kde-packages.ks
|
%include fedora-kde-packages.ks
|
||||||
%include fedora-arm-partitioning.ks
|
|
||||||
|
part / --size=5000 --fstype ext4
|
||||||
|
|
||||||
%post
|
%post
|
||||||
echo -n "Enabling initial-setup gui mode on startup"
|
echo -n "Enabling initial-setup gui mode on startup"
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
%include fedora-arm-base.ks
|
|
||||||
%include fedora-arm-xbase.ks
|
|
||||||
%include fedora-lxde-packages.ks
|
|
||||||
%include fedora-arm-vfat-partitioning.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
|
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
%include fedora-arm-base.ks
|
%include fedora-arm-base.ks
|
||||||
%include fedora-arm-xbase.ks
|
%include fedora-arm-xbase.ks
|
||||||
%include fedora-lxde-packages.ks
|
%include fedora-lxde-packages.ks
|
||||||
%include fedora-arm-partitioning.ks
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
echo -n "Enabling initial-setup gui mode on startup"
|
echo -n "Enabling initial-setup gui mode on startup"
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
%include fedora-arm-base.ks
|
|
||||||
%include fedora-arm-xbase.ks
|
|
||||||
%include fedora-mate-packages.ks
|
|
||||||
%include fedora-arm-vfat-partitioning.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
|
|
||||||
@@ -1,7 +1,8 @@
|
|||||||
%include fedora-arm-base.ks
|
%include fedora-arm-base.ks
|
||||||
%include fedora-arm-xbase.ks
|
%include fedora-arm-xbase.ks
|
||||||
%include fedora-mate-packages.ks
|
%include fedora-mate-packages.ks
|
||||||
%include fedora-arm-partitioning.ks
|
|
||||||
|
part / --size=5000 --fstype ext4
|
||||||
|
|
||||||
%post
|
%post
|
||||||
echo -n "Enabling initial-setup gui mode on startup"
|
echo -n "Enabling initial-setup gui mode on startup"
|
||||||
|
|||||||
@@ -1,5 +1,15 @@
|
|||||||
%include fedora-arm-base.ks
|
%include fedora-arm-base.ks
|
||||||
%include fedora-arm-partitioning.ks
|
|
||||||
|
part /boot --size=300 --fstype ext3
|
||||||
|
part swap --size=256 --fstype swap
|
||||||
|
part / --size=1200 --fstype ext4
|
||||||
|
|
||||||
|
%packages
|
||||||
|
-@standard
|
||||||
|
-@dial-up
|
||||||
|
-initial-setup-gui
|
||||||
|
-generic-release*
|
||||||
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
bootloader --location=none
|
|
||||||
part /boot --size=512 --fstype ext3
|
|
||||||
part swap --size=512 --fstype swap
|
|
||||||
part / --grow --size=6500 --fstype ext4
|
|
||||||
|
|
||||||
@@ -1,5 +1,19 @@
|
|||||||
%include fedora-arm-base.ks
|
%include fedora-arm-base.ks
|
||||||
%include fedora-arm-vfat-partitioning.ks
|
|
||||||
|
# server defaults to xfs for / so lets do so on arm also
|
||||||
|
part / --size=3000 --fstype xfs
|
||||||
|
|
||||||
|
%packages
|
||||||
|
-@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
|
%post
|
||||||
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
%include fedora-arm-base.ks
|
|
||||||
%include fedora-arm-xbase.ks
|
|
||||||
%include fedora-soas-packages.ks
|
|
||||||
%include fedora-arm-vfat-partitioning.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
|
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
%include fedora-arm-base.ks
|
%include fedora-arm-base.ks
|
||||||
%include fedora-arm-xbase.ks
|
%include fedora-arm-xbase.ks
|
||||||
%include fedora-soas-packages.ks
|
%include fedora-soas-packages.ks
|
||||||
%include fedora-arm-partitioning.ks
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
echo -n "Enabling initial-setup gui mode on startup"
|
echo -n "Enabling initial-setup gui mode on startup"
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
bootloader --location=none
|
|
||||||
part /boot/uboot --size=20 --fstype vfat
|
|
||||||
part swap --size=512 --fstype swap
|
|
||||||
part / --grow --size=6500 --fstype ext4
|
|
||||||
|
|
||||||
12
fedora-arm-workstation.ks
Normal file
12
fedora-arm-workstation.ks
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
%include fedora-arm-base.ks
|
||||||
|
%include fedora-arm-xbase.ks
|
||||||
|
%include fedora-workstation-packages.ks
|
||||||
|
|
||||||
|
part / --size=5000 --fstype ext4
|
||||||
|
|
||||||
|
%packages
|
||||||
|
-initial-setup
|
||||||
|
-initial-setup-gui
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
@@ -6,15 +6,3 @@
|
|||||||
@printing
|
@printing
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
|
||||||
# X on arm does not detect the driver needed correctly so we need a snippet to set something
|
|
||||||
# using fbdev as the lowest common denominator.
|
|
||||||
|
|
||||||
cat > /etc/X11/xorg.conf.d/fbdev.conf <<EOF
|
|
||||||
Section "Device"
|
|
||||||
Identifier "Display"
|
|
||||||
Driver "fbdev"
|
|
||||||
EndSection
|
|
||||||
EOF
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
%include fedora-arm-base.ks
|
|
||||||
%include fedora-arm-xbase.ks
|
|
||||||
%include fedora-xfce-packages.ks
|
|
||||||
%include fedora-arm-vfat-partitioning.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
|
|
||||||
@@ -1,7 +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
|
||||||
%include fedora-arm-partitioning.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
|
||||||
|
|
||||||
119
fedora-cloud-atomic.ks
Normal file
119
fedora-cloud-atomic.ks
Normal file
@@ -0,0 +1,119 @@
|
|||||||
|
# Fedora Atomic is a cloud-focused spin implementing the Project
|
||||||
|
# Atomic patterns. Note that this replicates the same tree which can
|
||||||
|
# now be installed on bare metal.
|
||||||
|
|
||||||
|
# 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
|
||||||
|
lang en_US.UTF-8
|
||||||
|
keyboard us
|
||||||
|
timezone --utc Etc/UTC
|
||||||
|
|
||||||
|
auth --useshadow --enablemd5
|
||||||
|
selinux --enforcing
|
||||||
|
rootpw --lock --iscrypted locked
|
||||||
|
user --name=none
|
||||||
|
|
||||||
|
firewall --disabled
|
||||||
|
|
||||||
|
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||||
|
|
||||||
|
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||||
|
services --disabled=network
|
||||||
|
services --enabled=sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||||
|
|
||||||
|
zerombr
|
||||||
|
clearpart --all
|
||||||
|
# Atomic differs from cloud - we want LVM
|
||||||
|
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
|
||||||
|
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
|
||||||
|
|
||||||
|
%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/22/'
|
||||||
|
|
||||||
|
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||||
|
passwd -l root
|
||||||
|
# remove the user anaconda forces us to make
|
||||||
|
userdel -r none
|
||||||
|
|
||||||
|
# We can lead the way with the internal DHCP, see
|
||||||
|
# https://lists.fedoraproject.org/pipermail/cloud/2015-March/005119.html
|
||||||
|
echo "dhcp=internal" >> /etc/NetworkManager/NetworkManager.conf
|
||||||
|
|
||||||
|
echo -n "Getty fixes"
|
||||||
|
# although we want console output going to the serial console, we don't
|
||||||
|
# actually have the opportunity to login there. FIX.
|
||||||
|
# we don't really need to auto-spawn _any_ gettys.
|
||||||
|
sed -i '/^#NAutoVTs=.*/ a\
|
||||||
|
NAutoVTs=0' /etc/systemd/logind.conf
|
||||||
|
|
||||||
|
# For cloud images, 'eth0' _is_ the predictable device name, since
|
||||||
|
# we don't want to be tied to specific virtual (!) hardware
|
||||||
|
rm -f /etc/udev/rules.d/70*
|
||||||
|
ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
|
||||||
|
|
||||||
|
# simple eth0 config, again not hard-coded to the build hardware
|
||||||
|
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
|
||||||
|
DEVICE="eth0"
|
||||||
|
BOOTPROTO="dhcp"
|
||||||
|
ONBOOT="yes"
|
||||||
|
TYPE="Ethernet"
|
||||||
|
PERSISTENT_DHCLIENT="yes"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# generic localhost names
|
||||||
|
cat > /etc/hosts << EOF
|
||||||
|
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
||||||
|
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
||||||
|
|
||||||
|
EOF
|
||||||
|
echo .
|
||||||
|
|
||||||
|
|
||||||
|
# Because memory is scarce resource in most cloud/virt environments,
|
||||||
|
# and because this impedes forensics, we are differing from the Fedora
|
||||||
|
# default of having /tmp on tmpfs.
|
||||||
|
echo "Disabling tmpfs for /tmp."
|
||||||
|
systemctl mask tmp.mount
|
||||||
|
|
||||||
|
# make sure firstboot doesn't start
|
||||||
|
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
|
||||||
|
|
||||||
|
# Uncomment this if you want to use cloud init but suppress the creation
|
||||||
|
# of an "ec2-user" account. This will, in the absence of further config,
|
||||||
|
# cause the ssh key from a metadata source to be put in the root account.
|
||||||
|
#cat <<EOF > /etc/cloud/cloud.cfg.d/50_suppress_ec2-user_use_root.cfg
|
||||||
|
#users: []
|
||||||
|
#disable_root: 0
|
||||||
|
#EOF
|
||||||
|
|
||||||
|
echo "Removing random-seed so it's not the same in every image."
|
||||||
|
rm -f /var/lib/random-seed
|
||||||
|
|
||||||
|
echo "Packages within this cloud image:"
|
||||||
|
echo "-----------------------------------------------------------------------"
|
||||||
|
rpm -qa
|
||||||
|
echo "-----------------------------------------------------------------------"
|
||||||
|
# Note that running rpm recreates the rpm db files which aren't needed/wanted
|
||||||
|
rm -f /var/lib/rpm/__db*
|
||||||
|
|
||||||
|
echo "Zeroing out empty space."
|
||||||
|
# This forces the filesystem to reclaim space from deleted files
|
||||||
|
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
||||||
|
rm -f /var/tmp/zeros
|
||||||
|
echo "(Don't worry -- that out-of-space error was expected.)"
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
237
fedora-cloud-base.ks
Normal file
237
fedora-cloud-base.ks
Normal file
@@ -0,0 +1,237 @@
|
|||||||
|
# This is a basic Fedora 21 spin designed to work in OpenStack and other
|
||||||
|
# private cloud environments. It's configured with cloud-init so it will
|
||||||
|
# take advantage of ec2-compatible metadata services for provisioning ssh
|
||||||
|
# keys. Cloud-init creates a user account named "fedora" with passwordless
|
||||||
|
# sudo access. The root password is empty and locked by default.
|
||||||
|
#
|
||||||
|
# Note that unlike the standard F20 install, this image has /tmp on disk
|
||||||
|
# rather than in tmpfs, since memory is usually at a premium.
|
||||||
|
#
|
||||||
|
# This kickstart file is designed to be used with appliance-creator and
|
||||||
|
# may need slight modification for use with actual anaconda or other tools.
|
||||||
|
# We intend to target anaconda-in-a-vm style image building for F20.
|
||||||
|
|
||||||
|
cmdline
|
||||||
|
lang en_US.UTF-8
|
||||||
|
keyboard us
|
||||||
|
timezone --utc Etc/UTC
|
||||||
|
|
||||||
|
auth --useshadow --enablemd5
|
||||||
|
selinux --enforcing
|
||||||
|
rootpw --lock --iscrypted locked
|
||||||
|
user --name=none
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
zerombr
|
||||||
|
clearpart --all
|
||||||
|
part / --size 3000 --fstype ext4
|
||||||
|
|
||||||
|
%include fedora-repo.ks
|
||||||
|
|
||||||
|
reboot
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
kernel-core
|
||||||
|
@^cloud-server-environment
|
||||||
|
|
||||||
|
# rescue mode generally isn't useful in the cloud context
|
||||||
|
-dracut-config-rescue
|
||||||
|
|
||||||
|
# Some things from @core we can do without in a minimal install
|
||||||
|
-biosdevname
|
||||||
|
-plymouth
|
||||||
|
-NetworkManager
|
||||||
|
-iprutils
|
||||||
|
-kbd
|
||||||
|
-uboot-tools
|
||||||
|
-kernel
|
||||||
|
-grub2
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%post --erroronfail
|
||||||
|
|
||||||
|
# Create grub.conf for EC2. This used to be done by appliance creator but
|
||||||
|
# anaconda doesn't do it. And, in case appliance-creator is used, we're
|
||||||
|
# overriding it here so that both cases get the exact same file.
|
||||||
|
# Note that the console line is different -- that's because EC2 provides
|
||||||
|
# different virtual hardware, and this is a convenient way to act differently
|
||||||
|
echo -n "Creating grub.conf for pvgrub"
|
||||||
|
rootuuid=$( awk '$2=="/" { print $1 };' /etc/fstab )
|
||||||
|
mkdir /boot/grub
|
||||||
|
echo -e 'default=0\ntimeout=0\n\n' > /boot/grub/grub.conf
|
||||||
|
for kv in $( ls -1v /boot/vmlinuz* |grep -v rescue |sed s/.*vmlinuz-// ); do
|
||||||
|
echo "title Fedora ($kv)" >> /boot/grub/grub.conf
|
||||||
|
echo -e "\troot (hd0,0)" >> /boot/grub/grub.conf
|
||||||
|
echo -e "\tkernel /boot/vmlinuz-$kv ro root=$rootuuid no_timer_check console=hvc0 LANG=en_US.UTF-8" >> /boot/grub/grub.conf
|
||||||
|
echo -e "\tinitrd /boot/initramfs-$kv.img" >> /boot/grub/grub.conf
|
||||||
|
echo
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
#link grub.conf to menu.lst for ec2 to work
|
||||||
|
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
|
||||||
|
ln -sf grub.conf /boot/grub/menu.lst
|
||||||
|
ln -sf /boot/grub/grub.conf /etc/grub.conf
|
||||||
|
|
||||||
|
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||||
|
passwd -l root
|
||||||
|
# remove the user anaconda forces us to make
|
||||||
|
userdel -r none
|
||||||
|
|
||||||
|
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
|
||||||
|
# 0 means wait forever, so instead we'll go with 1.
|
||||||
|
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
|
||||||
|
|
||||||
|
# setup systemd to boot to the right runlevel
|
||||||
|
echo -n "Setting default runlevel to multiuser text mode"
|
||||||
|
rm -f /etc/systemd/system/default.target
|
||||||
|
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||||
|
echo .
|
||||||
|
|
||||||
|
# this is installed by default but we don't need it in virt
|
||||||
|
echo "Removing linux-firmware package."
|
||||||
|
dnf -C -y erase linux-firmware
|
||||||
|
|
||||||
|
# Remove firewalld; was supposed to be optional in F18+, but is pulled in
|
||||||
|
# in install/image building.
|
||||||
|
echo "Removing firewalld."
|
||||||
|
# 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
|
||||||
|
# in some unneeded deps (like, newt and slang)
|
||||||
|
echo "Removing authconfig."
|
||||||
|
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"
|
||||||
|
# although we want console output going to the serial console, we don't
|
||||||
|
# actually have the opportunity to login there. FIX.
|
||||||
|
# we don't really need to auto-spawn _any_ gettys.
|
||||||
|
sed -i '/^#NAutoVTs=.*/ a\
|
||||||
|
NAutoVTs=0' /etc/systemd/logind.conf
|
||||||
|
|
||||||
|
echo -n "Network fixes"
|
||||||
|
# initscripts don't like this file to be missing.
|
||||||
|
# and https://bugzilla.redhat.com/show_bug.cgi?id=1204612
|
||||||
|
cat > /etc/sysconfig/network << EOF
|
||||||
|
NETWORKING=yes
|
||||||
|
NOZEROCONF=yes
|
||||||
|
DEVTIMEOUT=10
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# For cloud images, 'eth0' _is_ the predictable device name, since
|
||||||
|
# we don't want to be tied to specific virtual (!) hardware
|
||||||
|
rm -f /etc/udev/rules.d/70*
|
||||||
|
ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
|
||||||
|
|
||||||
|
# simple eth0 config, again not hard-coded to the build hardware
|
||||||
|
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
|
||||||
|
DEVICE="eth0"
|
||||||
|
BOOTPROTO="dhcp"
|
||||||
|
ONBOOT="yes"
|
||||||
|
TYPE="Ethernet"
|
||||||
|
PERSISTENT_DHCLIENT="yes"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# generic localhost names
|
||||||
|
cat > /etc/hosts << EOF
|
||||||
|
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
||||||
|
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
||||||
|
|
||||||
|
EOF
|
||||||
|
echo .
|
||||||
|
|
||||||
|
|
||||||
|
# Because memory is scarce resource in most cloud/virt environments,
|
||||||
|
# and because this impedes forensics, we are differing from the Fedora
|
||||||
|
# default of having /tmp on tmpfs.
|
||||||
|
echo "Disabling tmpfs for /tmp."
|
||||||
|
systemctl mask tmp.mount
|
||||||
|
|
||||||
|
# make sure firstboot doesn't start
|
||||||
|
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
|
||||||
|
|
||||||
|
# Uncomment this if you want to use cloud init but suppress the creation
|
||||||
|
# of an "ec2-user" account. This will, in the absence of further config,
|
||||||
|
# cause the ssh key from a metadata source to be put in the root account.
|
||||||
|
#cat <<EOF > /etc/cloud/cloud.cfg.d/50_suppress_ec2-user_use_root.cfg
|
||||||
|
#users: []
|
||||||
|
#disable_root: 0
|
||||||
|
#EOF
|
||||||
|
|
||||||
|
echo "Removing random-seed so it's not the same in every image."
|
||||||
|
rm -f /var/lib/random-seed
|
||||||
|
|
||||||
|
echo "Cleaning old dnf repodata."
|
||||||
|
# FIXME: clear history?
|
||||||
|
dnf clean all
|
||||||
|
truncate -c -s 0 /var/log/dnf.log
|
||||||
|
truncate -c -s 0 /var/log/dnf.rpm.log
|
||||||
|
|
||||||
|
echo "Import RPM GPG key"
|
||||||
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||||
|
basearch=$(uname -i)
|
||||||
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||||
|
|
||||||
|
echo "Packages within this cloud image:"
|
||||||
|
echo "-----------------------------------------------------------------------"
|
||||||
|
rpm -qa
|
||||||
|
echo "-----------------------------------------------------------------------"
|
||||||
|
# Note that running rpm recreates the rpm db files which aren't needed/wanted
|
||||||
|
rm -f /var/lib/rpm/__db*
|
||||||
|
|
||||||
|
|
||||||
|
# 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."
|
||||||
|
touch /var/log/cron
|
||||||
|
touch /var/log/boot.log
|
||||||
|
chattr -i /boot/extlinux/ldlinux.sys
|
||||||
|
/usr/sbin/fixfiles -R -a restore
|
||||||
|
chattr +i /boot/extlinux/ldlinux.sys
|
||||||
|
|
||||||
|
echo "Zeroing out empty space."
|
||||||
|
# This forces the filesystem to reclaim space from deleted files
|
||||||
|
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
||||||
|
rm -f /var/tmp/zeros
|
||||||
|
echo "(Don't worry -- that out-of-space error was expected.)"
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
221
fedora-cloud-bigdata.ks
Normal file
221
fedora-cloud-bigdata.ks
Normal file
@@ -0,0 +1,221 @@
|
|||||||
|
# This is a Fedora 21 spin designed based on the Fedora Cloud Base Image
|
||||||
|
# but tailored specifically for Big Data processing out-of-the-box.
|
||||||
|
# Primarily, it builds on that image but adds extra packages, but over
|
||||||
|
# time may have additional focus.
|
||||||
|
#
|
||||||
|
# It's configured with cloud-init so it will take advantage of
|
||||||
|
# ec2-compatible metadata services for provisioning ssh keys. Cloud-init
|
||||||
|
# creates a user account named "fedora" with passwordless sudo access. The
|
||||||
|
# root password is empty and locked by default.
|
||||||
|
#
|
||||||
|
# Note that unlike the standard F20 install, this image has /tmp on disk
|
||||||
|
# rather than in tmpfs, since memory is usually at a premium.
|
||||||
|
|
||||||
|
text
|
||||||
|
lang en_US.UTF-8
|
||||||
|
keyboard us
|
||||||
|
timezone --utc Etc/UTC
|
||||||
|
|
||||||
|
auth --useshadow --enablemd5
|
||||||
|
selinux --enforcing
|
||||||
|
rootpw --lock --iscrypted locked
|
||||||
|
user --name=none
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
zerombr
|
||||||
|
clearpart --all
|
||||||
|
part / --size 3000 --fstype ext4
|
||||||
|
|
||||||
|
%include fedora-repo.ks
|
||||||
|
|
||||||
|
|
||||||
|
reboot
|
||||||
|
|
||||||
|
# Package list.
|
||||||
|
%packages
|
||||||
|
|
||||||
|
fedora-release-cloud
|
||||||
|
|
||||||
|
kernel-core
|
||||||
|
@core
|
||||||
|
@cloud-server
|
||||||
|
|
||||||
|
# Needed initially, but removed below.
|
||||||
|
firewalld
|
||||||
|
|
||||||
|
# rescue mode generally isn't useful in the cloud context
|
||||||
|
-dracut-config-rescue
|
||||||
|
|
||||||
|
# Some things from @core we can do without in a minimal install
|
||||||
|
-biosdevname
|
||||||
|
-plymouth
|
||||||
|
-NetworkManager
|
||||||
|
-iprutils
|
||||||
|
-kbd
|
||||||
|
-uboot-tools
|
||||||
|
-kernel
|
||||||
|
-grub2
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%post --erroronfail
|
||||||
|
|
||||||
|
# Create grub.conf for EC2. This used to be done by appliance creator but
|
||||||
|
# anaconda doesn't do it. And, in case appliance-creator is used, we're
|
||||||
|
# overriding it here so that both cases get the exact same file.
|
||||||
|
# Note that the console line is different -- that's because EC2 provides
|
||||||
|
# different virtual hardware, and this is a convenient way to act differently
|
||||||
|
echo -n "Creating grub.conf for pvgrub"
|
||||||
|
rootuuid=$( awk '$2=="/" { print $1 };' /etc/fstab )
|
||||||
|
mkdir /boot/grub
|
||||||
|
echo -e 'default=0\ntimeout=0\n\n' > /boot/grub/grub.conf
|
||||||
|
for kv in $( ls -1v /boot/vmlinuz* |grep -v rescue |sed s/.*vmlinuz-// ); do
|
||||||
|
echo "title Fedora ($kv)" >> /boot/grub/grub.conf
|
||||||
|
echo -e "\troot (hd0,0)" >> /boot/grub/grub.conf
|
||||||
|
echo -e "\tkernel /boot/vmlinuz-$kv ro root=$rootuuid no_timer_check console=hvc0 LANG=en_US.UTF-8" >> /boot/grub/grub.conf
|
||||||
|
echo -e "\tinitrd /boot/initramfs-$kv.img" >> /boot/grub/grub.conf
|
||||||
|
echo
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
#link grub.conf to menu.lst for ec2 to work
|
||||||
|
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
|
||||||
|
ln -sf grub.conf /boot/grub/menu.lst
|
||||||
|
ln -sf /boot/grub/grub.conf /etc/grub.conf
|
||||||
|
|
||||||
|
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||||
|
passwd -l root
|
||||||
|
# remove the user anaconda forces us to make
|
||||||
|
userdel -r none
|
||||||
|
|
||||||
|
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
|
||||||
|
# 0 means wait forever, so instead we'll go with 1.
|
||||||
|
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
|
||||||
|
|
||||||
|
# setup systemd to boot to the right runlevel
|
||||||
|
echo -n "Setting default runlevel to multiuser text mode"
|
||||||
|
rm -f /etc/systemd/system/default.target
|
||||||
|
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||||
|
echo .
|
||||||
|
|
||||||
|
# this is installed by default but we don't need it in virt
|
||||||
|
echo "Removing linux-firmware package."
|
||||||
|
yum -C -y remove linux-firmware
|
||||||
|
|
||||||
|
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
||||||
|
# be present for install/image building.
|
||||||
|
echo "Removing firewalld."
|
||||||
|
yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
|
||||||
|
|
||||||
|
# Another one needed at install time but not after that, and it pulls
|
||||||
|
# in some unneeded deps (like, newt and slang)
|
||||||
|
echo "Removing authconfig."
|
||||||
|
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
||||||
|
|
||||||
|
echo -n "Getty fixes"
|
||||||
|
# although we want console output going to the serial console, we don't
|
||||||
|
# actually have the opportunity to login there. FIX.
|
||||||
|
# we don't really need to auto-spawn _any_ gettys.
|
||||||
|
sed -i '/^#NAutoVTs=.*/ a\
|
||||||
|
NAutoVTs=0' /etc/systemd/logind.conf
|
||||||
|
|
||||||
|
echo -n "Network fixes"
|
||||||
|
# initscripts don't like this file to be missing.
|
||||||
|
cat > /etc/sysconfig/network << EOF
|
||||||
|
NETWORKING=yes
|
||||||
|
NOZEROCONF=yes
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# For cloud images, 'eth0' _is_ the predictable device name, since
|
||||||
|
# we don't want to be tied to specific virtual (!) hardware
|
||||||
|
rm -f /etc/udev/rules.d/70*
|
||||||
|
ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
|
||||||
|
|
||||||
|
# simple eth0 config, again not hard-coded to the build hardware
|
||||||
|
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
|
||||||
|
DEVICE="eth0"
|
||||||
|
BOOTPROTO="dhcp"
|
||||||
|
ONBOOT="yes"
|
||||||
|
TYPE="Ethernet"
|
||||||
|
PERSISTENT_DHCLIENT="yes"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# generic localhost names
|
||||||
|
cat > /etc/hosts << EOF
|
||||||
|
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
||||||
|
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
||||||
|
|
||||||
|
EOF
|
||||||
|
echo .
|
||||||
|
|
||||||
|
|
||||||
|
# Because memory is scarce resource in most cloud/virt environments,
|
||||||
|
# and because this impedes forensics, we are differing from the Fedora
|
||||||
|
# default of having /tmp on tmpfs.
|
||||||
|
echo "Disabling tmpfs for /tmp."
|
||||||
|
systemctl mask tmp.mount
|
||||||
|
|
||||||
|
# make sure firstboot doesn't start
|
||||||
|
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
|
||||||
|
|
||||||
|
# Uncomment this if you want to use cloud init but suppress the creation
|
||||||
|
# of an "ec2-user" account. This will, in the absence of further config,
|
||||||
|
# cause the ssh key from a metadata source to be put in the root account.
|
||||||
|
#cat <<EOF > /etc/cloud/cloud.cfg.d/50_suppress_ec2-user_use_root.cfg
|
||||||
|
#users: []
|
||||||
|
#disable_root: 0
|
||||||
|
#EOF
|
||||||
|
|
||||||
|
echo "Removing random-seed so it's not the same in every image."
|
||||||
|
rm -f /var/lib/random-seed
|
||||||
|
|
||||||
|
echo "Cleaning old yum repodata."
|
||||||
|
yum history new
|
||||||
|
yum clean all
|
||||||
|
truncate -c -s 0 /var/log/yum.log
|
||||||
|
|
||||||
|
echo "Import RPM GPG key"
|
||||||
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||||
|
basearch=$(uname -i)
|
||||||
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||||
|
|
||||||
|
echo "Packages within this cloud image:"
|
||||||
|
echo "-----------------------------------------------------------------------"
|
||||||
|
rpm -qa
|
||||||
|
echo "-----------------------------------------------------------------------"
|
||||||
|
# Note that running rpm recreates the rpm db files which aren't needed/wanted
|
||||||
|
rm -f /var/lib/rpm/__db*
|
||||||
|
|
||||||
|
# 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."
|
||||||
|
touch /var/log/cron
|
||||||
|
touch /var/log/boot.log
|
||||||
|
mkdir -p /var/cache/yum
|
||||||
|
chattr -i /boot/extlinux/ldlinux.sys
|
||||||
|
/usr/sbin/fixfiles -R -a restore
|
||||||
|
chattr +i /boot/extlinux/ldlinux.sys
|
||||||
|
|
||||||
|
echo "Zeroing out empty space."
|
||||||
|
# This forces the filesystem to reclaim space from deleted files
|
||||||
|
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
||||||
|
rm -f /var/tmp/zeros
|
||||||
|
echo "(Don't worry -- that out-of-space error was expected.)"
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
213
fedora-cloud-experimental.ks
Normal file
213
fedora-cloud-experimental.ks
Normal file
@@ -0,0 +1,213 @@
|
|||||||
|
# This is a spin of the Fedora cloud image designed for trying out new
|
||||||
|
# images in rawhide. It won't be built for non-rawhide trees, let alone
|
||||||
|
# actual releases.
|
||||||
|
|
||||||
|
cmdline
|
||||||
|
lang en_US.UTF-8
|
||||||
|
keyboard us
|
||||||
|
timezone --utc Etc/UTC
|
||||||
|
|
||||||
|
auth --useshadow --enablemd5
|
||||||
|
selinux --enforcing
|
||||||
|
rootpw --lock --iscrypted locked
|
||||||
|
user --name=none
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
zerombr
|
||||||
|
clearpart --all
|
||||||
|
part / --size 3000 --fstype ext4
|
||||||
|
|
||||||
|
%include fedora-repo.ks
|
||||||
|
|
||||||
|
|
||||||
|
reboot
|
||||||
|
|
||||||
|
# Package list.
|
||||||
|
%packages --excludedocs --instLangs=en_US
|
||||||
|
|
||||||
|
fedora-release-cloud
|
||||||
|
|
||||||
|
kernel-core
|
||||||
|
@core
|
||||||
|
@cloud-server
|
||||||
|
|
||||||
|
# rescue mode generally isn't useful in the cloud context
|
||||||
|
-dracut-config-rescue
|
||||||
|
|
||||||
|
# Needed initially, but removed below.
|
||||||
|
firewalld
|
||||||
|
|
||||||
|
# Some things from @core we can do without in a minimal install
|
||||||
|
-biosdevname
|
||||||
|
-plymouth
|
||||||
|
-NetworkManager
|
||||||
|
-iprutils
|
||||||
|
-kbd
|
||||||
|
-uboot-tools
|
||||||
|
-kernel
|
||||||
|
-grub2
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%post --erroronfail
|
||||||
|
|
||||||
|
# Create grub.conf for EC2. This used to be done by appliance creator but
|
||||||
|
# anaconda doesn't do it. And, in case appliance-creator is used, we're
|
||||||
|
# overriding it here so that both cases get the exact same file.
|
||||||
|
# Note that the console line is different -- that's because EC2 provides
|
||||||
|
# different virtual hardware, and this is a convenient way to act differently
|
||||||
|
echo -n "Creating grub.conf for pvgrub"
|
||||||
|
rootuuid=$( awk '$2=="/" { print $1 };' /etc/fstab )
|
||||||
|
mkdir /boot/grub
|
||||||
|
echo -e 'default=0\ntimeout=0\n\n' > /boot/grub/grub.conf
|
||||||
|
for kv in $( ls -1v /boot/vmlinuz* |grep -v rescue |sed s/.*vmlinuz-// ); do
|
||||||
|
echo "title Fedora ($kv)" >> /boot/grub/grub.conf
|
||||||
|
echo -e "\troot (hd0,0)" >> /boot/grub/grub.conf
|
||||||
|
echo -e "\tkernel /boot/vmlinuz-$kv ro root=$rootuuid no_timer_check console=hvc0 LANG=en_US.UTF-8" >> /boot/grub/grub.conf
|
||||||
|
echo -e "\tinitrd /boot/initramfs-$kv.img" >> /boot/grub/grub.conf
|
||||||
|
echo
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
#link grub.conf to menu.lst for ec2 to work
|
||||||
|
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
|
||||||
|
ln -sf grub.conf /boot/grub/menu.lst
|
||||||
|
ln -sf /boot/grub/grub.conf /etc/grub.conf
|
||||||
|
|
||||||
|
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||||
|
passwd -l root
|
||||||
|
# remove the user anaconda forces us to make
|
||||||
|
userdel -r none
|
||||||
|
|
||||||
|
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
|
||||||
|
# 0 means wait forever, so instead we'll go with 1.
|
||||||
|
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
|
||||||
|
|
||||||
|
# setup systemd to boot to the right runlevel
|
||||||
|
echo -n "Setting default runlevel to multiuser text mode"
|
||||||
|
rm -f /etc/systemd/system/default.target
|
||||||
|
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||||
|
echo .
|
||||||
|
|
||||||
|
# this is installed by default but we don't need it in virt
|
||||||
|
echo "Removing linux-firmware package."
|
||||||
|
yum -C -y remove linux-firmware
|
||||||
|
|
||||||
|
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
||||||
|
# be present for install/image building.
|
||||||
|
echo "Removing firewalld."
|
||||||
|
yum -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
|
||||||
|
|
||||||
|
# Another one needed at install time but not after that, and it pulls
|
||||||
|
# in some unneeded deps (like, newt and slang)
|
||||||
|
echo "Removing authconfig."
|
||||||
|
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
||||||
|
|
||||||
|
echo -n "Getty fixes"
|
||||||
|
# although we want console output going to the serial console, we don't
|
||||||
|
# actually have the opportunity to login there. FIX.
|
||||||
|
# we don't really need to auto-spawn _any_ gettys.
|
||||||
|
sed -i '/^#NAutoVTs=.*/ a\
|
||||||
|
NAutoVTs=0' /etc/systemd/logind.conf
|
||||||
|
|
||||||
|
echo -n "Network fixes"
|
||||||
|
# initscripts don't like this file to be missing.
|
||||||
|
cat > /etc/sysconfig/network << EOF
|
||||||
|
NETWORKING=yes
|
||||||
|
NOZEROCONF=yes
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# For cloud images, 'eth0' _is_ the predictable device name, since
|
||||||
|
# we don't want to be tied to specific virtual (!) hardware
|
||||||
|
rm -f /etc/udev/rules.d/70*
|
||||||
|
ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
|
||||||
|
|
||||||
|
# simple eth0 config, again not hard-coded to the build hardware
|
||||||
|
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
|
||||||
|
DEVICE="eth0"
|
||||||
|
BOOTPROTO="dhcp"
|
||||||
|
ONBOOT="yes"
|
||||||
|
TYPE="Ethernet"
|
||||||
|
PERSISTENT_DHCLIENT="yes"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# generic localhost names
|
||||||
|
cat > /etc/hosts << EOF
|
||||||
|
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
||||||
|
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
||||||
|
|
||||||
|
EOF
|
||||||
|
echo .
|
||||||
|
|
||||||
|
|
||||||
|
# Because memory is scarce resource in most cloud/virt environments,
|
||||||
|
# and because this impedes forensics, we are differing from the Fedora
|
||||||
|
# default of having /tmp on tmpfs.
|
||||||
|
echo "Disabling tmpfs for /tmp."
|
||||||
|
systemctl mask tmp.mount
|
||||||
|
|
||||||
|
# make sure firstboot doesn't start
|
||||||
|
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
|
||||||
|
|
||||||
|
# Uncomment this if you want to use cloud init but suppress the creation
|
||||||
|
# of an "ec2-user" account. This will, in the absence of further config,
|
||||||
|
# cause the ssh key from a metadata source to be put in the root account.
|
||||||
|
#cat <<EOF > /etc/cloud/cloud.cfg.d/50_suppress_ec2-user_use_root.cfg
|
||||||
|
#users: []
|
||||||
|
#disable_root: 0
|
||||||
|
#EOF
|
||||||
|
|
||||||
|
echo "Removing random-seed so it's not the same in every image."
|
||||||
|
rm -f /var/lib/random-seed
|
||||||
|
|
||||||
|
echo "Cleaning old yum repodata."
|
||||||
|
yum history new
|
||||||
|
yum clean all
|
||||||
|
truncate -c -s 0 /var/log/yum.log
|
||||||
|
|
||||||
|
echo "Import RPM GPG key"
|
||||||
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||||
|
basearch=$(uname -i)
|
||||||
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||||
|
|
||||||
|
echo "Packages within this cloud image:"
|
||||||
|
echo "-----------------------------------------------------------------------"
|
||||||
|
rpm -qa
|
||||||
|
echo "-----------------------------------------------------------------------"
|
||||||
|
# Note that running rpm recreates the rpm db files which aren't needed/wanted
|
||||||
|
rm -f /var/lib/rpm/__db*
|
||||||
|
|
||||||
|
|
||||||
|
# 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."
|
||||||
|
touch /var/log/cron
|
||||||
|
touch /var/log/boot.log
|
||||||
|
mkdir -p /var/cache/yum
|
||||||
|
chattr -i /boot/extlinux/ldlinux.sys
|
||||||
|
/usr/sbin/fixfiles -R -a restore
|
||||||
|
chattr +i /boot/extlinux/ldlinux.sys
|
||||||
|
|
||||||
|
echo "Zeroing out empty space."
|
||||||
|
# This forces the filesystem to reclaim space from deleted files
|
||||||
|
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
||||||
|
rm -f /var/tmp/zeros
|
||||||
|
echo "(Don't worry -- that out-of-space error was expected.)"
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
80
fedora-docker-base.ks
Normal file
80
fedora-docker-base.ks
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
# 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.
|
||||||
|
#
|
||||||
|
### 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
|
||||||
|
bootloader --disabled
|
||||||
|
timezone --isUtc --nontp Etc/UTC
|
||||||
|
rootpw --lock --iscrypted locked
|
||||||
|
user --name=none
|
||||||
|
|
||||||
|
keyboard us
|
||||||
|
zerombr
|
||||||
|
clearpart --all
|
||||||
|
part / --size 3000 --fstype ext4
|
||||||
|
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||||
|
reboot
|
||||||
|
|
||||||
|
%packages --excludedocs --instLangs=en --nocore
|
||||||
|
bash
|
||||||
|
fedora-release
|
||||||
|
rootfiles
|
||||||
|
vim-minimal
|
||||||
|
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
|
||||||
|
-kernel
|
||||||
|
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post --log=/tmp/anaconda-post.log
|
||||||
|
# Set the language rpm nodocs transaction flag persistently in the
|
||||||
|
# image yum.conf and rpm macros
|
||||||
|
|
||||||
|
# remove the user anaconda forces us to make
|
||||||
|
userdel -r none
|
||||||
|
|
||||||
|
LANG="en_US"
|
||||||
|
echo "%_install_lang $LANG" > /etc/rpm/macros.image-language-conf
|
||||||
|
|
||||||
|
awk '(NF==0&&!done){print "override_install_langs='$LANG'\ntsflags=nodocs";done=1}{print}' \
|
||||||
|
< /etc/yum.conf > /etc/yum.conf.new
|
||||||
|
mv /etc/yum.conf.new /etc/yum.conf
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
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 -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
|
||||||
93
fedora-install-cloud.ks
Normal file
93
fedora-install-cloud.ks
Normal file
@@ -0,0 +1,93 @@
|
|||||||
|
# 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,149 +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
|
|
||||||
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
|
|
||||||
|
|
||||||
# In non-master branches the fedora repo commands should be uncommented
|
|
||||||
#repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
|
|
||||||
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
|
|
||||||
|
|
||||||
# Package manifest for the compose. Uses repo group metadata to translate groups.
|
|
||||||
# (default groups for the configured repos are added by --default)
|
|
||||||
%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*
|
|
||||||
-GConf2-dbus*
|
|
||||||
-bluez-gnome
|
|
||||||
-java-1.8.0-openjdk
|
|
||||||
-community-mysql*
|
|
||||||
-jruby*
|
|
||||||
|
|
||||||
# core
|
|
||||||
kernel*
|
|
||||||
dracut-*
|
|
||||||
|
|
||||||
# Desktops
|
|
||||||
|
|
||||||
## common stuff
|
|
||||||
@base-x
|
|
||||||
@guest-desktop-agents
|
|
||||||
@guest-agents
|
|
||||||
@standard
|
|
||||||
@core
|
|
||||||
@dial-up
|
|
||||||
@fonts
|
|
||||||
@input-methods
|
|
||||||
@multimedia
|
|
||||||
@hardware-support
|
|
||||||
@printing
|
|
||||||
@admin-tools
|
|
||||||
@basic-desktop
|
|
||||||
|
|
||||||
## GNOME
|
|
||||||
@firefox
|
|
||||||
@gnome-desktop
|
|
||||||
@epiphany
|
|
||||||
@libreoffice
|
|
||||||
@gnome-games
|
|
||||||
|
|
||||||
## KDE
|
|
||||||
@kde-desktop
|
|
||||||
@kde-apps
|
|
||||||
@kde-education
|
|
||||||
@kde-media
|
|
||||||
@kde-office
|
|
||||||
|
|
||||||
## XFCE
|
|
||||||
@xfce-desktop
|
|
||||||
@xfce-apps
|
|
||||||
@xfce-extra-plugins
|
|
||||||
@xfce-media
|
|
||||||
@xfce-office
|
|
||||||
|
|
||||||
## LXDE
|
|
||||||
@lxde-desktop
|
|
||||||
@lxde-apps
|
|
||||||
@lxde-media
|
|
||||||
@lxde-office
|
|
||||||
|
|
||||||
## SUGAR
|
|
||||||
@sugar-desktop
|
|
||||||
@sugar-apps
|
|
||||||
|
|
||||||
## MATE
|
|
||||||
@mate-desktop
|
|
||||||
|
|
||||||
## CINNAMON
|
|
||||||
@cinnamon-desktop
|
|
||||||
|
|
||||||
# Workstation
|
|
||||||
@eclipse
|
|
||||||
@development-libs
|
|
||||||
@development-tools
|
|
||||||
@c-development
|
|
||||||
@rpm-development-tools
|
|
||||||
@fedora-packager
|
|
||||||
@gnome-software-development
|
|
||||||
@kde-software-development
|
|
||||||
@x-software-development
|
|
||||||
@virtualization
|
|
||||||
@web-server
|
|
||||||
@mongodb
|
|
||||||
@perl-web
|
|
||||||
@php
|
|
||||||
@python-web
|
|
||||||
@rubyonrails
|
|
||||||
@mysql
|
|
||||||
@sql-server
|
|
||||||
@design-suite
|
|
||||||
## Not included yet due to space concerns
|
|
||||||
#@jbossas
|
|
||||||
#@milkymist
|
|
||||||
#@mingw32
|
|
||||||
#@ocaml
|
|
||||||
#@robotics-suite
|
|
||||||
#@electronic-lab
|
|
||||||
|
|
||||||
# Things needed for installation
|
|
||||||
@anaconda-tools
|
|
||||||
|
|
||||||
# Langpacks
|
|
||||||
autocorr-*
|
|
||||||
eclipse-nls-*
|
|
||||||
hunspell-*
|
|
||||||
hyphen-*
|
|
||||||
calligra-l10n-*
|
|
||||||
kde-l10n-*
|
|
||||||
libreoffice-langpack-*
|
|
||||||
man-pages-*
|
|
||||||
mythes-*
|
|
||||||
|
|
||||||
# Removals
|
|
||||||
-PackageKit-zif
|
|
||||||
-zif
|
|
||||||
%end
|
|
||||||
135
fedora-install-server.ks
Normal file
135
fedora-install-server.ks
Normal file
@@ -0,0 +1,135 @@
|
|||||||
|
# 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
|
||||||
|
|
||||||
|
# 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
|
||||||
|
@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
|
||||||
51
fedora-install-workstation.ks
Normal file
51
fedora-install-workstation.ks
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
# 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
|
||||||
@@ -2,7 +2,9 @@
|
|||||||
@kde-apps
|
@kde-apps
|
||||||
@kde-desktop
|
@kde-desktop
|
||||||
@kde-media
|
@kde-media
|
||||||
|
@kde-office
|
||||||
@kde-telepathy
|
@kde-telepathy
|
||||||
|
@networkmanager-submodules
|
||||||
|
|
||||||
### The KDE-Desktop
|
### The KDE-Desktop
|
||||||
|
|
||||||
@@ -15,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
|
||||||
@@ -44,8 +44,8 @@ memtest86+
|
|||||||
anaconda
|
anaconda
|
||||||
@anaconda-tools
|
@anaconda-tools
|
||||||
|
|
||||||
# Make live images easy to shutdown and the like in libvirt
|
# Need aajohan-comfortaa-fonts for the SVG rnotes images
|
||||||
qemu-guest-agent
|
aajohan-comfortaa-fonts
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
@@ -77,11 +77,6 @@ exists() {
|
|||||||
\$*
|
\$*
|
||||||
}
|
}
|
||||||
|
|
||||||
touch /.liveimg-configured
|
|
||||||
|
|
||||||
# Make sure we don't mangle the hardware clock on shutdown
|
|
||||||
ln -sf /dev/null /etc/systemd/system/hwclock-save.service
|
|
||||||
|
|
||||||
livedir="LiveOS"
|
livedir="LiveOS"
|
||||||
for arg in \`cat /proc/cmdline\` ; do
|
for arg in \`cat /proc/cmdline\` ; do
|
||||||
if [ "\${arg##rd.live.dir=}" != "\${arg}" ]; then
|
if [ "\${arg##rd.live.dir=}" != "\${arg}" ]; then
|
||||||
@@ -161,12 +156,6 @@ if ! strstr "\`cat /proc/cmdline\`" nopersistenthome && [ -n "\$homedev" ] ; the
|
|||||||
action "Mounting persistent /home" mountPersistentHome
|
action "Mounting persistent /home" mountPersistentHome
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# make it so that we don't do writing to the overlay for things which
|
|
||||||
# are just tmpdirs/caches
|
|
||||||
mount -t tmpfs -o mode=0755 varcacheyum /var/cache/yum
|
|
||||||
mount -t tmpfs vartmp /var/tmp
|
|
||||||
[ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /var/tmp >/dev/null 2>&1
|
|
||||||
|
|
||||||
if [ -n "\$configdone" ]; then
|
if [ -n "\$configdone" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
@@ -195,7 +184,7 @@ systemctl stop mdmonitor.service 2> /dev/null || :
|
|||||||
systemctl stop mdmonitor-takeover.service 2> /dev/null || :
|
systemctl stop mdmonitor-takeover.service 2> /dev/null || :
|
||||||
|
|
||||||
# don't enable the gnome-settings-daemon packagekit plugin
|
# don't enable the gnome-settings-daemon packagekit plugin
|
||||||
gsettings set org.gnome.settings-daemon.plugins.updates active 'false' || :
|
gsettings set org.gnome.software download-updates 'false' || :
|
||||||
|
|
||||||
# don't start cron/at as they tend to spawn things which are
|
# don't start cron/at as they tend to spawn things which are
|
||||||
# disk intensive that are painful on a live image
|
# disk intensive that are painful on a live image
|
||||||
@@ -204,6 +193,13 @@ systemctl --no-reload disable atd.service 2> /dev/null || :
|
|||||||
systemctl stop crond.service 2> /dev/null || :
|
systemctl stop crond.service 2> /dev/null || :
|
||||||
systemctl stop atd.service 2> /dev/null || :
|
systemctl stop atd.service 2> /dev/null || :
|
||||||
|
|
||||||
|
# Mark things as configured
|
||||||
|
touch /.liveimg-configured
|
||||||
|
|
||||||
|
# add static hostname to work around xauth bug
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
|
||||||
|
echo "localhost" > /etc/hostname
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# bah, hal starts way too late
|
# bah, hal starts way too late
|
||||||
@@ -273,9 +269,19 @@ chmod 755 /etc/rc.d/init.d/livesys-late
|
|||||||
# enable tmpfs for /tmp
|
# enable tmpfs for /tmp
|
||||||
systemctl enable tmp.mount
|
systemctl enable tmp.mount
|
||||||
|
|
||||||
|
# make it so that we don't do writing to the overlay for things which
|
||||||
|
# are just tmpdirs/caches
|
||||||
|
# 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
|
# work around for poor key import UI in PackageKit
|
||||||
rm -f /var/lib/rpm/__db*
|
rm -f /var/lib/rpm/__db*
|
||||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
|
releasever=$(rpm -q --qf '%{version}\n' --whatprovides system-release)
|
||||||
|
basearch=$(uname -i)
|
||||||
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||||
echo "Packages within this LiveCD"
|
echo "Packages within this LiveCD"
|
||||||
rpm -qa
|
rpm -qa
|
||||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||||
@@ -292,11 +298,20 @@ 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
|
||||||
|
|
||||||
|
|
||||||
%post --nochroot
|
%post --nochroot
|
||||||
cp $INSTALL_ROOT/usr/share/doc/*-release-*/GPL $LIVE_ROOT/GPL
|
cp $INSTALL_ROOT/usr/share/licenses/*-release/* $LIVE_ROOT/
|
||||||
|
|
||||||
# only works on x86, x86_64
|
# only works on x86, x86_64
|
||||||
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
||||||
|
|||||||
@@ -1,110 +0,0 @@
|
|||||||
# fedora-design-suite.ks
|
|
||||||
# Based on Live Desktop
|
|
||||||
# Description:
|
|
||||||
# - A Spin targeted towards professional designers
|
|
||||||
# Website: http://fedoraproject.org/wiki/Design_Suite
|
|
||||||
# Maintainers:
|
|
||||||
# - Luya Tshimbalanga <sdz AT fedoraproject DOT org>
|
|
||||||
# - Previous maintainer Sebastian Dziallas
|
|
||||||
|
|
||||||
%include fedora-live-desktop.ks
|
|
||||||
|
|
||||||
#DVD size partition
|
|
||||||
part / --size 8192
|
|
||||||
|
|
||||||
%packages
|
|
||||||
|
|
||||||
# graphics
|
|
||||||
blender
|
|
||||||
bluefish
|
|
||||||
cinepaint
|
|
||||||
cmyktool
|
|
||||||
darktable
|
|
||||||
dia
|
|
||||||
entangle
|
|
||||||
fontforge
|
|
||||||
font-manager
|
|
||||||
gimp
|
|
||||||
gimp-*-plugin
|
|
||||||
gpick
|
|
||||||
GREYCstoration-gimp
|
|
||||||
hugin
|
|
||||||
inkscape
|
|
||||||
mypaint
|
|
||||||
nautilus-image-converter
|
|
||||||
optipng
|
|
||||||
# pinta # is huge because it needs mono
|
|
||||||
# postr # dropped because shotwell support flickr upload
|
|
||||||
scribus
|
|
||||||
colord-extra-profiles
|
|
||||||
synfigstudio
|
|
||||||
# ufraw # dropped as duplicate of darktable
|
|
||||||
xournal
|
|
||||||
|
|
||||||
# office
|
|
||||||
gnote
|
|
||||||
pdfshuffler
|
|
||||||
|
|
||||||
# internet
|
|
||||||
filezilla
|
|
||||||
|
|
||||||
# audio & video
|
|
||||||
audacity
|
|
||||||
pitivi
|
|
||||||
|
|
||||||
# system
|
|
||||||
# gtk-recordmydesktop # dropped for space (#887991)
|
|
||||||
# network-manager-applet #part of Gnome Desktop
|
|
||||||
|
|
||||||
# fonts
|
|
||||||
aajohan-comfortaa-fonts
|
|
||||||
adobe-source-sans-pro-fonts
|
|
||||||
lato-fonts
|
|
||||||
overpass-fonts
|
|
||||||
|
|
||||||
# removal of duplicated and unneeded applications
|
|
||||||
-gnome-boxes
|
|
||||||
-eog
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
#%post
|
|
||||||
|
|
||||||
# Add link to the Inkscape Course
|
|
||||||
#cat >> /usr/share/applications/inkscape-course.desktop << FOE
|
|
||||||
#[Desktop Entry]
|
|
||||||
#Name=Introduction To Inkscape
|
|
||||||
#GenericName=Inkscape Course
|
|
||||||
#Comment=Materials from Máirín Duffy's Inkscape Class
|
|
||||||
#Exec=xdg-open http://linuxgrrl.com/learn/Introduction_To_Inkscape
|
|
||||||
#Type=Application
|
|
||||||
#Icon=fedora-logo-icon
|
|
||||||
#Categories=Graphics;Documentation;
|
|
||||||
#FOE
|
|
||||||
#chmod a+x /usr/share/applications/inkscape-course.desktop
|
|
||||||
|
|
||||||
#EOF
|
|
||||||
|
|
||||||
#%end
|
|
||||||
|
|
||||||
141
fedora-live-design_suite.ks
Normal file
141
fedora-live-design_suite.ks
Normal file
@@ -0,0 +1,141 @@
|
|||||||
|
# fedora-design-suite.ks
|
||||||
|
# Based on Live Workstation
|
||||||
|
# Description:
|
||||||
|
# - A Spin targeted towards professional designers
|
||||||
|
# Website: http://fedoraproject.org/wiki/Design_Suite
|
||||||
|
# Maintainers:
|
||||||
|
# - Luya Tshimbalanga <luya AT fedoraproject DOT org>
|
||||||
|
# - Previous maintainer Sebastian Dziallas
|
||||||
|
|
||||||
|
%include fedora-live-workstation.ks
|
||||||
|
|
||||||
|
#DVD size partition
|
||||||
|
part / --size 8192
|
||||||
|
|
||||||
|
%packages
|
||||||
|
# graphics
|
||||||
|
blender
|
||||||
|
LuxRender-blender
|
||||||
|
YafaRay-blender
|
||||||
|
bluefish
|
||||||
|
colord-extra-profiles
|
||||||
|
darktable
|
||||||
|
dia
|
||||||
|
entangle
|
||||||
|
fontforge
|
||||||
|
font-manager
|
||||||
|
gimp
|
||||||
|
gimp-elsamuko
|
||||||
|
gimp-*-plugin
|
||||||
|
gimp-data-extras
|
||||||
|
gimp-gap
|
||||||
|
gimp-paint-studio
|
||||||
|
gimp-high-pass-filter
|
||||||
|
gimp-normalmap
|
||||||
|
gimp-resynthesizer
|
||||||
|
gimp-separate+
|
||||||
|
gpick
|
||||||
|
GraphicsMagick
|
||||||
|
gmic-gimp
|
||||||
|
hugin
|
||||||
|
ImageMagick
|
||||||
|
inkscape
|
||||||
|
inkscape-sozi
|
||||||
|
inkscape-table
|
||||||
|
mypaint
|
||||||
|
nautilus-image-converter
|
||||||
|
optipng
|
||||||
|
phatch
|
||||||
|
screenruler
|
||||||
|
simple-scan
|
||||||
|
scribus
|
||||||
|
shutter
|
||||||
|
synfigstudio
|
||||||
|
xournal
|
||||||
|
|
||||||
|
# office
|
||||||
|
vym
|
||||||
|
pdfmod
|
||||||
|
pdfshuffler
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# removal of unneeded applications
|
||||||
|
-gnome-boxes
|
||||||
|
-gthumb
|
||||||
|
-eog
|
||||||
|
-gnome-photos
|
||||||
|
-rdesktop
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post
|
||||||
|
#Override the favorite desktop application in Dash
|
||||||
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||||
|
[org.gnome.shell]
|
||||||
|
favorite-apps=['firefox.desktop', 'shotwell.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
|
||||||
|
cat >> /usr/share/applications/list-design-tutorials.desktop << FOE
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=List of design tutorials
|
||||||
|
GenericName=List of Tutorials for Designers
|
||||||
|
Comment=Reference of Design Related Tutorials
|
||||||
|
Exec=xdg-open http://fedoraproject.org/wiki/Design_Suite/Tutorials
|
||||||
|
Type=Application
|
||||||
|
Icon=applications-graphics
|
||||||
|
Categories=Graphics;Documentation;
|
||||||
|
FOE
|
||||||
|
chmod a+x /usr/share/applications/list-design-tutorials.desktop
|
||||||
|
|
||||||
|
# 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 Suite
|
||||||
|
GenericName=About Design Suite
|
||||||
|
Comment=Wiki page of Design Suite
|
||||||
|
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 Team
|
||||||
|
GenericName=About Design Team 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
|
||||||
|
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||||
|
|
||||||
|
%end
|
||||||
@@ -33,6 +33,7 @@ alsa-plugins-samplerate
|
|||||||
alsa-plugins-upmix
|
alsa-plugins-upmix
|
||||||
alsa-plugins-vdownmix
|
alsa-plugins-vdownmix
|
||||||
a2jmidid
|
a2jmidid
|
||||||
|
aj-snapshot
|
||||||
|
|
||||||
#jack
|
#jack
|
||||||
jack-audio-connection-kit
|
jack-audio-connection-kit
|
||||||
@@ -75,12 +76,15 @@ sooperlooper
|
|||||||
|
|
||||||
#recodring and DAW
|
#recodring and DAW
|
||||||
audacity
|
audacity
|
||||||
ardour
|
ardour3
|
||||||
rosegarden4
|
rosegarden4
|
||||||
seq24
|
seq24
|
||||||
muse
|
muse
|
||||||
qtractor
|
qtractor
|
||||||
non-session-manager
|
non-session-manager
|
||||||
|
non-daw
|
||||||
|
non-sequencer
|
||||||
|
non-mixer
|
||||||
|
|
||||||
# audio-plugins
|
# audio-plugins
|
||||||
calf
|
calf
|
||||||
@@ -116,7 +120,13 @@ lv2-c++-tools
|
|||||||
lv2-samplv1
|
lv2-samplv1
|
||||||
lv2-synthv1
|
lv2-synthv1
|
||||||
lv2-drumkv1
|
lv2-drumkv1
|
||||||
|
lv2-triceratops
|
||||||
|
lv2-newtonator
|
||||||
|
lv2-x42-plugins
|
||||||
|
lv2-fomp-plugins
|
||||||
|
lv2-sorcer
|
||||||
|
lv2-fabla
|
||||||
|
lv2-artyfx-plugins
|
||||||
|
|
||||||
#dssi
|
#dssi
|
||||||
nekobee-dssi
|
nekobee-dssi
|
||||||
@@ -140,6 +150,7 @@ nano
|
|||||||
mscore
|
mscore
|
||||||
lilypond
|
lilypond
|
||||||
frescobaldi
|
frescobaldi
|
||||||
|
mup
|
||||||
|
|
||||||
#audio utilities
|
#audio utilities
|
||||||
jamin
|
jamin
|
||||||
@@ -154,6 +165,7 @@ rtirq
|
|||||||
#patchage
|
#patchage
|
||||||
#ladish #not packaged yet
|
#ladish #not packaged yet
|
||||||
japa
|
japa
|
||||||
|
radium-compressor
|
||||||
|
|
||||||
#streaming
|
#streaming
|
||||||
idjc
|
idjc
|
||||||
@@ -187,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,18 +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/#AutoLoginEnable=true/AutoLoginEnable=true/' /etc/kde/kdm/kdmrc
|
if [ -f /etc/sddm.conf ]; then
|
||||||
sed -i 's/#AutoLoginUser=fred/AutoLoginUser=liveuser/' /etc/kde/kdm/kdmrc
|
sed -i 's/^#User=.*/User=liveuser/' /etc/sddm.conf
|
||||||
|
sed -i 's/^#Session=.*/Session=plasma.desktop/' /etc/sddm.conf
|
||||||
# set up user liveuser as default user and preselected user
|
else
|
||||||
sed -i 's/#PreselectUser=Default/PreselectUser=Default/' /etc/kde/kdm/kdmrc
|
cat > /etc/sddm.conf << SDDM_EOF
|
||||||
sed -i 's/#DefaultUser=johndoe/DefaultUser=liveuser/' /etc/kde/kdm/kdmrc
|
[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/konqbrowser.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
|
||||||
@@ -76,20 +80,16 @@ cat > /home/liveuser/.config/akonadi/akonadiserverrc << AKONADI_EOF
|
|||||||
Driver=QSQLITE3
|
Driver=QSQLITE3
|
||||||
AKONADI_EOF
|
AKONADI_EOF
|
||||||
|
|
||||||
# Disable the update notifications of apper
|
# Disable plasma-pk-updates
|
||||||
cat > /home/liveuser/.kde/share/config/apper << APPER_EOF
|
sed -i \
|
||||||
[CheckUpdate]
|
-e "s|^X-KDE-PluginInfo-EnabledByDefault=true|X-KDE-PluginInfo-EnabledByDefault=false|g" \
|
||||||
autoUpdate=0
|
/usr/share/kservices5/plasma-applet-org.kde.plasma.pkupdates.desktop
|
||||||
distroUpgrade=0
|
|
||||||
interval=0
|
|
||||||
APPER_EOF
|
|
||||||
|
|
||||||
# Disable some kded modules
|
# Disable baloo
|
||||||
# apperd: http://bugzilla.redhat.com/948099
|
cat > /home/liveuser/.config/baloofilerc << BALOO_EOF
|
||||||
cat > /home/liveuser/.kde/share/config/kdedrc << KDEDRC_EOF
|
[Basic Settings]
|
||||||
[Module-apperd]
|
Indexing-Enabled=false
|
||||||
autoload=false
|
BALOO_EOF
|
||||||
KDEDRC_EOF
|
|
||||||
|
|
||||||
# Disable kres-migrator
|
# Disable kres-migrator
|
||||||
cat > /home/liveuser/.kde/share/config/kres-migratorrc << KRES_EOF
|
cat > /home/liveuser/.kde/share/config/kres-migratorrc << KRES_EOF
|
||||||
@@ -97,24 +97,10 @@ 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/
|
||||||
|
|
||||||
# small hack to enable plasma-netbook workspace on boot
|
|
||||||
if strstr "\`cat /proc/cmdline\`" netbook ; then
|
|
||||||
mv /usr/share/autostart/plasma-desktop.desktop /usr/share/autostart/plasma-netbook.desktop
|
|
||||||
sed -i 's/desktop/netbook/g' /usr/share/autostart/plasma-netbook.desktop
|
|
||||||
fi
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Description:
|
# Description:
|
||||||
# - Fedora Live Spin with the K Desktop Environment (KDE), 2 GiB version
|
# - Fedora Live Spin with the K Desktop Environment (KDE), 2 GiB version
|
||||||
# see fedora-livecd-kde.ks for the default CD-sized version
|
# see fedora-livecd-kde.ks for the default 1.4 GiB version
|
||||||
#
|
#
|
||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Sebastian Vahl <fedora@deadbabylon.de>
|
# - Sebastian Vahl <fedora@deadbabylon.de>
|
||||||
@@ -22,36 +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
|
||||||
#kaffeine* # kaffeine has duplicate functionality with dragonplayer (~3 megs)
|
|
||||||
krusader # file manager, more power-user-oriented than Dolphin (~4 megs)
|
krusader # file manager, more power-user-oriented than Dolphin (~4 megs)
|
||||||
|
|
||||||
# kdeedu apps
|
# kdeedu apps
|
||||||
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
|
||||||
@@ -19,7 +19,6 @@ fi
|
|||||||
mkdir /home/liveuser/Desktop
|
mkdir /home/liveuser/Desktop
|
||||||
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
|
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
|
||||||
|
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
@@ -15,11 +15,6 @@
|
|||||||
-coolkey
|
-coolkey
|
||||||
-wget
|
-wget
|
||||||
|
|
||||||
# qlogic firmwares
|
|
||||||
-ql2100-firmware
|
|
||||||
-ql2200-firmware
|
|
||||||
-ql23xx-firmware
|
|
||||||
|
|
||||||
# scanning takes quite a bit of space :/
|
# scanning takes quite a bit of space :/
|
||||||
-xsane
|
-xsane
|
||||||
-xsane-gimp
|
-xsane-gimp
|
||||||
|
|||||||
@@ -1,37 +1,24 @@
|
|||||||
# Maintained by the Fedora Desktop SIG:
|
# Maintained by the Fedora Workstation WG:
|
||||||
# http://fedoraproject.org/wiki/SIGs/Desktop
|
# http://fedoraproject.org/wiki/Workstation
|
||||||
# mailto:desktop@lists.fedoraproject.org
|
# mailto:desktop@lists.fedoraproject.org
|
||||||
|
|
||||||
%include fedora-live-base.ks
|
%include fedora-live-base.ks
|
||||||
|
%include fedora-workstation-packages.ks
|
||||||
|
|
||||||
part / --size 4096
|
part / --size 6144
|
||||||
|
|
||||||
%packages
|
|
||||||
@firefox
|
|
||||||
@gnome-desktop
|
|
||||||
@libreoffice
|
|
||||||
|
|
||||||
# FIXME; apparently the glibc maintainers dislike this, but it got put into the
|
|
||||||
# desktop image at some point. We won't touch this one for now.
|
|
||||||
nss-mdns
|
|
||||||
|
|
||||||
# This one needs to be kicked out of @standard
|
|
||||||
-smartmontools
|
|
||||||
|
|
||||||
# We use gnome-control-center's printer and input sources panels instead
|
|
||||||
-system-config-printer
|
|
||||||
-im-chooser
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
|
# 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
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||||
|
|
||||||
|
|
||||||
# disable updates plugin
|
# disable updates plugin
|
||||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.updates.gschema.override << FOE
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
|
||||||
[org.gnome.settings-daemon.plugins.updates]
|
[org.gnome.software]
|
||||||
active=false
|
download-updates=false
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# don't run gnome-initial-setup
|
# don't run gnome-initial-setup
|
||||||
@@ -47,7 +34,7 @@ if [ -f /usr/share/applications/liveinst.desktop ]; then
|
|||||||
|
|
||||||
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', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'libreoffice-writer.desktop', 'nautilus.desktop', 'gnome-documents.desktop', 'anaconda.desktop']
|
favorite-apps=['firefox.desktop', 'evolution.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'org.gnome.Nautilus.desktop', 'anaconda.desktop']
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# Make the welcome screen show up
|
# Make the welcome screen show up
|
||||||
@@ -56,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,105 +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 input method things we don't need
|
|
||||||
-ibus-typing-booster
|
|
||||||
-imsettings
|
|
||||||
-imsettings-gsettings
|
|
||||||
|
|
||||||
# Drop the Java plugin
|
|
||||||
-icedtea-web
|
|
||||||
-java-1.7.0-openjdk
|
|
||||||
-java-1.8.0-openjdk
|
|
||||||
|
|
||||||
# Drop things that pull in perl
|
|
||||||
-linux-atm
|
|
||||||
|
|
||||||
# No printing
|
|
||||||
-foomatic-db-ppds
|
|
||||||
-foomatic
|
|
||||||
|
|
||||||
# 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-boot
|
|
||||||
-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
|
|
||||||
|
|
||||||
# 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 Livecd Spin with the K Desktop Environment (KDE)
|
# - 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>
|
||||||
@@ -10,13 +10,15 @@
|
|||||||
%include fedora-live-kde-base.ks
|
%include fedora-live-kde-base.ks
|
||||||
%include fedora-live-minimization.ks
|
%include fedora-live-minimization.ks
|
||||||
|
|
||||||
|
# DVD payload
|
||||||
|
part / --size=4096
|
||||||
|
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
# unwanted packages from @kde-desktop
|
# unwanted packages from @kde-desktop
|
||||||
# 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)
|
||||||
@@ -25,17 +27,11 @@
|
|||||||
#-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
|
||||||
#kaffeine* # kaffeine has duplicate functionality with dragonplayer (~3 megs)
|
|
||||||
|
|
||||||
# only include kdegames-minimal
|
# only include kdegames-minimal
|
||||||
-kdegames
|
-kdegames
|
||||||
@@ -44,11 +40,11 @@ kdegames-minimal
|
|||||||
### space issues
|
### space issues
|
||||||
|
|
||||||
# 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
|
-naver-nanum-gothic-fonts # Korean
|
||||||
-vlgothic-fonts # Japanese
|
-vlgothic-fonts # Japanese
|
||||||
-wqy-zenhei-fonts # simplified Chinese
|
-adobe-source-han-sans-cn-fonts # simplified Chinese
|
||||||
-cjkuni-uming-fonts # traditional Chinese
|
-adobe-source-han-sans-twhk-fonts # traditional Chinese
|
||||||
|
|
||||||
-paratype-pt-sans-fonts # Cyrillic (already supported by DejaVu), huge
|
-paratype-pt-sans-fonts # Cyrillic (already supported by DejaVu), huge
|
||||||
#-stix-fonts # mathematical symbols
|
#-stix-fonts # mathematical symbols
|
||||||
@@ -63,8 +59,14 @@ wqy-microhei-fonts # a compact CJK font, to replace:
|
|||||||
# save some space (from @standard)
|
# save some space (from @standard)
|
||||||
-make
|
-make
|
||||||
|
|
||||||
# save space (it pulls in gdisk/udisks2/libicu)
|
# admin-tools
|
||||||
-gnome-disk-utility
|
-gnome-disk-utility
|
||||||
|
# kcm_clock still lacks some features, so keep system-config-date around
|
||||||
|
#-system-config-date
|
||||||
|
# prefer kcm_systemd
|
||||||
|
-system-config-services
|
||||||
|
# prefer/use kusers
|
||||||
|
-system-config-users
|
||||||
|
|
||||||
## avoid serious bugs by omitting broken stuff
|
## avoid serious bugs by omitting broken stuff
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ MailClient=sylpheed.desktop
|
|||||||
FOE
|
FOE
|
||||||
|
|
||||||
# set up auto-login for liveuser
|
# set up auto-login for liveuser
|
||||||
sed -i 's|# autologin=dgod|autologin=liveuser|g' /etc/lxdm/lxdm.conf
|
sed -i 's/# autologin=.*/autologin=liveuser/g' /etc/lxdm/lxdm.conf
|
||||||
|
|
||||||
# Show harddisk install on the desktop
|
# Show harddisk install on the desktop
|
||||||
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
||||||
@@ -45,32 +45,13 @@ cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
|
|||||||
|
|
||||||
# create default config for clipit, otherwise it displays a dialog on startup
|
# create default config for clipit, otherwise it displays a dialog on startup
|
||||||
mkdir -p /home/liveuser/.config/clipit
|
mkdir -p /home/liveuser/.config/clipit
|
||||||
cat .config/clipit/clipitrc << FOE
|
cat > /home/liveuser/.config/clipit/clipitrc << FOE
|
||||||
[rc]
|
[rc]
|
||||||
use_copy=true
|
use_copy=true
|
||||||
use_primary=false
|
|
||||||
synchronize=false
|
|
||||||
automatic_paste=false
|
|
||||||
show_indexes=false
|
|
||||||
save_uris=true
|
save_uris=true
|
||||||
use_rmb_menu=false
|
|
||||||
save_history=false
|
save_history=false
|
||||||
history_limit=50
|
|
||||||
items_menu=20
|
|
||||||
statics_show=true
|
statics_show=true
|
||||||
statics_items=10
|
|
||||||
hyperlinks_only=false
|
|
||||||
confirm_clear=false
|
|
||||||
single_line=true
|
single_line=true
|
||||||
reverse_history=false
|
|
||||||
item_length=50
|
|
||||||
ellipsize=2
|
|
||||||
history_key=<Ctrl><Alt>H
|
|
||||||
actions_key=<Ctrl><Alt>A
|
|
||||||
menu_key=<Ctrl><Alt>P
|
|
||||||
search_key=<Ctrl><Alt>F
|
|
||||||
offline_key=<Ctrl><Alt>O
|
|
||||||
offline_mode=false
|
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# this goes at the end after all other changes.
|
# this goes at the end after all other changes.
|
||||||
|
|||||||
@@ -1,81 +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-mate-compiz.ks
|
|
||||||
%include fedora-live-minimization.ks
|
|
||||||
|
|
||||||
%packages
|
|
||||||
# First, no office
|
|
||||||
-planner
|
|
||||||
|
|
||||||
# Drop things for size
|
|
||||||
-firefox
|
|
||||||
-@libreoffice
|
|
||||||
|
|
||||||
# A web browser would be nice for a live cd
|
|
||||||
midori
|
|
||||||
|
|
||||||
# Drop the Java plugin
|
|
||||||
-icedtea-web
|
|
||||||
-java-1.7.0-openjdk
|
|
||||||
-java-1.8.0-openjdk
|
|
||||||
|
|
||||||
# Drop things that pull in perl
|
|
||||||
-linux-atm
|
|
||||||
|
|
||||||
# No printing
|
|
||||||
-foomatic-db-ppds
|
|
||||||
-foomatic
|
|
||||||
|
|
||||||
# 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 can be big, too
|
|
||||||
-gnome-user-docs
|
|
||||||
-evolution-help
|
|
||||||
-desktop-backgrounds-basic
|
|
||||||
-*backgrounds-extras
|
|
||||||
|
|
||||||
# Legacy cmdline things we don't want
|
|
||||||
-krb5-auth-dialog
|
|
||||||
-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-boot
|
|
||||||
-system-config-language
|
|
||||||
-system-config-rootpassword
|
|
||||||
-system-config-services
|
|
||||||
-policycoreutils-gui
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post
|
|
||||||
# This is a huge file and things work ok without it
|
|
||||||
rm -f /usr/share/icons/HighContrast/icon-theme.cache
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
82
fedora-livecd-mate_compiz.ks
Normal file
82
fedora-livecd-mate_compiz.ks
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# 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-mate_compiz.ks
|
||||||
|
%include fedora-live-minimization.ks
|
||||||
|
|
||||||
|
%packages
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# office
|
||||||
|
@libreoffice
|
||||||
|
|
||||||
|
# dsl tools
|
||||||
|
rp-pppoe
|
||||||
|
|
||||||
|
# audio video
|
||||||
|
parole
|
||||||
|
exaile
|
||||||
|
PackageKit-gstreamer-plugin
|
||||||
|
|
||||||
|
# blacklist applications who breaks mate desktop
|
||||||
|
-audacious
|
||||||
|
|
||||||
|
# Drop things for size
|
||||||
|
-@3d-printing
|
||||||
|
-brasero
|
||||||
|
-bluez
|
||||||
|
-bluez-cups
|
||||||
|
-colord
|
||||||
|
-fedora-icon-theme
|
||||||
|
-GConf2
|
||||||
|
-gnome-bluetooth-libs
|
||||||
|
-gnome-icon-theme
|
||||||
|
-gnome-icon-theme-symbolic
|
||||||
|
-gnome-software
|
||||||
|
-gnome-themes
|
||||||
|
-gnome-themes-standard
|
||||||
|
-gnome-user-docs
|
||||||
|
|
||||||
|
-@mate-applications
|
||||||
|
-mate-icon-theme-faenza
|
||||||
|
-NetworkManager-bluetooth
|
||||||
|
|
||||||
|
# Drop oversized fonts that aren't needed
|
||||||
|
|
||||||
|
# Drop things that pull in perl
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# Help and art can be big, too
|
||||||
|
-gnome-user-docs
|
||||||
|
-evolution-help
|
||||||
|
|
||||||
|
# Legacy cmdline things we don't want
|
||||||
|
-telnet
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post
|
||||||
|
# This is a huge file and things work ok without it
|
||||||
|
rm -f /usr/share/icons/HighContrast/icon-theme.cache
|
||||||
|
|
||||||
|
%end
|
||||||
@@ -4,365 +4,150 @@
|
|||||||
# A fully functional live OS based on Fedora for use in security auditing,
|
# A fully functional live OS based on Fedora for use in security auditing,
|
||||||
# forensics research, and penetration testing.
|
# forensics research, and penetration testing.
|
||||||
# Maintainers:
|
# Maintainers:
|
||||||
# Christoph Wickert <cwickert [AT] fedoraproject <dot> org>
|
# Fabian Affolter <fab [AT] fedoraproject <dot> org>
|
||||||
# Joerg Simon <jsimon [AT] fedoraproject <dot> org>
|
# Joerg Simon <jsimon [AT] fedoraproject <dot> org>
|
||||||
# Fabian Affolter <fab [AT] fedoraproject <dot> org>
|
# Christoph Wickert <cwickert [AT] fedoraproject <dot> org>
|
||||||
# Acknowledgements:
|
# Acknowledgements:
|
||||||
# Fedora LiveCD Xfce Spin team - some work here was inherited, many thanks!
|
# Fedora LiveCD Xfce Spin team - some work here was and will be inherited,
|
||||||
|
# many thanks!
|
||||||
# Fedora LXDE Spin - Copied over stuff to make LXDE Default
|
# Fedora LXDE Spin - Copied over stuff to make LXDE Default
|
||||||
# Luke Macken, Adam Miller for the original OpenBox Security ks and all
|
# Luke Macken and Adam Miller for the original OpenBox Security ks and all
|
||||||
# the Security Applications!
|
# the Security Applications!
|
||||||
# Hiemanshu Sharma <hiemanshu [AT] fedoraproject <dot> org>
|
# Hiemanshu Sharma <hiemanshu [AT] fedoraproject <dot> org>
|
||||||
# Important!!!!
|
|
||||||
# Beginning with Security Stuff - we use pattern to parse the kickstart file
|
|
||||||
# for building the security menu - please use
|
|
||||||
# # Category: Categoryname <- for new Categories
|
|
||||||
# # Command: Commandname <- for the given Command
|
|
||||||
# # rCommand: Commandname <- for a command as root
|
|
||||||
# # Entry: Menu-Entry <- for the MenuEntry Name (optional)
|
|
||||||
|
|
||||||
%include fedora-live-base.ks
|
%include fedora-live-base.ks
|
||||||
%include fedora-live-minimization.ks
|
%include fedora-live-minimization.ks
|
||||||
|
|
||||||
|
# spin was failing to compose due to lack of space, so bumping the size.
|
||||||
|
part / --size 10240
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
### LXDE desktop
|
@xfce-desktop
|
||||||
@lxde-desktop
|
@xfce-apps
|
||||||
lxlauncher
|
|
||||||
obconf
|
|
||||||
lxdm
|
|
||||||
|
|
||||||
### internet
|
# Security tools
|
||||||
firefox
|
@security-lab
|
||||||
icedtea-web
|
security-menus
|
||||||
pidgin
|
|
||||||
sylpheed
|
|
||||||
transmission
|
|
||||||
|
|
||||||
### graphics
|
# unlock default keyring. FIXME: Should probably be done in comps
|
||||||
#mtpaint
|
|
||||||
|
|
||||||
### audio & video
|
|
||||||
alsa-plugins-pulseaudio
|
|
||||||
asunder
|
|
||||||
lxmusic
|
|
||||||
gxine
|
|
||||||
gxine-mozplugin
|
|
||||||
pavucontrol
|
|
||||||
pnmixer
|
|
||||||
# I'm looking for something smaller than
|
|
||||||
#gnomebaker
|
|
||||||
|
|
||||||
### utils
|
|
||||||
galculator
|
|
||||||
parcellite
|
|
||||||
xpad
|
|
||||||
|
|
||||||
### system
|
|
||||||
gigolo
|
|
||||||
Terminal
|
|
||||||
|
|
||||||
### more desktop stuff
|
|
||||||
fedora-icon-theme
|
|
||||||
adwaita-cursor-theme
|
|
||||||
adwaita-gtk2-theme
|
|
||||||
adwaita-gtk3-theme
|
|
||||||
|
|
||||||
# pam-fprint causes a segfault in LXDM when enabled
|
|
||||||
-fprintd-pam
|
|
||||||
|
|
||||||
# needed for automatic unlocking of keyring (#643435)
|
|
||||||
gnome-keyring-pam
|
gnome-keyring-pam
|
||||||
|
|
||||||
network-manager-applet
|
|
||||||
|
|
||||||
# needed for xdg-open to support LXDE
|
|
||||||
perl-File-MimeInfo
|
|
||||||
|
|
||||||
xcompmgr
|
|
||||||
xdg-user-dirs-gtk
|
|
||||||
xscreensaver-extras
|
|
||||||
|
|
||||||
# use yumex instead of gnome-packagekit
|
|
||||||
#yumex
|
|
||||||
-apper
|
|
||||||
-gnome-packagekit
|
|
||||||
|
|
||||||
# LXDE has lxpolkit. Make sure no other authentication agents end up in the spin.
|
|
||||||
-polkit-gnome
|
|
||||||
-polkit-kde
|
|
||||||
|
|
||||||
# make sure xfce4-notifyd is not pulled in
|
|
||||||
notification-daemon
|
|
||||||
-xfce4-notifyd
|
|
||||||
|
|
||||||
# make sure xfwm4 is not pulled in for firstboot
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=643416
|
|
||||||
metacity
|
|
||||||
|
|
||||||
# Command line
|
|
||||||
powertop
|
|
||||||
wget
|
|
||||||
yum-utils
|
|
||||||
|
|
||||||
# dictionaries are big
|
|
||||||
-aspell-*
|
|
||||||
-hunspell-*
|
|
||||||
-man-pages-*
|
|
||||||
-words
|
|
||||||
|
|
||||||
# save some space
|
# save some space
|
||||||
-sendmail
|
-autofs
|
||||||
ssmtp
|
|
||||||
-acpid
|
-acpid
|
||||||
|
-gimp-help
|
||||||
|
-desktop-backgrounds-basic
|
||||||
|
-realmd # only seems to be used in GNOME
|
||||||
|
-PackageKit* # we switched to yumex, so we don't need this
|
||||||
|
-aspell-* # dictionaries are big
|
||||||
|
-gnumeric
|
||||||
|
-foomatic-db-ppds
|
||||||
|
-foomatic
|
||||||
|
-stix-fonts
|
||||||
|
-ibus-typing-booster
|
||||||
|
-xfce4-sensors-plugin
|
||||||
|
-man-pages-*
|
||||||
|
|
||||||
# drop some system-config things
|
# drop some system-config things
|
||||||
-system-config-boot
|
|
||||||
#-system-config-language
|
|
||||||
-system-config-lvm
|
|
||||||
-system-config-rootpassword
|
-system-config-rootpassword
|
||||||
#-system-config-services
|
|
||||||
-policycoreutils-gui
|
-policycoreutils-gui
|
||||||
-gnome-disk-utility
|
|
||||||
|
|
||||||
# we need UPower for suspend and hibernate
|
# exclude some packages to save some space
|
||||||
upower
|
# use './fsl-maintenance.py -l' in your security spin git folder to build
|
||||||
|
-ArpON
|
||||||
###################### Security Stuffs ############################
|
-aide
|
||||||
security-menus
|
-binwalk
|
||||||
##################################################################
|
-bkhive
|
||||||
# Category: Reconnaissance
|
-bonesi
|
||||||
# rCommand: dsniff -h
|
-bro
|
||||||
dsniff
|
-cmospwd
|
||||||
# rCommand: hping -h
|
-dnstop
|
||||||
hping3
|
-etherape
|
||||||
nc6
|
-hfsutils
|
||||||
nc
|
-httpie
|
||||||
# Command: ncrack -h
|
-httrack
|
||||||
ncrack
|
-hydra
|
||||||
ngrep
|
-kismon
|
||||||
# rCommand: nmap -h
|
-labrea
|
||||||
nmap
|
-nebula
|
||||||
# Command: zenmap-root
|
-netsed
|
||||||
nmap-frontend
|
-onesixtyone
|
||||||
# Command: p0f -h
|
-packETH
|
||||||
p0f
|
-pads
|
||||||
# rCommand: sing -h
|
-pdfcrack
|
||||||
sing
|
-proxychains
|
||||||
# Command: scanssh -h
|
-pyrit
|
||||||
#temp takout scanssh
|
-raddump
|
||||||
# rCommand: scapy -h
|
-rkhunter
|
||||||
scapy
|
-safecopy
|
||||||
# Command: socat
|
-samdump2
|
||||||
# Entry: Socket cat
|
-scalpel
|
||||||
socat
|
-sslstrip
|
||||||
# rCommand: tcpdump -h
|
-tcpreen
|
||||||
tcpdump
|
-tcpreplay
|
||||||
# rCommand: unicornscan -h
|
-tripwire
|
||||||
unicornscan
|
-wipe
|
||||||
# rCommand: wireshark
|
-zmap
|
||||||
# Entry: Wireshark
|
|
||||||
wireshark-gnome
|
|
||||||
# Command: xprobe2
|
|
||||||
xprobe2
|
|
||||||
# Command: nbtscan
|
|
||||||
nbtscan
|
|
||||||
# Command: tcpxtract
|
|
||||||
tcpxtract
|
|
||||||
# Command: firewalk
|
|
||||||
# Entry: Firewalk
|
|
||||||
firewalk
|
|
||||||
# Command: hunt
|
|
||||||
# Entry: Hunt
|
|
||||||
hunt
|
|
||||||
# Command: dnsenum -h
|
|
||||||
# Entry: DNS Enumeration
|
|
||||||
dnsenum
|
|
||||||
# rCommand: iftop
|
|
||||||
iftop
|
|
||||||
# Command: argus -h
|
|
||||||
argus
|
|
||||||
# rCommand: ettercap -C
|
|
||||||
# Entry: Ettercap
|
|
||||||
ettercap
|
|
||||||
ettercap-gtk
|
|
||||||
# rCommand: packETH
|
|
||||||
packETH
|
|
||||||
# rCommand: iptraf-ng
|
|
||||||
iptraf-ng
|
|
||||||
pcapdiff
|
|
||||||
# rCommand: etherape
|
|
||||||
etherape
|
|
||||||
# Command: lynis
|
|
||||||
lynis
|
|
||||||
# rCommand: netsniff-ng
|
|
||||||
netsniff-ng
|
|
||||||
# Command: tcpjunk -x
|
|
||||||
tcpjunk
|
|
||||||
# rCommand: ssldump -h
|
|
||||||
ssldump
|
|
||||||
# rCommand: yersinia -G
|
|
||||||
# Entry: Yersinia
|
|
||||||
yersinia
|
|
||||||
net-snmp
|
|
||||||
# Command: openvas-client
|
|
||||||
# Entry: OpenVAS Client
|
|
||||||
openvas-client
|
|
||||||
openvas-scanner
|
|
||||||
|
|
||||||
#################################################################
|
|
||||||
# Category: Forensics
|
|
||||||
# Command: ddrescue -h
|
|
||||||
ddrescue
|
|
||||||
# Command: gparted
|
|
||||||
gparted
|
|
||||||
hexedit
|
|
||||||
# rCommand: testdisk -h
|
|
||||||
testdisk
|
|
||||||
# Command: foremost -h
|
|
||||||
# Entry: Foremost Filecarver
|
|
||||||
foremost
|
|
||||||
# Command: sectool-gui
|
|
||||||
# Entry: sectool
|
|
||||||
sectool-gui
|
|
||||||
scanmem
|
|
||||||
sleuthkit
|
|
||||||
# Command: unhide
|
|
||||||
unhide
|
|
||||||
# Command: examiner
|
|
||||||
# Entry: ELF Examiner
|
|
||||||
examiner
|
|
||||||
dc3dd
|
|
||||||
afftools
|
|
||||||
# Command: srm -h
|
|
||||||
# Entry: Securely Remove Files
|
|
||||||
srm
|
|
||||||
# Command: nwipe
|
|
||||||
# Entry: Securely erase disks
|
|
||||||
nwipe
|
|
||||||
# Command: firstaidkit -g gtk
|
|
||||||
# Entry: First Aid Kit
|
|
||||||
#firstaidkit-plugin-all #temp removed - dependency to grub2
|
|
||||||
|
|
||||||
ntfs-3g
|
|
||||||
ntfsprogs
|
|
||||||
|
|
||||||
#####################################################################
|
|
||||||
# Category: WebApplicationTesting
|
|
||||||
# Command: httping -h
|
|
||||||
httping
|
|
||||||
# Command: nikto -help
|
|
||||||
# Entry: Nikto Websecurity Scanner
|
|
||||||
nikto
|
|
||||||
# Command: ratproxy -h
|
|
||||||
ratproxy
|
|
||||||
# Command: lbd
|
|
||||||
# Entry: Load Balancing Detector
|
|
||||||
lbd
|
|
||||||
# Command: skipfish
|
|
||||||
skipfish
|
|
||||||
# Command: sqlninja
|
|
||||||
sqlninja
|
|
||||||
|
|
||||||
#######################################################################
|
|
||||||
# Category: Wireless
|
|
||||||
# Command: aircrack-ng
|
|
||||||
aircrack-ng
|
|
||||||
# Command: airsnort
|
|
||||||
airsnort
|
|
||||||
# rCommand: kismet
|
|
||||||
kismet
|
|
||||||
# Command: weplab
|
|
||||||
# Entry: Wep Key Cracker
|
|
||||||
weplab
|
|
||||||
# Command: wavemon
|
|
||||||
wavemon
|
|
||||||
|
|
||||||
#######################################################################
|
|
||||||
# Category: CodeAnalysis
|
|
||||||
# Command: splint
|
|
||||||
splint
|
|
||||||
# Command: pscan
|
|
||||||
pscan
|
|
||||||
# Command: flawfinder
|
|
||||||
# Entry: Flawfinder
|
|
||||||
flawfinder
|
|
||||||
# Command: rats
|
|
||||||
# Entry: Rough Auditing Tool for Security
|
|
||||||
rats
|
|
||||||
|
|
||||||
######################################################################
|
|
||||||
# Category: IntrusionDetection
|
|
||||||
# rCommand: chkrootkit
|
|
||||||
chkrootkit
|
|
||||||
# Command: aide -h
|
|
||||||
aide
|
|
||||||
labrea
|
|
||||||
# Command: honeyd -h
|
|
||||||
# Entry: Honeypot Daemon
|
|
||||||
# temp removal
|
|
||||||
#honeyd
|
|
||||||
# Command: pads -h
|
|
||||||
# Entry: Passive Asset Detection System
|
|
||||||
pads
|
|
||||||
nebula
|
|
||||||
# Command: rkhunter
|
|
||||||
# Entry: RootKitHunter
|
|
||||||
rkhunter
|
|
||||||
|
|
||||||
########################################################################
|
|
||||||
# Category: PasswordTools
|
|
||||||
# Command: john
|
|
||||||
john
|
|
||||||
# Command: ophcrack
|
|
||||||
# Entry: Objectif Securite ophcrack
|
|
||||||
ophcrack
|
|
||||||
# Command: medusa -d
|
|
||||||
# Entry: Medusa Brute Force
|
|
||||||
medusa
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# LXDE and LXDM configuration
|
# xfce configuration
|
||||||
|
|
||||||
|
# This is a huge file and things work ok without it
|
||||||
|
rm -f /usr/share/icons/HighContrast/icon-theme.cache
|
||||||
|
|
||||||
# create /etc/sysconfig/desktop (needed for installation)
|
# create /etc/sysconfig/desktop (needed for installation)
|
||||||
|
|
||||||
cat > /etc/sysconfig/desktop <<EOF
|
cat > /etc/sysconfig/desktop <<EOF
|
||||||
PREFERRED=/usr/bin/startlxde
|
PREFERRED=/usr/bin/startxfce4
|
||||||
DISPLAYMANAGER=/usr/sbin/lxdm
|
DISPLAYMANAGER=/usr/sbin/lightdm
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||||
# disable screensaver locking and make sure gamin gets started
|
|
||||||
cat > /etc/xdg/lxsession/LXDE/autostart << FOE
|
mkdir -p /home/liveuser/.config/xfce4
|
||||||
/usr/libexec/gam_server
|
|
||||||
@lxpanel --profile LXDE
|
cat > /home/liveuser/.config/xfce4/helpers.rc << FOE
|
||||||
@pcmanfm --desktop --profile LXDE
|
MailReader=sylpheed-claws
|
||||||
/usr/libexec/notification-daemon
|
FileManager=Thunar
|
||||||
|
WebBrowser=midori
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# set up preferred apps
|
# disable screensaver locking (#674410)
|
||||||
cat > /etc/xdg/libfm/pref-apps.conf << FOE
|
cat >> /home/liveuser/.xscreensaver << FOE
|
||||||
[Preferred Applications]
|
mode: off
|
||||||
WebBrowser=firefox.desktop
|
lock: False
|
||||||
MailClient=redhat-sylpheed.desktop
|
dpmsEnabled: False
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# set up auto-login for liveuser
|
# deactivate xfconf-migration (#683161)
|
||||||
sed -i 's|# autologin=dgod|autologin=liveuser|g' /etc/lxdm/lxdm.conf
|
rm -f /etc/xdg/autostart/xfconf-migration-4.6.desktop || :
|
||||||
|
|
||||||
|
# deactivate xfce4-panel first-run dialog (#693569)
|
||||||
|
mkdir -p /home/liveuser/.config/xfce4/xfconf/xfce-perchannel-xml
|
||||||
|
cp /etc/xdg/xfce4/panel/default.xml /home/liveuser/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
|
||||||
|
|
||||||
|
# set up lightdm autologin
|
||||||
|
sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
|
||||||
|
sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
|
||||||
|
#sed -i 's/^#show-language-selector=.*/show-language-selector=true/' /etc/lightdm/lightdm-gtk-greeter.conf
|
||||||
|
|
||||||
|
# set Xfce as default session, otherwise login will fail
|
||||||
|
sed -i 's/^#user-session=.*/user-session=xfce/' /etc/lightdm/lightdm.conf
|
||||||
|
|
||||||
# Show harddisk install on the desktop
|
# Show harddisk install on the desktop
|
||||||
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
||||||
mkdir /home/liveuser/Desktop
|
mkdir /home/liveuser/Desktop
|
||||||
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
|
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
|
||||||
|
|
||||||
# Add autostart for parcellite
|
# and mark it as executable (new Xfce security feature)
|
||||||
cp /usr/share/applications/fedora-parcellite.desktop /etc/xdg/autostart
|
chmod +x /home/liveuser/Desktop/liveinst.desktop
|
||||||
|
|
||||||
# this goes at the end after all other changes.
|
# this goes at the end after all other changes.
|
||||||
chown -R liveuser:liveuser /home/liveuser
|
chown -R liveuser:liveuser /home/liveuser
|
||||||
restorecon -R /home/liveuser
|
restorecon -R /home/liveuser
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
@@ -26,9 +26,9 @@ rm -f /var/lib/rpm/__db*
|
|||||||
|
|
||||||
# Get proper release naming in the control panel
|
# Get proper release naming in the control panel
|
||||||
cat >> /boot/olpc_build << EOF
|
cat >> /boot/olpc_build << EOF
|
||||||
Sugar on a Stick 8 ('Ōhelo Berry)
|
Sugar on a Stick
|
||||||
Fedora release 18 (Spherical Cow)
|
|
||||||
EOF
|
EOF
|
||||||
|
cat /etc/fedora-release >> /boot/olpc_build
|
||||||
|
|
||||||
# Add our activities to the favorites
|
# Add our activities to the favorites
|
||||||
cat > /usr/share/sugar/data/activities.defaults << EOF
|
cat > /usr/share/sugar/data/activities.defaults << EOF
|
||||||
@@ -51,6 +51,7 @@ org.laptop.StopWatchActivity
|
|||||||
org.laptop.community.Finance
|
org.laptop.community.Finance
|
||||||
org.laptop.community.TypingTurtle
|
org.laptop.community.TypingTurtle
|
||||||
org.laptop.sugar.Jukebox
|
org.laptop.sugar.Jukebox
|
||||||
|
org.eq.FotoToon
|
||||||
org.gnome.Labyrinth
|
org.gnome.Labyrinth
|
||||||
com.laptop.Ruler
|
com.laptop.Ruler
|
||||||
org.sugarlabs.AbacusActivity
|
org.sugarlabs.AbacusActivity
|
||||||
@@ -75,13 +76,29 @@ 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
|
||||||
|
# set up lightdm autologin
|
||||||
|
sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
|
||||||
|
sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
|
||||||
|
#sed -i 's/^#show-language-selector=.*/show-language-selector=true/' /etc/lightdm/lightdm-gtk-greeter.conf
|
||||||
|
|
||||||
|
# set Sugar as default session, otherwise login will fail
|
||||||
|
sed -i 's/^#user-session=.*/user-session=sugar/' /etc/lightdm/lightdm.conf
|
||||||
|
EOF
|
||||||
|
|
||||||
cat >> /etc/rc.d/init.d/livesys-late << EOF
|
cat >> /etc/rc.d/init.d/livesys-late << EOF
|
||||||
|
|
||||||
|
|||||||
@@ -1,58 +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=8192
|
|
||||||
|
|
||||||
%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
|
|
||||||
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post
|
|
||||||
|
|
||||||
%end
|
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
# - Bruno Wolff III <bruno@wolff.to>
|
# - Bruno Wolff III <bruno@wolff.to>
|
||||||
# - Formerly maintained by Rahul Sundaram
|
# - Formerly maintained by Rahul Sundaram
|
||||||
|
|
||||||
%include fedora-livecd-desktop.ks
|
%include fedora-livecd-xfce.ks
|
||||||
|
|
||||||
# The recommended part size for DVDs is too close to use for the games spin
|
# The recommended part size for DVDs is too close to use for the games spin
|
||||||
part / --size 10240
|
part / --size 10240
|
||||||
@@ -53,12 +53,12 @@ maniadrive-music
|
|||||||
megaglest
|
megaglest
|
||||||
nethack-vultures
|
nethack-vultures
|
||||||
netpanzer
|
netpanzer
|
||||||
neverball
|
#neverball #cut for size
|
||||||
nogravity
|
nogravity
|
||||||
pinball
|
pinball
|
||||||
scorched3d
|
scorched3d
|
||||||
supertux
|
supertux
|
||||||
supertuxkart
|
#supertuxkart #remove for size
|
||||||
ultimatestunts
|
ultimatestunts
|
||||||
warzone2100
|
warzone2100
|
||||||
wesnoth
|
wesnoth
|
||||||
@@ -150,6 +150,7 @@ pingus
|
|||||||
# puzzles (small)
|
# puzzles (small)
|
||||||
|
|
||||||
escape
|
escape
|
||||||
|
gbrainy
|
||||||
magicor
|
magicor
|
||||||
mirrormagic
|
mirrormagic
|
||||||
pipenightdreams
|
pipenightdreams
|
||||||
@@ -170,7 +171,6 @@ celestia
|
|||||||
childsplay
|
childsplay
|
||||||
gcompris
|
gcompris
|
||||||
planets
|
planets
|
||||||
stellarium
|
|
||||||
tuxpaint
|
tuxpaint
|
||||||
tuxpaint-stamps
|
tuxpaint-stamps
|
||||||
tuxtype2
|
tuxtype2
|
||||||
@@ -187,7 +187,6 @@ games-menus
|
|||||||
# No compilations of games as I want to only include games that at least
|
# No compilations of games as I want to only include games that at least
|
||||||
# someone thought were good within a genre.
|
# someone thought were good within a genre.
|
||||||
-kdegames
|
-kdegames
|
||||||
-gnome-games
|
|
||||||
|
|
||||||
# Nothing should be downloading data to play.
|
# Nothing should be downloading data to play.
|
||||||
-autodownloader
|
-autodownloader
|
||||||
|
|||||||
@@ -78,7 +78,6 @@ firefox
|
|||||||
-ntsysv
|
-ntsysv
|
||||||
|
|
||||||
# Drop some system-config things
|
# Drop some system-config things
|
||||||
-system-config-boot
|
|
||||||
-system-config-language
|
-system-config-language
|
||||||
-system-config-network
|
-system-config-network
|
||||||
-system-config-rootpassword
|
-system-config-rootpassword
|
||||||
@@ -103,9 +102,9 @@ disable-lock-screen=true
|
|||||||
FOE
|
FOE
|
||||||
|
|
||||||
# disable updates plugin
|
# disable updates plugin
|
||||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.updates.gschema.override << FOE
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
|
||||||
[org.gnome.settings-daemon.plugins.updates]
|
[org.gnome.software]
|
||||||
active=false
|
download-updates=false
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# make the installer show up
|
# make the installer show up
|
||||||
|
|||||||
@@ -10,12 +10,10 @@
|
|||||||
# Maintainer: Amit Saha <amitksaha@fedoraproject.org>
|
# Maintainer: Amit Saha <amitksaha@fedoraproject.org>
|
||||||
# https://fedoraproject.org/wiki/User:Amitksaha
|
# https://fedoraproject.org/wiki/User:Amitksaha
|
||||||
|
|
||||||
# Last modified: March 10, 2012.
|
|
||||||
|
|
||||||
%include fedora-live-kde.ks
|
%include fedora-live-kde.ks
|
||||||
|
|
||||||
# DVD payload
|
# The recommended part size for DVDs is too close to use for the scientific spin
|
||||||
part / --size 10000
|
part / --size 12288
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
|
|
||||||
@@ -27,6 +25,11 @@ scilab
|
|||||||
scilab-devel
|
scilab-devel
|
||||||
scilab-doc
|
scilab-doc
|
||||||
|
|
||||||
|
# sagemath
|
||||||
|
# BZ #1006230 should fix this
|
||||||
|
#sagemath
|
||||||
|
#sagemath-notebook
|
||||||
|
|
||||||
#Devel tools
|
#Devel tools
|
||||||
|
|
||||||
#Install the mandatory packages from dev-tools and dev-libs
|
#Install the mandatory packages from dev-tools and dev-libs
|
||||||
@@ -35,14 +38,46 @@ scilab-doc
|
|||||||
@development-libs
|
@development-libs
|
||||||
@c-development
|
@c-development
|
||||||
@rpm-development-tools
|
@rpm-development-tools
|
||||||
|
#others, not included
|
||||||
|
# C++ libraries
|
||||||
|
blitz-devel
|
||||||
|
armadillo-devel
|
||||||
|
|
||||||
# Misc. related utils
|
# Misc. related utils
|
||||||
ddd
|
ddd
|
||||||
valgrind
|
valgrind
|
||||||
ipython
|
|
||||||
|
#python 2 tools/libraries not included from the groups
|
||||||
|
python-tools
|
||||||
|
python-ipython
|
||||||
|
python-ipython-console
|
||||||
|
python-ipython-notebook
|
||||||
|
sympy
|
||||||
|
python-networkx
|
||||||
|
python-pandas
|
||||||
|
|
||||||
|
#python 3 and tools/libraries not included from the groups
|
||||||
|
python3
|
||||||
|
python3-tools
|
||||||
|
python3-matplotlib
|
||||||
|
python3-scipy
|
||||||
|
python3-numpy
|
||||||
|
python3-ipython
|
||||||
|
python3-ipython-console
|
||||||
|
python3-ipython-notebook
|
||||||
|
python3-sympy
|
||||||
|
python3-networkx
|
||||||
|
python3-pandas
|
||||||
|
|
||||||
|
# matplotlib backends
|
||||||
|
python-matplotlib-qt4
|
||||||
|
python-matplotlib-tk
|
||||||
|
python3-matplotlib-qt4
|
||||||
|
python3-matplotlib-tk
|
||||||
|
|
||||||
# Include Java development tools
|
# Include Java development tools
|
||||||
@java-development
|
@java-development
|
||||||
|
apache-commons-math
|
||||||
|
|
||||||
#fortran compiler
|
#fortran compiler
|
||||||
gcc-gfortran
|
gcc-gfortran
|
||||||
@@ -54,8 +89,7 @@ rkward
|
|||||||
qtoctave
|
qtoctave
|
||||||
|
|
||||||
# IDEs for the IDE folks
|
# IDEs for the IDE folks
|
||||||
netbeans
|
@eclipse
|
||||||
eclipse
|
|
||||||
spyder
|
spyder
|
||||||
|
|
||||||
#writing & publishing
|
#writing & publishing
|
||||||
@@ -63,7 +97,7 @@ emacs
|
|||||||
emacs-color-theme
|
emacs-color-theme
|
||||||
vim
|
vim
|
||||||
scribus
|
scribus
|
||||||
scite
|
#scite
|
||||||
lyx
|
lyx
|
||||||
kile
|
kile
|
||||||
|
|
||||||
@@ -72,21 +106,22 @@ kile
|
|||||||
BibTool
|
BibTool
|
||||||
pdfshuffler
|
pdfshuffler
|
||||||
|
|
||||||
|
|
||||||
# Parallel/Distributed computing libraries/tools
|
# Parallel/Distributed computing libraries/tools
|
||||||
openmpi
|
openmpi
|
||||||
|
openmpi-devel
|
||||||
valgrind-openmpi
|
valgrind-openmpi
|
||||||
pvm
|
pvm
|
||||||
pvm-gui #will install 'pvm' as well
|
pvm-gui #will install 'pvm' as well
|
||||||
libgomp
|
libgomp
|
||||||
python-pp
|
python-pp
|
||||||
|
mpi4py-openmpi
|
||||||
|
python3-mpi4py-openmpi
|
||||||
|
|
||||||
#Version control- a GUI for each as well
|
#Version control- a GUI for each as well
|
||||||
|
|
||||||
# Installing rapidsvn will also install subversion package
|
# Installing rapidsvn will also install subversion package
|
||||||
rapidsvn
|
rapidsvn
|
||||||
# Install git-gui, will also install git
|
git
|
||||||
git-gui
|
git-gui
|
||||||
# Mercurial
|
# Mercurial
|
||||||
mercurial
|
mercurial
|
||||||
@@ -95,7 +130,6 @@ mercurial-hgk
|
|||||||
#Backup Utilities
|
#Backup Utilities
|
||||||
backintime-kde
|
backintime-kde
|
||||||
|
|
||||||
|
|
||||||
#needs to install this specifically because of some conflict between openmpi
|
#needs to install this specifically because of some conflict between openmpi
|
||||||
#and emacs (http://lists.fedoraproject.org/pipermail/devel/2011-July/153812.html)
|
#and emacs (http://lists.fedoraproject.org/pipermail/devel/2011-July/153812.html)
|
||||||
libotf
|
libotf
|
||||||
@@ -106,13 +140,13 @@ root-gui-fitpanel
|
|||||||
root-python
|
root-python
|
||||||
|
|
||||||
#Multiple jobs/clustering system
|
#Multiple jobs/clustering system
|
||||||
torque
|
# torque
|
||||||
torque-server
|
# torque-server
|
||||||
torque-scheduler
|
# torque-scheduler
|
||||||
torque-gui
|
# torque-gui
|
||||||
torque-libs
|
# torque-libs
|
||||||
torque-mom
|
# torque-mom
|
||||||
python-pbs
|
# python-pbs
|
||||||
|
|
||||||
#Drawing, Picture viewing tools, Visualization tools
|
#Drawing, Picture viewing tools, Visualization tools
|
||||||
dia
|
dia
|
||||||
@@ -126,8 +160,9 @@ Mayavi
|
|||||||
|
|
||||||
#Misc. Utils
|
#Misc. Utils
|
||||||
screen
|
screen
|
||||||
|
tmux
|
||||||
rlwrap
|
rlwrap
|
||||||
xchat
|
hexchat
|
||||||
shutter
|
shutter
|
||||||
fig2ps
|
fig2ps
|
||||||
bibtex2html
|
bibtex2html
|
||||||
@@ -136,8 +171,12 @@ 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
|
||||||
|
|
||||||
%end
|
%end
|
||||||
@@ -12,7 +12,10 @@
|
|||||||
@lxde-apps
|
@lxde-apps
|
||||||
@lxde-media
|
@lxde-media
|
||||||
@lxde-office
|
@lxde-office
|
||||||
@firefox
|
@networkmanager-submodules
|
||||||
|
|
||||||
|
# FIXME: can be omitted once comps is updated
|
||||||
|
midori
|
||||||
|
|
||||||
# pam-fprint causes a segfault in LXDM when enabled
|
# pam-fprint causes a segfault in LXDM when enabled
|
||||||
-fprintd-pam
|
-fprintd-pam
|
||||||
@@ -32,14 +35,8 @@ metacity
|
|||||||
|
|
||||||
|
|
||||||
# dictionaries are big
|
# dictionaries are big
|
||||||
-aspell-*
|
#-man-pages-*
|
||||||
-hunspell-*
|
#-words
|
||||||
-man-pages-*
|
|
||||||
-words
|
|
||||||
|
|
||||||
# use ssmtp instead of sendmail
|
|
||||||
-sendmail
|
|
||||||
ssmtp
|
|
||||||
|
|
||||||
# save some space
|
# save some space
|
||||||
-autofs
|
-autofs
|
||||||
@@ -53,13 +50,9 @@ ssmtp
|
|||||||
-stix-fonts
|
-stix-fonts
|
||||||
-ibus-typing-booster
|
-ibus-typing-booster
|
||||||
-xscreensaver-extras
|
-xscreensaver-extras
|
||||||
-wqy-zenhei-fonts
|
#-wqy-zenhei-fonts # FIXME: Workaround to save space, do this in comps
|
||||||
|
|
||||||
# FIXME: can be removed once mtpaint is gone from lxde-apps in comps
|
|
||||||
-mtpaint
|
|
||||||
|
|
||||||
# drop some system-config things
|
# drop some system-config things
|
||||||
-system-config-boot
|
|
||||||
#-system-config-language
|
#-system-config-language
|
||||||
-system-config-network
|
-system-config-network
|
||||||
-system-config-rootpassword
|
-system-config-rootpassword
|
||||||
@@ -67,8 +60,5 @@ ssmtp
|
|||||||
-policycoreutils-gui
|
-policycoreutils-gui
|
||||||
-gnome-disk-utility
|
-gnome-disk-utility
|
||||||
|
|
||||||
# we need UPower for suspend and hibernate
|
|
||||||
upower
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
%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-x11 # ConsoleKit is deprecated
|
||||||
firefox
|
firefox
|
||||||
@mate
|
@mate
|
||||||
compiz
|
compiz
|
||||||
@@ -9,7 +10,6 @@ compiz-plugins-extra
|
|||||||
compiz-manager
|
compiz-manager
|
||||||
compizconfig-python
|
compizconfig-python
|
||||||
compiz-plugins-unsupported
|
compiz-plugins-unsupported
|
||||||
compiz-bcop
|
|
||||||
compiz-mate
|
compiz-mate
|
||||||
libcompizconfig
|
libcompizconfig
|
||||||
compiz-plugins-main
|
compiz-plugins-main
|
||||||
@@ -17,8 +17,8 @@ ccsm
|
|||||||
emerald-themes
|
emerald-themes
|
||||||
emerald
|
emerald
|
||||||
fusion-icon
|
fusion-icon
|
||||||
fusion-icon-gtk
|
|
||||||
@libreoffice
|
@libreoffice
|
||||||
|
@networkmanager-submodules
|
||||||
|
|
||||||
# FIXME; apparently the glibc maintainers dislike this, but it got put into the
|
# 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.
|
# desktop image at some point. We won't touch this one for now.
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
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
|
||||||
|
|||||||
1
fedora-repo-rawhide.ks
Normal file
1
fedora-repo-rawhide.ks
Normal file
@@ -0,0 +1 @@
|
|||||||
|
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-non-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
|
||||||
@@ -21,7 +20,6 @@
|
|||||||
-rdate
|
-rdate
|
||||||
-rdist
|
-rdist
|
||||||
-icedtea-web
|
-icedtea-web
|
||||||
-sendmail
|
|
||||||
-firefox
|
-firefox
|
||||||
-glx-utils
|
-glx-utils
|
||||||
-nmap-ncat
|
-nmap-ncat
|
||||||
@@ -30,16 +28,33 @@
|
|||||||
-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
|
||||||
-sugar-ruler
|
-sugar-ruler
|
||||||
sugar-cp-updater
|
sugar-cp-updater
|
||||||
|
lightdm
|
||||||
|
lightdm-gtk
|
||||||
|
|
||||||
# Write breaks unless we do this (we don't need it anyway)
|
# Write breaks unless we do this (we don't need it anyway)
|
||||||
# enable for testing in the F17 dev cycle
|
# enable for testing in the F17 dev cycle
|
||||||
@input-methods
|
@input-methods
|
||||||
|
|
||||||
|
# Needed for wifi, bluetooth and WWAN connection support
|
||||||
|
@networkmanager-submodules
|
||||||
|
|
||||||
# == Platform Components ==
|
# == Platform Components ==
|
||||||
# from http://wiki.sugarlabs.org/go/0.94/Platform_Components
|
# from http://wiki.sugarlabs.org/go/0.94/Platform_Components
|
||||||
alsa-plugins-pulseaudio
|
alsa-plugins-pulseaudio
|
||||||
|
|||||||
28
fedora-workstation-packages.ks
Normal file
28
fedora-workstation-packages.ks
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
%packages
|
||||||
|
|
||||||
|
# Exclude unwanted groups that fedora-live-base.ks pulls in
|
||||||
|
-@dial-up
|
||||||
|
-@input-methods
|
||||||
|
-@standard
|
||||||
|
|
||||||
|
# Make sure to sync any additions / removals done here with
|
||||||
|
# workstation-product-environment in comps
|
||||||
|
@base-x
|
||||||
|
@core
|
||||||
|
@fonts
|
||||||
|
@guest-desktop-agents
|
||||||
|
@hardware-support
|
||||||
|
@libreoffice
|
||||||
|
@multimedia
|
||||||
|
@networkmanager-submodules
|
||||||
|
@printing
|
||||||
|
@workstation-product
|
||||||
|
|
||||||
|
# Branding for the installer
|
||||||
|
fedora-productimg-workstation
|
||||||
|
|
||||||
|
# Exclude unwanted packages from @anaconda-tools group
|
||||||
|
-gfs2-utils
|
||||||
|
-reiserfs-utils
|
||||||
|
|
||||||
|
%end
|
||||||
@@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
%packages
|
%packages
|
||||||
|
|
||||||
|
@networkmanager-submodules
|
||||||
@xfce-desktop
|
@xfce-desktop
|
||||||
@xfce-apps
|
@xfce-apps
|
||||||
@xfce-extra-plugins
|
@xfce-extra-plugins
|
||||||
@@ -20,6 +21,11 @@
|
|||||||
|
|
||||||
# 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
|
||||||
@@ -29,20 +35,6 @@ gnome-keyring-pam
|
|||||||
-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
|
|
||||||
-stix-fonts
|
|
||||||
-ibus-typing-booster
|
|
||||||
-xfce4-sensors-plugin
|
-xfce4-sensors-plugin
|
||||||
#-man-pages-*
|
|
||||||
|
|
||||||
# drop some system-config things
|
|
||||||
-system-config-boot
|
|
||||||
-system-config-lvm
|
|
||||||
-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