Compare commits

...

229 Commits
f26 ... 0.30.0

Author SHA1 Message Date
Peter Robinson
9e79a58361 Fix default partitioning on IoT images post SBSA fix in blivet
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-10-11 17:52:26 +01:00
Amit Saha
4665f812c6 Update fedora-scientific-common.ks 2018-09-26 23:38:45 +00:00
Amit Saha
eabc578ca1 Update fedora-scientific-common.ks: Workaround for https://pagure.io/releng/issue/7814
Workaround for https://pagure.io/releng/issue/7814
2018-09-26 23:36:42 +00:00
Zamir SUN
c59f2a3233 LXQt: Temporary include to workaround RHBZ 1621317
Signed-off-by: Zamir SUN <sztsian@gmail.com>
2018-09-26 21:15:16 +08:00
Kevin Fenzi
55e52ee39c Merge #439 Drop fedora-live-minimization use from cinnamon 2018-09-26 00:14:26 +00:00
Kevin Fenzi
e87ad5e42e Merge #437 Update fedora-minimization.ks 2018-09-26 00:13:25 +00:00
Adam Williamson
394a2e80f2 Drop fedora-live-minimization use from cinnamon
live-minimization is kinda old, and dates from the time we were
trying to fit in CD size. No-one cares much about that any more.
One of these exclusions (sane-backends) was contradictory for
Cinnamon lives and broke the compose since the recent dnf change
to fail compose on dependency issues (because the cinnamon comps
group explicitly includes sane-backends-drivers-scanners, but
this exclusion excludes one of its deps). To resolve that,
@grinnz is fine with just dropping the use of live-minimization
from the cinnamon images entirely, so this does that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-09-25 17:01:07 -07:00
Adam Williamson
3c08a7fbe4 Update fedora-minimization.ks
All these packages used to be explicitly default or mandatory
in comps groups that were on live images, but no longer are.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-09-25 16:58:09 -07:00
Adam Williamson
f8a8f37aa5 MATE: drop colord exclusion (required by foomatic)
foomatic requires colord. Before dnf-3.5.1-2.fc30, this meant
foomatic was being silently excluded from MATE images. Now it
means they fail to compose. Let's drop the exclusion so the
images compose again. If the MATE maintainers want to reduce
size, they will have to explicitly exclude foomatic (and be OK
with doing so, as it probably breaks printing).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-09-25 16:34:39 -07:00
Adam Williamson
255b48f233 Move exclusions of trousers-lib and iproute-tc to minimal-common
These are aiming to leave some weak dependencies out of minimal
images, it seems. From @core, gnutls recommends trousers which
requires trousers-lib, and iproute recommends iproute-tc.

However, both are *hard* dependencies of things that include
fedora-disk-base.ks. fedora-disk-workstation.ks includes
fedora-disk.base.ks and fedora-workstation-common.ks, so it
installs the Workstation package set, from which gnome-boxes
ultimately requires iproute-tc and NetworkManager-openconnect
ultimately requires trousers-lib.

Prior to the change I recently got merged into DNF, DNF would
silently drop gnome-boxes and NetworkManager-openconnect from
the Workstation disk image because of this. With the change, it
errors out on creation of the image.

To make the image compose again and actually include the right
packages, let's move the exclusions to fedora-minimal-common.ks,
where they make more sense anyway. This does mean the packages
will be pulled into other non-minimal images even if they're
not strictly required there, but that doesn't seem like a big
problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-09-25 14:57:35 -07:00
Mohan Boddu
7e826a7508 Merge #430 This seems to now cause dep problems as it's required in the chain 2018-09-22 18:04:57 +00:00
Kevin Fenzi
1ff983170c Merge #429 Add ja-JP.ks to games.iso 2018-09-22 17:44:11 +00:00
Kevin Fenzi
18d30b363c Merge #426 fedora-soas: Include livecd-iso-to-disk in .iso filesystem. 2018-09-22 17:43:17 +00:00
Kevin Fenzi
36fa64da0a This seems to now cause dep problems as it's required in the chain
of foomatic -> foomatic-db -> foomatic-db-ppds
2018-09-22 10:39:44 -07:00
dahura35
c5a51f6ecd fixed fedora-livedvd-games-ja_JP.ks 2018-09-20 15:32:35 +09:00
Luya Tshimbalanga
76a92fe25c Design Suite: use F28 supplemental wallpapers 2018-09-14 23:18:49 -07:00
Frederick Grose
aebb5de8e9 fedora-soas: Include livecd-iso-to-disk in .iso filesystem.
Inject install code in lorax template live/x86.tmpl for livemedia-
  creator builds.
Also, remove wrong path for dracut;
give glib-compile-schemas the schemas directory;
update maintainers.
2018-09-13 21:52:12 -04:00
Zamir SUN
21dbbb93f3 LXQt: Add default editor
Signed-off-by: Zamir SUN <sztsian@gmail.com>
2018-09-09 22:21:37 +08:00
Dan Book
1f35ec1248 Cinnamon - update background extras to f29 2018-09-02 14:47:51 -04:00
Frederick Grose
8cfe4eb1aa livesys: continue instead of return in cmdline do loops.
return is an improper exit command for do loops.
From dracut.cmdline(7):
"The last value in the kernel command line is the value .. honored."
2018-08-31 19:47:01 -04:00
Peter Robinson
d33a56133a Update to deal with changes for Raspberry Pi firmware handling
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-08-31 20:04:57 +01:00
Peter Robinson
f96a309329 arm: align the 32 bit images with what we do on aarch64 to make maitenance easier
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-08-30 18:18:49 +01:00
Peter Robinson
13817ab8f2 drop swap from minimal image, it was missed in the zram PR
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-08-23 10:52:01 +01:00
Dan Book
e8775547eb Cinnamon - add parole media player 2018-08-21 14:04:28 -04:00
Amit Saha
113d6b1128 Update fedora-scientific-common.ks
Comment julia till package build is fixed
2018-08-16 07:01:47 +00:00
Mohan Boddu
90d8dbec76 Rawhide being F30
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2018-08-13 13:39:07 -04:00
Peter Robinson
66d587dc54 Add zram package and enable initial support
As part of the ZRAM on ARM feature add support and enable zram service.

https://fedoraproject.org/wiki/Changes/ZRAMforARMimages

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-07-19 11:54:38 +01:00
Joe Doss
00d745bd6c Remove -NetworkManager to fix BZ#1596062 2018-07-12 15:54:19 -05:00
Joe Doss
1479547c67 Clean up some unneeded whitespace. 2018-07-12 15:52:52 -05:00
Peter Robinson
b14f7d9da6 IoT: updates for f29
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-07-10 14:03:57 +01:00
fujiwara
b73ebd60aa Add japanese workstation ks file to l10n
new file:   l10n/fedora-live-workstation-ja_JP.ks
2018-06-30 10:12:12 +09:00
Kevin Fenzi
12716419e8 Merge #402 kde: drop kde-telepathy 2018-06-18 15:39:13 +00:00
Rex Dieter
c189be913f kde: drop kde-telepathy
ongoing work to minimize spin and applications.
telepathy is not as well maintained or useful as it once was.
2018-06-18 09:52:22 -05:00
fujiwara
4ecad3404b Add kde-ja to l10n
new file:   l10n/fedora-livecd-kde-ja_JP.ks
2018-05-16 08:09:45 +09:00
Mohan Boddu
ccd23121ef Merge #393 fedora-docker-base: Disable dnf-makecache.timer 2018-05-14 13:35:12 +00:00
fujiwara
10aa3a4921 Fixed not to exclude ibus
modified:   l10n/fedora-livecd-lxde-ja_JP.ks
2018-05-13 18:38:45 +09:00
Mikhail Zabaluev
1b4000eb73 fedora-docker-base: Disable dnf-makecache.timer
When containers based on this image are run with systemd as PID 1,
there should not be dnf cache updates inside the container, at least
by default.

https://bugzilla.redhat.com/show_bug.cgi?id=1576993
2018-05-11 21:41:11 +03:00
Peter Robinson
318b9ecc73 Add initial IoT kickstart
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-05-08 14:11:05 +01:00
Stephen Gallagher
43362bb5d2 Add hardware and network support groups to aarch64 server (#1569183)
These groups were added to the server environment group in comps
but the change was not mirrored here, so the ARM server disk
image is still missing wifi support etc.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-04-25 17:39:05 -04:00
Adam Williamson
8362fef455 Add hardware and network support groups to ARM server (#1569183)
These groups were added to the server environment group in comps
but the change was not mirrored here, so the ARM server disk
image is still missing wifi support etc.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-04-24 09:21:01 -07:00
Kevin Fenzi
98793f88fc Merge #306 fedora-soas-common.ks: Include livecd-tools 2018-04-14 18:25:15 +00:00
Mohan Boddu
fdc6e91797 Increase KDE live size for rawhide compose
https://pagure.io/dusty/failed-composes/issue/163

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2018-04-13 13:49:28 -04:00
Mohan Boddu
fc59bd2ea1 Merge #379 do not show updates on xfce live. fixes bug #1564464 2018-04-09 15:37:35 +00:00
Martin Kolman
f36efa99ae Include the anaconda-install-env-deps metapackage
Use the anaconda-install-env-deps metapackage to pull in the
Anaconda dependencies needed in the installation environment.

The anaconda-install-env-deps metapackage lists all install time
dependencies and makes it possible for packages such as
Initial Setup to depend on Anaconda without pulling all
the (mainly storage related) install time dependencies
to the installed system.

The same is applicable for dirinstall which also does
not require the install time dependencies as it is just
installing to a local folder.

This also fixes rhbz#1561047 as anaconda-install-env-deps
package has a Requires on udisks2-iscsi.
2018-04-09 17:36:26 +02:00
Kevin Fenzi
f939a8962d Merge #329 Scientific: Initial KS files for Fedora Scientific vagrant box 2018-04-08 02:54:19 +00:00
Kevin Fenzi
4459c0b4d9 do not show updates on xfce live. fixes bug #1564464 2018-04-07 12:38:35 -07:00
Kevin Fenzi
2a0203cbdc increase kde live size slightly to allow current rawhide to compose 2018-04-07 10:31:13 -07:00
Dusty Mabe
13dfe736a0 cloud vagrant: add sshfs for vagrant-sshfs 2018-04-05 11:24:19 -04:00
Mohan Boddu
7a7e9ae8e3 Merge #374 f28: Enable modularity in container base image by default 2018-04-05 00:40:31 +00:00
Mohan Boddu
5ce57cff5c Merge #370 kde spin fixes 2018-04-05 00:34:06 +00:00
Colin Walters
f0b48b67f1 f28: Enable modularity in container base image by default
It's confusing to have it be underneath Server, when in actuality
we really want at least the people using containers to have it
by default.  So let's enable it by default there.
2018-04-04 11:25:10 -04:00
Kevin Fenzi
4e6f490df2 Drop foomatic-db-ppds from Xfce. It's ~56MB of space and can be installed by system-config-printer. 2018-03-31 16:13:54 -07:00
Rex Dieter
19fb7ff7c1 kde: drop font hacks (for now)
the blacklists were incorrect and erroneous
2018-03-30 11:33:07 -05:00
Rex Dieter
34acf4194e kde: replace qupzilla with falkon 2018-03-30 11:10:09 -05:00
Kalev Lember
c236c5f53c workstation: Don't autostart gnome-software on live media
gnome-software session service automatically downloads yum metadata,
which all goes to the RAM-backed filesystem overlay when running the
live image. This is undesired as it can make it difficult to install
Workstation on low memory devices.

To fix this, this commit disables gnome-software xdg autostart service
and the gnome-shell search provider on the live media.

https://bugzilla.redhat.com/show_bug.cgi?id=1560504
2018-03-26 13:28:58 +02:00
Dennis Gilmore
af96d2b41f Merge #357 live-base: Disable abrtd on live systems 2018-03-20 01:55:04 +00:00
Dennis Gilmore
7f130daa85 Merge #364 jam: update Ardour to version 5 2018-03-20 01:51:56 +00:00
Kevin Fenzi
bfe2b24660 When building cloud images oz uses dracut to setup networking and it
in turn makes a ifcfg-en<something> file with this config. We don't
want to use this, we want to always use ifcfg-eth0 so it's the same
on all images. So, we remove ifcfg-en* (They are different on each
arch we make cloud images for, but en* gets them all).
Additionally we were using some old udev tricks to get eth0, but this
is error prone and already incorrect as systemd-udev has moved files
around, so instead we just switch to net.ifnames=0 on the boot line,
which should continue working.
2018-03-19 16:23:29 -07:00
Nils Philippsen
dbc24121c3 jam: update Ardour to version 5
Version 4 is long since obsolete.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2018-03-19 11:39:13 +01:00
Dennis Gilmore
76d448d742 Merge #352 coolkey goes away 2018-03-16 16:47:48 +00:00
Paul W. Frields
d9cf0e73bd Update to f28-backgrounds 2018-03-07 16:52:27 -05:00
Benjamin Berg
4f4fe63125 live-base: Disable abrtd on live systems
Grabbing coredumps on live systems is not a good idea. Either there is
no persistent storage, or it will be really slow and also small. So
disable abrtd and stop it in the same way as other services.
2018-03-07 16:18:48 +01:00
Dusty Mabe
9fdd766e5d atomic: move to unified repo structure
We move to /compose/atomic/repo for the compose time repo and to
/atomic/repo for the production/user repo. See [1].

[1] https://lists.fedoraproject.org/archives/list/rel-eng@lists.fedoraproject.org/thread/KLN5L33BIR3ZEHC5RIG4NXGO7LT6HBXJ/

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-03-03 12:33:47 -05:00
Dusty Mabe
8445c1def0 atomic: use f29 gpgkey for rawhide
Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-03-03 12:29:17 -05:00
Dusty Mabe
9cd3e06cdb Bump some more partition sizes
glibc bumped in size. See [1]

fedora-arm-kde.ks
DEBUG util.py:439:     At least 30MB more space needed on the / filesystem.

fedora-arm-python-classroom.ks
DEBUG util.py:439:     At least 41MB more space needed on the / filesystem.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1551073

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-03-02 17:06:10 -05:00
Mohan Boddu
9d5fea902b Increase 200M on fedora arm xfce
https://koji.fedoraproject.org/koji/taskinfo?taskID=25417090

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2018-03-02 11:49:30 -05:00
Jakub Jelen
23701ef2ff coolkey goes away 2018-03-02 10:06:42 +01:00
Dusty Mabe
83b52c46cb kde-minimizations: don't exclude ibus
This is needed in the astronomy spin when trying to install the
plasma-desktop. This is the error that is seen without it:

```
- package plasma-applet-redshift-control-1.0.18-4.fc28.noarch requires plasma-desktop, but none of the providers can be installed
- nothing provides libibus-1.0.so.5 needed by plasma-desktop-5.12.2-1.fc29.i686
- nothing provides libibus-1.0.so.5()(64bit) needed by plasma-desktop-5.12.2-1.fc29.x86_64
```

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-28 19:05:19 -05:00
Dusty Mabe
2779df193d remove all mentions of *productimg*
They were moved into the anaconda installclasses so those packages
no longer exist.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-27 10:58:04 -05:00
Dennis Gilmore
255b17f973 Merge #341 design-suite: drop f26 wallpapers 2018-02-27 13:56:51 +00:00
Christian Dersch
03e7ba50dd astronomy: use fedora-live-kde-base.ks to avoid inclusion of fedora-kde-minimization.ks (breaks dependencies) 2018-02-27 14:30:53 +01:00
Dennis Gilmore
31617698c5 fix up arm bootloader configuration
ksvalidate complains that "bootloader extlinux" is invalid
ksflatten changes the bootloader option to
"bootloader --location=mbr" we get working configuration using
the updated option so setting the default to it.  The Jenkins
job on pagure is failing due to invalide syntax

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2018-02-24 10:52:52 -06:00
Dusty Mabe
fbc2ec61f2 extend fs in a few more kickstarts for armhfp failures
koji task 25278678 Fedora-Python-Classroom-armhfp
DEBUG util.py:439:     At least 52MB more space needed on the / filesystem.

koji task: 25278682 Spins armhfp KDE
DEBUG util.py:439:     At least 104MB more space needed on the / filesystem.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-24 10:23:53 -05:00
Luya Tshimbalanga
4ee646993f design-suite: drop f26 wallpapers 2018-02-21 19:09:18 -08:00
Dusty Mabe
1ec1620e13 arm kickstarts: extend filesystems to unblock image builds
All of these images are failing because more disk space is needed
to install the required rpms. This PR bumps the sizes so that they
should succeed. See [1].

Here are the current failures in rawhide:

koji task: 25182851 Workstation armhfp live image
DEBUG util.py:439:     At least 93MB more space needed on the / filesystem.

koji task: 25182858 Spins armhfp LXDE
DEBUG util.py:439:     At least 926MB more space needed on the / filesystem.

koji task: 25182869 Spins armhfp Mate
DEBUG util.py:439:     At least 121MB more space needed on the / filesystem.

koji task: 25182901 Spins armhfp LXQt
DEBUG util.py:439:     At least 180MB more space needed on the / filesystem.

koji task: 25182854 Spins armhfp KDE
DEBUG util.py:439:     At least 294MB more space needed on the / filesystem.

[1] https://pagure.io/dusty/failed-composes/issue/9#comment-495037

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-21 09:50:32 -05:00
Dusty Mabe
95993d9d0a live-robotics: don't exclude hunspell
Some packages require it. See [1].

[1] https://pagure.io/dusty/failed-composes/issue/9#comment-495037

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-20 19:30:25 -05:00
Dusty Mabe
0345ed81e0 python-classroom: add/delete some excludes for armhfp
When trying to build python classroom for armhfp we end up
in quite a dependency hell. Hunspell was the first issue
(fixed in the previous commit). Then there was all of this:

```
 Problem 1: conflicting requests
  - nothing provides libedataserver-1.2.so.23()(64bit) needed by gnome-shell-3.27.1-5.fc28.x86_64
 Problem 2: conflicting requests
  - nothing provides dleyna-renderer needed by gnome-photos-3.27.90-1.fc28.x86_64
 Problem 3: conflicting requests
  - nothing provides gnome-user-docs needed by gnome-getting-started-docs-3.26.2-2.fc28.noarch
 Problem 4: package NetworkManager-openconnect-gnome-1.2.4-9.fc28.x86_64 requires libopenconnect.so.5()(64bit), but none of the providers can be installed
  - conflicting requests
  - nothing provides libtspi.so.1()(64bit) needed by openconnect-7.08-5.fc28.x86_64
 Problem 5: package gnome-initial-setup-3.27.90-2.fc28.x86_64 requires gdm, but none of the providers can be installed
  - package gdm-1:3.27.4-4.fc28.i686 requires gnome-shell, but none of the providers can be installed
  - package gdm-1:3.27.4-4.fc28.x86_64 requires gnome-shell, but none of the providers can be installed
  - conflicting requests
  - nothing provides libedataserver-1.2.so.23()(64bit) needed by gnome-shell-3.27.1-5.fc28.x86_64
 Problem 6: package gnome-shell-extension-window-list-3.27.1-3.fc28.noarch requires gnome-shell-extension-common = 3.27.1-3.fc28, but none of the providers can be installed
  - package gnome-classic-session-3.27.1-3.fc28.noarch requires gnome-shell-extension-window-list = 3.27.1-3.fc28, but none of the providers can be installed
  - package gnome-shell-extension-common-3.27.1-3.fc28.noarch requires gnome-shell >= 3.27.1, but none of the providers can be installed
  - conflicting requests
  - nothing provides libedataserver-1.2.so.23()(64bit) needed by gnome-shell-3.27.1-5.fc28.x86_64
 Problem 7: conflicting requests
  - package gdm-1:3.27.4-4.fc28.i686 requires gnome-shell, but none of the providers can be installed
  - package gdm-1:3.27.4-4.fc28.x86_64 requires gnome-shell, but none of the providers can be installed
  - nothing provides libedataserver-1.2.so.23()(64bit) needed by gnome-shell-3.27.1-5.fc28.x86_64
```

Note: I used an x86_64 machine to do the dependency debugging.

So here is what I decided to do:

- remove `-evolution*` (evolution-data-server provides libedataserver-1.2.so.23()(64bit))
- remove `-trousers-lib` (trousers-lib provides libtspi.so.1()(64bit))
- add `-gnome-photos` since a lot of other gnome apps were excluded
- add `-gnome-getting-started-docs` since gnome-user-docs was excluded

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-20 19:20:38 -05:00
Dusty Mabe
bda78eb4a8 py-class-gnome-common: don't exclude hunspell
When trying to build the python classroom lab for armhfp
we see issues [1] because we need hunspell.

[1] https://pagure.io/dusty/failed-composes/issue/9#comment-495037

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-20 19:02:18 -05:00
Dusty Mabe
bbdbf1e1f4 live-minimizations: don't exclude wget
Needed by a few different things. For example to build the security live
image you run into these problems if you exclude wget:

 Problem 1: conflicting requests
  - nothing provides /usr/bin/wget needed by openvas-scanner-5.1.1-4.fc27.x86_64
 Problem 2: package wireshark-gtk-1:2.4.4-2.fc28.x86_64 requires wireshark-cli = 1:2.4.4-2.fc28, but none of the providers can be installed
  - package wireshark-cli-1:2.4.4-2.fc28.i686 requires libsmi.so.2, but none of the providers can be installed
  - package wireshark-cli-1:2.4.4-2.fc28.x86_64 requires libsmi.so.2()(64bit), but none of the providers can be installed
  - conflicting requests
  - nothing provides wget needed by libsmi-0.4.8-21.fc28.i686
  - nothing provides wget needed by libsmi-0.4.8-21.fc28.x86_64
 Problem 3: package wireshark-1:2.4.4-2.fc28.x86_64 requires wireshark-cli = 1:2.4.4-2.fc28, but none of the providers can be installed
  - package wireshark-cli-1:2.4.4-2.fc28.i686 requires libsmi.so.2, but none of the providers can be installed
  - package wireshark-cli-1:2.4.4-2.fc28.x86_64 requires libsmi.so.2()(64bit), but none of the providers can be installed
  - conflicting requests
  - nothing provides wget needed by libsmi-0.4.8-21.fc28.i686
  - nothing provides wget needed by libsmi-0.4.8-21.fc28.x86_64

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-20 17:11:00 -05:00
Dusty Mabe
3345265740 live-security: don't exclude realmd package
Needed by anaconda. See [1].

```
- package anaconda-28.22-1.fc28.x86_64 requires anaconda-core = 28.22-1.fc28, but none of the providers can be installed
- nothing provides realmd needed by anaconda-core-28.22-1.fc28.x86_64.
```

[1] https://pagure.io/dusty/failed-composes/issue/9#comment-495037

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-20 17:07:29 -05:00
Dusty Mabe
0905a3d16a kde-minimization: Don't exclude m17n*, emacs needs it.
This was causing the Jam_KDE Lab to fail. See [1]

[1] https://pagure.io/dusty/failed-composes/issue/9#comment-495037

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-20 17:07:16 -05:00
raveit65
eb579a9101 MATE f28: drop packages which are already listed in comps
- Drop the exclude on PackageKit,
  as system-config-printer now needs PackageKit-gtk3-module
- move gstreamer1-plugins-ugly-free to comps
2018-02-17 11:20:22 +01:00
Dennis Gilmore
e3c3cf3116 remove no longer use fedora-aos.ks file
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2018-02-16 13:51:09 -06:00
Kevin Fenzi
63c4852464 Drop the exclude on PackageKit, as system-config-printer now needs PackageKit-gtk3-module
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2018-02-16 10:41:17 -08:00
Kevin Fenzi
67bad760d5 Merge #332 live-workstation: Bring back the datetime anaconda spoke 2018-02-16 05:44:59 +00:00
Michael Catanzaro
86f7dfb560 live-workstation: Bring back the datetime anaconda spoke
I got cold feet. Let's not remove this one, at least not yet.

We can always decide to get rid of it again later.
2018-02-16 03:41:57 +00:00
Adam Williamson
27d1b07813 Don't exclude libusbx from container images, libdnf needs it
This exclusion has never actually worked. Look at a successful
F27 container-minimal build:

https://koji.fedoraproject.org/koji/taskinfo?taskID=25064051

If you check one of the tasks and look at the oz log, it shows
that libusbx is actually installed.

This is because both dnf and microdnf require libdnf, which
requires librepo, which requires gpgme, which requires gnupg2,
which requires libusb.

In Fedora 27, anaconda/dnf handle this by ignoring the attempt
to exclude libusbx and just installing it anyway.

In Rawhide, however, anaconda/dnf behaviour is different. I
don't know when it changed, but now anaconda/dnf honor the
kickstart and exclude libusbx from the install transaction...
which means the image build just fails, because the deps for
dnf/microdnf cannot be satisfied. So we should just ditch the
exclusion, it's bogus. See a failed Rawhide build attempt:

https://koji.fedoraproject.org/koji/taskinfo?taskID=25077542

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-02-15 17:56:44 -08:00
Amit Saha
bd83b7d6e3 Initial KS files for Fedora Scientific vagrant box 2018-01-26 11:23:40 +11:00
Michael Catanzaro
cf3866c28b live-workstation: suppress redundant anaconda spokes
This implements most of the changes required for

https://fedoraproject.org/wiki/Changes/ReduceInitialSetupRedundancy
2018-01-25 17:59:25 -06:00
James Antill
cd0ff18d97 Merge changes from fedora-modular-container-common.ks to the non-modular
fedora-docker-common.ks.

 Post kickstart image rpm changes:

-coreutils
-coreutils-common
+coreutils-single
-glibc-langpack-en
+glibc-minimal-langpack
-langpacks-en
-libcrypt-nss
+libcrypt
-libsecret
-ncurses
-pinentry
-trousers
-trousers-lib
+xfsprogs

==== Modular DNF changes ====
+libyaml
+python3-dateutil
+python3-modulemd
+python3-PyYAML
+python3-smartcols

 Image size changes:
docker.io/fedora 27
 422dc563ca32 251.7 MB
fedora-modular-container-base-27_modular-20171202.n.1.x86_64 latest
 1efe3f167b78 218.7 MB
2018-01-24 22:11:31 -05:00
Kevin Fenzi
c72702c371 Merge #326 KDE: Move the minimization to a separate kickstart file 2018-01-23 09:47:06 +00:00
Kevin Fenzi
52cf2aa63e Merge #323 Adapt to the webkitgtk4 rename 2018-01-23 09:45:22 +00:00
Amit Saha
0eb9b33076 KDE: Move the minimization to a separate kickstart file
Attempt to fix BZ#1506888
2018-01-17 08:56:43 +11:00
Dusty Mabe
bb3b98d505 atomic: add comment on why we disable firewall
In cloud Images we do this becaue it's generally accepted that
in a cloud environment there are higher level firewall constructs
(i.e. security groups).
2018-01-12 14:57:47 -05:00
Tomas Popela
219f5a2ee0 Adapt to the webkitgtk4 rename 2018-01-12 16:29:59 +01:00
Adam Williamson
d7b3eaf9ef Don't list grub2-efi for live images
The arch-specific sub-packages that provide grub2-efi on each
arch are listed in @anaconda-tools comps group anyway (so this
is redundant), and requiring it by name in a kickstart causes
i686 live image composes to fail because it is no longer built
for i686.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-01-04 15:05:44 -08:00
Dennis Gilmore
14111b0eab Merge #320 Drop workaround for libcrypt/libcrypt-nss. 2017-12-16 18:05:07 +00:00
Kevin Fenzi
110f37d82f Drop workaround for libcrypt/libcrypt-nss.
glibc has completely dropped libcrypt-nss now so we need to just drop this workaround.
2017-12-16 10:00:24 -08:00
Kevin Fenzi
a8e3bf4681 Revert "kde-live: exclude dnfdragora-gui"
This reverts commit 902c6a7d98.
2017-12-10 12:16:30 -08:00
Patrick "マルタインアンドレアス" Uiterwijk
f57fa7ed1a Merge #319 Temp disable firefox in Xfce. This allows rawhide composes to finish 2017-12-10 16:52:50 +00:00
Kevin Fenzi
176f3f350a Merge #318 kde-live: exclude dnfdragora-gui 2017-12-10 16:44:45 +00:00
Kevin Fenzi
d9315b1d1f Temp disable firefox in Xfce. This allows rawhide composes to finish
because Xfce spin is release blocking for arm, and firefox currently
does not build on arm so is excluding it until a fix is landed.
See https://bugzilla.redhat.com/show_bug.cgi?id=1523912
This should be reverted as soon as the above bug is fixed.
2017-12-10 08:42:00 -08:00
Rex Dieter
902c6a7d98 kde-live: exclude dnfdragora-gui
https://bugzilla.redhat.com/show_bug.cgi?id=1518032
2017-11-28 10:59:47 -06:00
Björn Esser
c266fff2c0 Cinnamon: Update to recent extra backgrounds 2017-11-25 21:36:36 +01:00
Björn Esser
229ff4c4f7 Cinnamon: Packages are in comps group 2017-11-25 21:35:56 +01:00
Björn Esser
7379a9a0f4 Cinnamon: desktop-backgrounds-basic is pulled by dependency 2017-11-25 21:35:04 +01:00
Peter Robinson
4af1ec7312 The enp1s0 interface is a left over from the imagefactory install, clean this up in post install 2017-11-03 18:30:08 +00:00
Stephen Gallagher
41ef546b3f (Rawhide/F28) Drop --noboot from container image creation
When building Fedora Server base images (such as when building F27
Modular Server), the --noboot option results in the container image
attempting to mount /boot with XFS like the rest of the system.
This results in the image-creation failing.

Since the partitions don't matter in the end (the files are tarred
up and shipped that way), we'll skip this optimization.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-10-31 07:23:11 -04:00
Mohan Boddu
f1babff154 Merge #304 astronomy: removed python3-healpy (not available on i686, pulled in as a weak dep of python3-reproject on x86_64) 2017-10-25 14:25:10 +00:00
Colin Walters
c66511d4f9 atomic-host: Stop overriding /etc/udev/rules.d/80-net-setup-link.rules
This bit was cargo culted from the old school Fedora Cloud image, but we have
also been using `net.ifnames=0` on the kernel command line, which ensures that
we get `eth0` as "the" NIC name.  (There's a huge amount of history behind
this and I'm not trying to change that behavior here)

The problem is that those udev rules do *other* things that we do want, such as
ensure that `veth` devices get `NM_CONTROLLED=no`. Without that e.g.
NetworkManager might try to do DHCP on those devices, which is at best slow
since they appear and disappear frequently, and at worst risks the host network
configuration.

For more information, see [RH bz#1503347](https://bugzilla.redhat.com/show_bug.cgi?id=1503347)

Signed-off-by: Colin Walters <walters@verbum.org>
2017-10-24 14:48:29 -04:00
Colin Walters
dda92b4f95 atomic-host: Update and clarify comment at the top
For obvious reasons, just trying to keep this updated.

Signed-off-by: Colin Walters <walters@verbum.org>
2017-10-24 14:40:46 -04:00
Colin Walters
8241be7492 atomic-host: Drop writing /etc/sysconfig/firstboot
We don't include firstboot in AH, we use cloud-init, so nothing
is ever going to parse this.  Drop it, since it shows up as a delta
in `ostree admin config-diff`, and further we want to reduce the
amount of stuff in this ks.

Signed-off-by: Colin Walters <walters@verbum.org>
2017-10-24 14:40:46 -04:00
Colin Walters
38dc52cb45 atomic-host: Stop writing /etc/hosts, use setup defaults
The `setup` package has this same content, let's not duplicate it. The only
difference between them today is trailing whitespace in our version.

Just trying to reduce the amount of stuff we do here to avoid deltas with bare
metal installs, containers, etc.

Signed-off-by: Colin Walters <walters@verbum.org>
2017-10-24 14:40:24 -04:00
fgrose
66722a9b3a fedora-soas-common.ks: Include livecd-tools
Version 25 of livecd-tools has new tools to help in rebuilding LiveOS images. For example,
* editliveos permits overlay merging and image refreshing,
* editliveos allows overlay and home file system resizing and format changes
* livecd-iso-to-disk allows multi image installation on a single USB disk device
* livecd-iso-to-disk allows sourcing and writing to the same disk device.

Having the livecd-iso-to-disk installer onboard the .iso makes installation of a persistent overlay easier. (Persistent overlays are the standard for SoaS image in a pocket deployment.)

The new tools also work with OverlayFS overlays.
2017-10-21 19:14:52 +00:00
Christian Dersch
85b227d3cc astronomy: removed python3-healpy (not available ob i686, pulled in as a weak dep of python3-reproject on x86_64) 2017-10-16 15:00:30 +02:00
Sinny Kumari
c656ae6f78 Include console=ttyAMA0 and console=hvc0 in Atomic kickstart
While booting Atomic cloudImage, we want to see kernel messages
on both VGA and serial console. It works fine with
tty1(vga console) and ttyS0(serial console) on x86_64 arch.
But, aarch64 and ppc64le doesn't use ttyS0 as serial console.
Instead, they use ttyAMA0(aarch64) and hvc0 (ppc64le).

Also, good point is that if a serial console specified in kernel
boot parameter is not supported on a given hardware platform, it
gets ignored. For example: console=ttyAMA0 and console=hvc0 will
get ignored on x86_64

Fixes: https://pagure.io/atomic-wg/issue/347

Signed-off-by: Sinny Kumari <sinny@redhat.com>
2017-10-12 12:14:16 +05:30
Peter Robinson
b6ef454057 drop specifying specific console, ARM has many and varied options
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-10-09 20:52:59 +01:00
Dennis Gilmore
c791a2e6b1 Merge #290 Design-Suite: promote pitivi as favourite 2017-10-06 00:13:52 +00:00
Mohan Boddu
a83144a498 Merge #293 astrometry: added development and astrometry 2017-10-05 20:22:30 +00:00
Dusty Mabe
97b0af5d00 atomic: extend the root filesystem to fill VG
With the change to using overlay in the root filesystem [1]. We
need to configure the cloud images to extend the root filesystem
by default [2]. Fixes [2]

[1] https://pagure.io/atomic-wg/issue/281
[2] https://pagure.io/atomic-wg/issue/343
2017-10-05 16:01:41 -04:00
Rashmi Nargundkar
aa99fb2c9e New kickstart file added for modular fedora. For issue https://pagure.io/releng/issue/7074
Signed-off-by: Rashmi Nargundkar <rnargund@redhat.com>
2017-10-04 11:56:15 -04:00
Christian Dersch
23704762f1 astrometry: added development and astrometry 2017-10-04 11:45:19 +02:00
John W. Linville
80a8d03f7d rfkill package is being obsoleted by util-linux package.
Signed-off-by: John W. Linville <linville@redhat.com>
2017-10-03 14:28:18 -04:00
Luya Tshimbalanga
44d18285df Design-Suite: promote pitivi as favourite 2017-09-29 20:02:16 -07:00
Dennis Gilmore
df800dcc2b sync modular container kickstarts to what was in the docker ones.
Remove the no longer needed docker kickstarts

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-09-27 09:30:08 -05:00
Dennis Gilmore
e9dd1a4e47 Merge #286 add kickstarts for modular containers 2017-09-27 02:47:58 +00:00
Dennis Gilmore
22dfc7f1aa rename docker to container
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-09-26 21:36:34 -05:00
Dennis Gilmore
043bdcef8d add kickstarts for modular containers
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-09-26 21:23:35 -05:00
Kevin Fenzi
311862895b mariadb apparently is no longer making a -libs subpackage in favor of mariadb-connector-c 2017-09-21 08:57:37 -07:00
Dusty Mabe
c3095c82ba atomic: use basearch in ostreesetup line
This will help enable us to use the same kickstart file for multiple
architectures. Enabling work was in the pull requests listed below:

https://github.com/projectatomic/rpm-ostree/pull/877
https://github.com/rhinstaller/anaconda/pull/1186
2017-09-19 11:47:21 -04:00
Dusty Mabe
09243c1a40 atomic: verify ostree commits by using f28 key 2017-09-19 11:46:26 -04:00
Sinny Kumari
7d2e4519d8 Use reqpart in Fedora Atomic kickstart
Building Fedora Atomic CloudImage on architectures like
aarch64 and ppc64le needs platform specific partitions as well.

Issue - https://pagure.io/atomic-wg/issue/299#comment-449243

Signed-off-by: Sinny Kumari <sinny@redhat.com>
2017-09-14 21:22:49 +05:30
Colin Walters
ca4d6f43e1 atomichost: Update partitioning for new model
See https://pagure.io/atomic-wg/issue/281

This causes us to match the productimg setup. At some point hopefully we can use
`autopart` and not duplicate it.
2017-09-13 13:40:06 -04:00
Peter Robinson
60f97b14c8 SoAS and LXQT: increase root fs size
The installs don't quite hit on the default base image size so
increase it for both spins so they will build.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-08-16 18:24:31 +01:00
Peter Robinson
1fc8ee03ff KDE: fix compose due to core deps needing make
So make is needed by openssl and compat-openssl10 which is turn is needed
by key things such as qt5-qtbase, mariadb and other core things that are
explictly needed in the KDE spin. I have no idea why the ARM images fail
and the live media does not because all arches have this dep.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-08-16 18:24:31 +01:00
Peter Robinson
951bf487d8 Mate: fix contractdictory package lists
So MATE removes PackageKit and then tried to add PackageKit-command-not-found
which is contradictary and will fail to install so drop the later so things
will at least compose.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-08-16 18:24:31 +01:00
Peter Robinson
1366cd8f44 ARM images: remove bits we don't need/want to help reduce image size
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-08-16 18:24:31 +01:00
Peter Robinson
05b299449f Fix MATE dependencies
There's a number of dependencies that are being excluded but are needed by core
MATE components so the arm images fail because of this. Also fix the mp3 support
package as that's now in gstreamer1-plugins-ugly-free

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-08-16 18:24:31 +01:00
Dennis Gilmore
1570013376 Merge #268 design-suite: add more gnome applications 2017-08-15 17:28:35 +00:00
Dennis Gilmore
061d3c434a Merge #265 Cinnamon: disable dnfdragora applet on live 2017-08-15 17:27:16 +00:00
Dennis Gilmore
e138f824be Merge #262 MATE: disable dnfdragora applet on livecd 2017-08-15 17:26:35 +00:00
Dennis Gilmore
d50e85405a Merge #255 Fix links to this example TDL file. 2017-08-15 17:26:01 +00:00
Dusty Mabe
49357c4246 container: rm nologin file from container image
This allows one to create an sshd container if they want.

See https://pagure.io/atomic-wg/issue/316
2017-08-11 09:15:27 -04:00
Dusty Mabe
6b530c0957 atomic: remove temporary workaround for anaconda bug
This reverts commit 295519948b.

Now that the upstream fix [1] has been merged and a new version of
anaconda is in rawhide, we can revert this workaround.

[1] https://github.com/rhinstaller/anaconda/pull/1126
2017-08-10 11:53:23 -04:00
Tomas Tomecek
51d65e6bb1 docker base image: don't install docs by default
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
2017-08-01 13:04:42 +02:00
Luya Tshimbalanga
253e92e325 design-suite: add more gnome applications 2017-07-17 22:06:50 -07:00
Dusty Mabe
51a3adeaab remove the atomic-installer directory
These files are stored and used from the fedora-lorax-templates [1]
repo. They haven't been used/updated from this location in a long time.

[1] https://pagure.io/fedora-lorax-templates
2017-07-17 13:52:48 -04:00
Dan Book
9d43d9cc9d Cinnamon: disable dnfdragora applet on live 2017-07-14 12:02:47 -04:00
Dusty Mabe
295519948b atomic: temporary workaround for anaconda bug
see https://pagure.io/atomic-wg/issue/301
2017-07-14 09:44:54 -04:00
raveit65
ed939f3345 MATE: disable dnfdragora applet on livecd 2017-07-14 09:46:13 +02:00
Lubomír Sedlář
57aa58c6e7 Update formatting of README
The comments in release process should not render as headers. This will
make it a code block instead.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-07-13 09:35:26 +02:00
Ralph Bean
15a5eabc7c A start at disk-minimal for the fedora modular release.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-10 17:41:31 -04:00
Ralph Bean
8a618529c7 Re-enable autopart (available in rawhide).
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-07 16:48:15 -04:00
Ralph Bean
f28c5e3bc1 A stab at the Modular Fedora Docker kickstarts.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-07 16:31:49 -04:00
Ralph Bean
d702d27389 Fix links to this example TDL file.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-07 15:58:34 -04:00
mattdm
021225b76d remove plasma-pk-updates from live environment
Should fix blocker bug https://bugzilla.redhat.com/show_bug.cgi?id=1436873 (Previous code here did not work.)
2017-07-01 09:27:31 -07:00
raveit65
a96164bc8b MATE: mark installer launcher as executable on live image 2017-06-30 13:02:58 -07:00
Kevin Fenzi
eceda6aaa3 Increase size on Xfce arm image as it's running out of space currently. 2017-06-24 08:13:16 -06:00
Dusty Mabe
467f7dcb3c atomic: enable gpg verification after install
Taking the first step towards enabling gpg verification for our
users we'll make it so that the media they download will verify
gpg signatures of commits by default.

The next step is to enable gpg verification during install as well
but there is a race condition where the commit that was just created
might not yet be signed. See [1] for more details.

[1] https://pagure.io/pungi/issue/650
2017-06-23 08:46:35 -04:00
Jonathan Steffan
75a71d5aa4 Update inline comment to reflect the change from the fedora username to the liveuser username. 2017-06-19 22:06:44 -06:00
Kevin Fenzi
329f6b3294 Fedora arm Xfce image is failing in rawhide currently needing an extra 23MiB
We should track down the extra space usage, but for now, lets just add 100MB

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2017-05-27 09:59:03 -06:00
Dennis Gilmore
497fbd6325 minimal disk image is failing in rawhide currently needing and extra 27MiB
Longer term we should determine why more disk is being used. for now make
the disk a tad bigger

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-05-26 16:53:02 -05:00
Dusty Mabe
d85921a078 atomic: add some comments about url locations 2017-05-25 11:27:21 -04:00
Dusty Mabe
a5b8d6075e atomic: use the same url scheme that is used in f2{5,6} 2017-05-25 11:21:19 -04:00
Dusty Mabe
df48af3278 atomic: move to new ref
Since we recently switched to fedora/rawhide/${basearch}/atomic-host
we should start pulling from there.

[1] https://pagure.io/fedora-atomic/c/ffada30
2017-05-25 11:19:39 -04:00
Dusty Mabe
68804358d8 atomic, cloud: remove rhgb by removing plymouth
a59dfe5 caused us a few problems:
  - sed was breaking the symlink on atomic systems
  - /boot/grub2/grub.cfg is not the right file on a UEFI system
  - etc..

We'll solve this problem a different way by just not installing
plymouth in our systems, which is another way [1] to make sure
rhgb/quiet don't appear on your kernel command line.

[1] ee91db6fa3/pyanaconda/payload/__init__.py (L722-L726)
2017-05-24 01:41:20 -04:00
Dusty Mabe
ba950669f1 cloud: fix errors that happen on UEFI systems
We are seeing an error on aarch64 cloud image creation because
of the vfat filesystem and the fixfiles command failing:

+ /usr/sbin/fixfiles -R -a restore
/sbin/restorecon: Could not set context for /boot/efi/EFI/fedora/fonts/unicode.pf2:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/fedora/gcdaa64.efi:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/fedora/grub.cfg:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/fedora/grubaa64.efi:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/fedora/grubenv:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/BOOT/BOOTAA64.EFI:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/BOOT/fallback.efi:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/fedora/BOOT.CSV:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/fedora/MokManager.efi:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/fedora/shim-fedora.efi:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/fedora/shim.efi:  Operation not supported
2017-05-24 01:39:49 -04:00
Dusty Mabe
6bfa0c57b3 docker: add comment about partitioning for clarity 2017-05-19 13:00:30 -04:00
Dusty Mabe
a4ae071339 docker-base: ignore return code of systemd-tmpfiles
Ignore the return code of the systemd-tmpfiles command because
at this point we have already removed the /etc/machine-id (8f3beac)
and all tmpfiles lines with %m in them will fail and cause a bad
return code. Example failure:
  [/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m
2017-05-19 10:59:06 -04:00
Dusty Mabe
93205adc7d docker-base: limit systemd-tmpfiles to /run/
In 96a6711 we added re-running systemd-tmpfiles to add files to /run
on the root fs of the container. Here we'll limit where systemd-tmpfiles
puts files by passing it --prefix /var and --prefix /var/run/
2017-05-19 10:58:59 -04:00
Dennis Gilmore
618d91e179 Merge #224 master: add mp3 encoding plugins 2017-05-16 15:53:10 +00:00
Dennis Gilmore
dd76f34ec7 Merge #226 cloud/docker: move to autopart with the new no home/swap/boot options to enable generic architecture images 2017-05-16 15:52:34 +00:00
Peter Robinson
00e6c35287 cloud/docker: move to autopart with the new no home/swap/boot options to enable generic architecture images
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-05-15 17:30:43 +01:00
Dennis Gilmore
832c0a3a72 Merge #222 rawhide: use mirrorlist url instead of metalink url 2017-05-14 20:30:11 +00:00
Dan Book
99a771611f master: add mp3 encoding plugins 2017-05-14 13:57:42 -04:00
Dusty Mabe
77a25abded use mirrorlist url instead of metalink url
There is an anaconda bug [1] where passing in metalink urls no longer
works after f25. Use mirrorlist urls to workaround.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1450129
2017-05-13 20:28:51 -04:00
Christian Dersch
4d1bd4dc79 lxqt: no updater applet in live environment 2017-05-12 11:00:54 +02:00
Christian Dersch
1cf99bd765 lxqt: use new comps groups 2017-05-12 10:59:52 +02:00
Dusty Mabe
8f142150ba atomic: don't use cmdline for install mode
similar change was done for docker/cloud in f6ecdc3

cmdline makes it so that %post --erroronfail won't actually stop the
installation in a way that imagefactory will detect the problem and
fail the build. See [1] for more details.

[1] https://github.com/rhinstaller/anaconda/issues/931
2017-05-08 11:36:00 -04:00
Dusty Mabe
a59dfe5f40 atomic, cloud: disable rhgb/quiet on boot
We want more verbose output on boot.

See https://bugzilla.redhat.com/show_bug.cgi?id=510523
2017-05-08 11:35:19 -04:00
Dusty Mabe
4948e8c002 atomic, cloud: don't create none user
Anaconda doesn't seem to require it anymore so no need to create it
and then delete it.
2017-05-08 11:35:16 -04:00
Björn Esser
590c97f2cb Cinnamon: Remove unneeded stuff 2017-05-06 18:21:53 +02:00
Peter Robinson
17e07ed5f0 For RPi3 64 bit we need to put the 64bit config in place to boot
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-30 10:12:46 +01:00
Peter Robinson
820c830c4c aarch64: we don't install initial-setup in Worksttion so don't try to enable the service
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-30 09:59:28 +01:00
Dusty Mabe
c49c95145d atomic: update link and revert some of the cherry-pick
Update the trac link to point to the pagure issue. Also
we don't actually want to enable legacy network service.
This was also reverted for f25 in 6f3661e.
2017-04-19 16:29:22 -04:00
Jason Brooks
38c2313eef networking fixes for f25
* removes the extra ens3 ifcfg that seems to be added
by dracut at some point (cloud base did this in their
ks a year ago in c509863)
* adds net.ifnames=0 to the bootloader line, because
that seems to be necessary to actually disable consistent
device naming
* enables the network service

see https://pagure.io/atomic-wg/issue/174

(cherry picked from commit 5d987e82b3)
2017-04-19 15:59:00 -04:00
Adam Williamson
b90d3b6e01 Ditch all kdegames references (retired in Rawhide)
kdegames was retired, so ditch all references to it. This is
breaking KDE live image compose on Rawhide.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-04-18 11:37:23 -07:00
Peter Robinson
a3c6e41697 disk: remove duplicate services 2017-04-12 22:36:25 +01:00
Peter Robinson
d8fb90786c Add Server disk image for aarch64
This is a generic disk image that should be usable on any architecture with
imagefactory or live-media-creator (possibly with package tweaks).

Minor tweaks to the autopart across Minimal/Workstation for Server defaults.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-12 17:37:43 +01:00
Peter Robinson
5c7f39323d Add Workstation disk image for aarch64
This is a generic disk image that should be usable on any architecture with
imagefactory or live-media-creator (possibly with package tweaks).

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-12 16:57:21 +01:00
Peter Robinson
1abecdd463 Add minimal disk image for aarch64
This is a generic disk image that should be usable on any architecture with
imagefactory or live-media-creator (possibly with package tweaks). It creates a
minimal-common.ks to share as much as possible with the ARMv7 specific
fedora-arm-minimal.ks

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-12 16:14:53 +01:00
raveit65
2314b13b11 MATE: remove backgounds from spin, already in comps 2017-04-10 09:52:14 +02:00
Kevin Fenzi
e54a4bf5ad Merge #201 Add @python-science to Python Classroom Lab 2017-04-09 16:33:20 +00:00
Miro Hrončok
e6e4a24b54 Add @python-science to Python Classroom Lab 2017-04-09 18:23:24 +02:00
Peter Robinson
ce000bfed8 arm: drop dracut-config-rescue as the rescue images aren't overly useful on the disk images and cause other issues with extlinux
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-05 13:58:24 +01:00
Peter Robinson
d0bcf40960 arm: minor package tweaks, drop Intel wireless FW, trousers, dial-up as not overly useful OOTB on ARM
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-05 13:57:04 +01:00
Peter Robinson
2f3bede998 arm: tweak the image root file slightly
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-05 13:48:57 +01:00
Björn Esser
32580756ee Cinnamon: Add German spin-variant 2017-04-04 01:11:58 +02:00
Björn Esser
20aa0dbe49 Cinnamon: dnfdragora is pulled by comps now 2017-04-04 00:06:15 +02:00
Björn Esser
8df9be66c0 LXQt: dnfdragora-gui pulls libyui-qt automatically 2017-04-03 23:41:06 +02:00
Björn Esser
f0ea45e7a6 Update comments to dnfdragora 2017-04-01 01:38:37 +02:00
Dennis Gilmore
a5d648e0df Merge #182 design-suite: drop workaround packages 2017-03-30 03:24:02 +00:00
Dusty Mabe
fc0a635bc4 zero out resolv.conf during install
Anaconda is writing an /etc/resolv.conf from the install environment.
The system should start out with an empty file, otherwise cloud-init
will try to use this information and may error:
https://bugs.launchpad.net/cloud-init/+bug/1670052
2017-03-28 16:20:25 -04:00
Dennis Gilmore
483ef44d99 Merge #174 Reduce some packages that aren't of much use in the containers 2017-03-28 18:25:07 +00:00
Dennis Gilmore
a56e36485e Merge #179 Fix the vagrant and bigdata cloud images 2017-03-28 15:09:55 +00:00
Peter Robinson
c9fceb1c03 Fix the vagrant and bigdata cloud images
With moving to grub2 we now need to remove the extlinux bits from the
other cloud images. They were missed in the move

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-28 16:04:52 +01:00
Peter Robinson
2db89e4819 SoAS: drop need for webkitgtk3, using webkitgtk4 dep directly in sugar-0.110.0-3
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-27 14:21:29 +01:00
Adam Williamson
64ee9ee2d8 Bump to f26-backgrounds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-03-26 21:24:59 -07:00
Peter Robinson
a6da97b44e Reduce some packages that aren't of much use in the containers
Filesytem tools, TPM tools, libusb and friends aren't of much use in
a docker container so remove them.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-24 18:19:28 +00:00
Björn Esser
2b560ba567 Cinnamon: Install dnfdragora-gui instead of single packages 2017-03-24 00:11:53 +01:00
Peter Robinson
eae48ec488 Add a docker common kickstart as a central bit for shared config.
There's a lot of similarities between base and base-minimal so
introduce a docker-common.ks to ensure as much as possible is shared
between the two ensure as much shared as possible.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-23 17:40:57 +00:00
Colin Walters
954957e609 atomic: Append GROWPART to d-s-s config
Rather than truncating.  This allows us to preserve any existing
configuration (e.g. overlayfs by default).
2017-03-21 10:54:59 -04:00
Dan Book
d32c3f937d Cinnamon: add cinnamon-applet-blueberry 2017-03-15 14:05:52 -04:00
Dennis Gilmore
df8eca7318 import just the primary rpm gpg key
anaconda apparently fails now if the scriptlet fails which happens
on 32 bit arm:
Error

  There was an error running the kickstart script at line 28.  This is a fatal
  error and installation will be aborted.  The details of this error are:

  + LANG=en_US
  + echo '%_install_langs en_US'
  + echo 'Import RPM GPG key'
  Import RPM GPG key
  ++ rpm -q --qf '%{version}\n' fedora-release
  + releasever=27
  ++ uname -i
  + basearch=armv7l
  + rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-27-armv7l
  error: /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-27-armv7l: import read failed(2).

  Press ENTER to exit: systemd-localed.service: Got notification message from PID 2286 (STOPPING=1)

as all the rpms in f27 are signed by the sole key lets just import that

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-03-10 15:36:28 -06:00
Dennis Gilmore
89abaa8c89 import just the primary rpm gpg key
anaconda apparently fails now if the scriptlet fails which happens
on 32 bit arm:
Error

  There was an error running the kickstart script at line 28.  This is a fatal
  error and installation will be aborted.  The details of this error are:

  + LANG=en_US
  + echo '%_install_langs en_US'
  + echo 'Import RPM GPG key'
  Import RPM GPG key
  ++ rpm -q --qf '%{version}\n' fedora-release
  + releasever=27
  ++ uname -i
  + basearch=armv7l
  + rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-27-armv7l
  error: /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-27-armv7l: import read failed(2).

  Press ENTER to exit: systemd-localed.service: Got notification message from PID 2286 (STOPPING=1)

as all the rpms in f27 are signed by the sole key lets just import that

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-03-10 10:56:48 -06:00
Dennis Gilmore
660c0f24ef disable caching repo metadata
all workstation based spins are failing due to packagekit causing gpg-agent
spawning and keeping /dev/null open inside the compose environemnet.
36389 ?        Ss     0:00 gpg-agent --homedir /tmp/tmp.XJ49JiQYpU/var/cache/PackageKit/26/metadata/updates-testing.tmp/gpgdir --use-standard-socket --daemon
36417 ?        Ss     0:00 gpg-agent --homedir /tmp/tmp.XJ49JiQYpU/var/cache/PackageKit/26/metadata/updates.tmp/gpgdir --use-standard-socket --daemon
we end up with process like above running. this only hit us as the urls
pointed to stopped giving 404 errors

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-03-09 17:37:00 -06:00
Dennis Gilmore
fde4b9c548 Merge #158 fix graphical initial-setup on ARM images 2017-03-09 17:10:31 +00:00
Peter Robinson
3c3152b72d fix graphical initial-setup on ARM images
The old means of enabling the graphical service is obsolete so remove it.
It's now detected by explicitly enabling graphical.target so do this by default
for all graphical UXes
2017-03-09 17:05:40 +00:00
Christian Dersch
71e6eaebc7 lxqt: added storaged to fix #1429132 2017-03-06 21:57:17 +01:00
Kevin Fenzi
9c486b783a Merge #151 Python Classroom: Add optional packages from the group 2017-03-03 18:54:53 +00:00
Peter Robinson
2a681eaf90 remove arm and ppc cloud base variants
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-03 17:50:36 +00:00
Peter Robinson
15a6627e09 Add bits required for aarch64 images
We drop the explicit grub2 as aarch64 only has grub2-efi but anaconda will
sort that out and ensure all the right bits are installed during the install
so we should get the right grub2 bootloader options for each arch OOTB.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-03 17:48:29 +00:00
Peter Robinson
1938458f20 Adjust docker-base-minimal ks for aarch64
Add the EFI partition in so anaconda doesn't lose it. Ulimately doesn't affect
docker image size as boot and friends are discarded as part of the process.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-03 16:27:59 +00:00
Peter Robinson
b5155455d3 remove arm and ppc docker base variants
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-03 15:50:38 +00:00
Peter Robinson
21e02e29c7 Adjust docker-base ks for aarch64
Add the EFI partition in so anaconda doesn't lose it. Ulimately doesn't affect
docker image size as boot and friends are discarded as part of the process.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-03 15:41:29 +00:00
Peter Robinson
2077c2935d Minor inline docs updates
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-03 15:24:05 +00:00
Peter Robinson
bea832564f switch cloud images permanently to grub2
The main reason for cloud to use extlinux is the size of deps being
pulled in by grub2-tools. This will be fixed in F-26 with the ability
to use grub2/grub2-efi without the tools package and it's deps fixing
this issue for good. There will no doubt need to be be some tweaking
required here.

We need grub2 in cloud images for non x86 as well as for the increasing
x86 cloud platforms that require the support of uEFI which extlinux
doesn't support.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-03 15:24:01 +00:00
Miro Hrončok
6a9e0cd677 Python Classroom: Add optional packages from the group 2017-03-03 16:20:09 +01:00
Luya Tshimbalanga
3ca49ecf2b design-suite: drop workaround packages 2017-02-24 10:27:38 -08:00
76 changed files with 1292 additions and 774 deletions

View File

@@ -11,18 +11,18 @@ and modify the kickstart files for their local needs.
## To make a release ##
* git clone ssh://git@pagure.io/fedora-kickstarts.git fedora-kickstarts
* cd fedora-kickstarts
* # If you need a specific branch other than master:
* git checkout BRANCHNAME
* # No tag has been added yet tag HEAD with
* git tag VERSION
* git push --tags
* make
* # Publish the released tar ball
* make publish
* # Clean up the generated files:
* make clean
git clone ssh://git@pagure.io/fedora-kickstarts.git fedora-kickstarts
cd fedora-kickstarts
# If you need a specific branch other than master:
git checkout BRANCHNAME
# No tag has been added yet tag HEAD with
git tag VERSION
git push --tags
make
# Publish the released tar ball
make publish
# Clean up the generated files:
make clean
# bug reports #

View File

@@ -1,8 +0,0 @@
## 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 'https://dl.fedoraproject.org/pub/fedora/linux/atomic/22/'\n%end\n"

View File

@@ -1,11 +0,0 @@
## 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}

View File

@@ -1,102 +0,0 @@
# Kickstart file to build the appliance operating
# system for fedora.
# This is based on the work at http://www.thincrust.net
lang C
keyboard us
timezone US/Eastern
auth --useshadow --passalgo=sha512
selinux --permissive
firewall --disabled
bootloader --timeout=1 --append="acpi=force"
network --bootproto=dhcp --device=eth0 --onboot=on
# Uncomment the next line
# to make the root password be thincrust
# By default the root password is emptied
#rootpw --iscrypted $1$uw6MV$m6VtUWPed4SqgoW6fKfTZ/
#
# Partition Information. Change this as necessary
# This information is used by appliance-tools but
# not by the livecd tools.
#
part / --size 1024 --fstype ext4 --ondisk sda
#
# Repositories
#
%include fedora-repo.ks
#
# Add all the packages after the base packages
#
%packages --excludedocs --nobase
bash
kernel
grub
e2fsprogs
passwd
policycoreutils
chkconfig
rootfiles
yum
vim-minimal
acpid
#needed to disable selinux
lokkit
#Allow for dhcp access
dhclient
iputils
#
# Packages to Remove
#
# no need for kudzu if the hardware doesn't change
-kudzu
-prelink
-setserial
-ed
# Remove the authconfig pieces
-authconfig
-rhpl
-wireless-tools
# Remove the kbd bits
-kbd
-usermode
# these are all kind of overkill but get pulled in by mkinitrd ordering
-mkinitrd
-kpartx
-dmraid
-mdadm
-lvm2
-tar
# selinux toolchain of policycoreutils, libsemanage, ustr
-policycoreutils
-checkpolicy
-selinux-policy*
-libselinux-python
-libselinux
# Things it would be nice to loose
-fedora-logos
generic-logos
-fedora-release-notes
%end
#
# Add custom post scripts after the base post.
#
%post
# Enable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network on
%end

View File

@@ -4,18 +4,16 @@ auth --useshadow --passalgo=sha512
selinux --enforcing
firewall --enabled --service=mdns,ssh
# configure extlinux bootloader
bootloader extlinux
bootloader --location=mbr
part /boot/fw --size=30 --fstype vfat --asprimary
part /boot/efi --size=80 --fstype vfat --asprimary
part /boot --size=512 --fstype ext4 --asprimary
part swap --size=512 --fstype swap --asprimary
part / --size=3584 --fstype ext4 --asprimary
part / --size=2800 --fstype ext4 --asprimary
# make sure that initial-setup runs and lets us do all the configuration bits
firstboot --reconfig
services --enabled=sshd,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setup
services --enabled=sshd,NetworkManager,avahi-daemon,chronyd,initial-setup,zram-swap
%include fedora-repo.ks
@@ -23,43 +21,38 @@ services --enabled=sshd,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setu
@core
@standard
@hardware-support
@dial-up
zram
kernel
# remove this in %post
dracut-config-generic
-dracut-config-rescue
# install tools needed to manage and boot arm systems
@arm-tools
-uboot-images-armv8
rng-tools
chrony
extlinux-bootloader
bcm283x-firmware
initial-setup
initial-setup-gui
-iwl*
-ipw*
-usb_modeswitch
-iproute-tc
#lets resize / on first boot
# dracut-modules-growroot
# remove this in %post
dracut-config-generic
# make sure all the locales are available for inital0-setup and anaconda to work
glibc-all-langpacks
# workaround for consequence of RHBZ #1324623: without this, with
# yum-based creation tools, compose fails due to conflict between
# libcrypt and libcrypt-nss. dnf does not seem to have the same
# issue, so this may be dropped when appliance-creator is ported
# to dnf.
libcrypt-nss
-libcrypt
%end
%post
# Setup Raspberry Pi firmware
cp -Pr /usr/share/bcm283x-firmware/* /boot/fw/
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/fw/rpi2-u-boot.bin
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/fw/rpi3-u-boot.bin
sed -i '/vfat/ d' /etc/fstab
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/efi/rpi2-u-boot.bin
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/efi/rpi3-u-boot.bin
# work around for poor key import UI in PackageKit
rm -f /var/lib/rpm/__db*

View File

@@ -2,11 +2,8 @@
%include fedora-arm-xbase.ks
%include fedora-kde-common.ks
part / --size=5690 --fstype ext4
part / --size=6300 --fstype ext4
%post
echo -n "Enabling initial-setup gui mode on startup"
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
echo .
%end

View File

@@ -2,9 +2,8 @@
%include fedora-arm-xbase.ks
%include fedora-lxde-common.ks
part / --size=4000 --fstype ext4
%post
echo -n "Enabling initial-setup gui mode on startup"
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
echo .
%end

View File

@@ -2,14 +2,13 @@
%include fedora-arm-xbase.ks
%include fedora-lxqt-common.ks
part / --size=4200 --fstype ext4 --asprimary
%packages
# trojita not available on non-x86 platforms
-trojita
%end
%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

View File

@@ -2,11 +2,8 @@
%include fedora-arm-xbase.ks
%include fedora-mate-common.ks
part / --size=5500 --fstype ext4
part / --size=6000 --fstype ext4
%post
echo -n "Enabling initial-setup gui mode on startup"
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
echo .
%end

View File

@@ -1,27 +1,9 @@
%include fedora-arm-base.ks
%include fedora-minimal-common.ks
part /boot --size=512 --fstype ext4
part swap --size=256 --fstype swap
part / --size=1279 --fstype ext4
part / --size=1256 --fstype ext4
%packages
-@standard
-@dial-up
-initial-setup-gui
-generic-release*
-glibc-all-langpacks
glibc-langpack-en
iw
NetworkManager-wifi
-xkeyboard-config
%end
%post
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo .
%end

View File

@@ -1,14 +1,16 @@
%include fedora-arm-base.ks
# server defaults to xfs for / so lets do so on arm also
part / --size=3000 --fstype xfs
part / --size=2500 --fstype xfs
%packages
-@dial-up
# install the default groups for the server evironment since installing the environment is not working
# install the default groups for the server environment since installing the environment is not working
@server-product
@standard
@headless-management
@hardware-support
@networkmanager-submodules
@container-management
@domain-client
-initial-setup-gui

View File

@@ -2,9 +2,8 @@
%include fedora-arm-xbase.ks
%include fedora-soas-common.ks
part / --size=3300 --fstype ext4 --asprimary
%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

View File

@@ -2,7 +2,7 @@
%include fedora-arm-xbase.ks
%include fedora-workstation-common.ks
part / --size=5500 --fstype ext4
part / --size=6200 --fstype ext4
%packages
-initial-setup

View File

@@ -10,4 +10,7 @@
# Most of the ARM X accelerated drivers need some level of CMA allocation
sed -i 's/\(append .*\)/\1 cma=192MB/' /boot/extlinux/extlinux.conf
# Explicitly set graphical.target as default as this is how initial-setup detects which version to run
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
%end

View File

@@ -2,11 +2,8 @@
%include fedora-arm-xbase.ks
%include fedora-xfce-common.ks
part / --size=4000 --fstype ext4
part / --size=4700 --fstype ext4
%post
echo -n "Enabling initial-setup gui mode on startup"
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
echo .
%end

View File

@@ -1,12 +1,22 @@
# 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.
# Fedora Atomic Host is the Fedora version of the "Atomic Host" pattern
# from [Project Atomic](http://www.projectatomic.io/).
# 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.
# This kickstart is used for cloud/virt images, and uses cloud-init
# to bootstrap authentication, just like Fedora Cloud Base. (Also note the
# fedora-atomic-vagrant.ks kickstart inherits from this).
text
# One very important thing to understand is that this image contains the same
# OSTree commit as will be used on bare metal installations - Fedora Atomic Host
# also has an ISO. One difference though is that cloud-init isn't enabled for
# bare metal. When processing this kickstart then, Anaconda isn't actually
# installing packages - it's just replicating a "pre-assembled" tree from
# rpm-ostree.
# Basically, the `ostreesetup` verb replaces the traditional `%packages`
# section. For example, `rpm-ostree status` can show you the same checksum and
# version from an ISO install and this cloud image - it's the same bits.
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
lang en_US.UTF-8
keyboard us
timezone --utc Etc/UTC
@@ -14,45 +24,64 @@ timezone --utc Etc/UTC
auth --useshadow --passalgo=sha512
selinux --enforcing
rootpw --lock --iscrypted locked
user --name=none
# Explicitly disable firewall since cloud providers generally provide
# higher level firewall constructs (i.e. security groups).
firewall --disabled
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
# console=ttyAMA0 and console=hvc0 as kernel boot parameter to see
# kernel boot messages on serial console as well on aarch64 and
# ppc64le respectively.
# https://pagure.io/atomic-wg/issue/347
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 console=ttyAMA0 console=hvc0 net.ifnames=0"
network --bootproto=dhcp --device=link --activate --onboot=on
services --enabled=sshd,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"
# Implement: https://pagure.io/atomic-wg/issue/281
# The bare metal layout currently inherits from fedora server and is in
# https://github.com/rhinstaller/anaconda/blob/master/pyanaconda/installclasses/fedora_atomic_host.py
# However, the disk size is currently just 6GB for the cloud image (defined in pungi-fedora). So the
# "15GB, rest unallocated" model doesn't make sense. The Vagrant box is 40GB (apparently a number of
# Vagrant boxes come big and rely on thin provisioning).
# In both cases, it's simplest to just fill all the disk space.
#
# Use reqpart to create hardware platform specific partitions
# https://pagure.io/atomic-wg/issue/299
reqpart --add-boot
part pv.01 --grow
volgroup atomicos pv.01
logvol / --size=3000 --fstype="xfs" --name=root --vgname=atomicos
# Start from 3GB as we did before, since we just need a size. But we do --grow to fill all space.
logvol / --size=3000 --grow --fstype="xfs" --name=root --vgname=atomicos
# Equivalent of %include fedora-repo.ks
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/rawhide/ --ref=fedora-atomic/rawhide/x86_64/docker-host
# Pull from the ostree repo that was created during the compose
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/repo/ --ref=fedora/rawhide/${basearch}/atomic-host
reboot
%post --erroronfail
# See https://github.com/projectatomic/rpm-ostree/issues/42
# Set the ostree repo to the location we want users to upgrade from
# This location is where the compose gets synced to after the compose
# is done.
ostree remote delete fedora-atomic
ostree remote add --set=gpg-verify=false fedora-atomic 'https://dl.fedoraproject.org/pub/fedora/linux/atomic/rawhide/'
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-30-primary fedora-atomic 'https://kojipkgs.fedoraproject.org/atomic/repo/'
# 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
# Work around https://bugzilla.redhat.com/show_bug.cgi?id=1193590
cp /etc/skel/.bash* /var/roothome
# Configure docker-storage-setup to resize the partition table on boot
# https://github.com/projectatomic/docker-storage-setup/pull/25
echo 'GROWPART=true' > /etc/sysconfig/docker-storage-setup
# and extend the root filesystem to fill it.
# https://pagure.io/atomic-wg/issue/343
echo 'GROWPART=true' >> /etc/sysconfig/docker-storage-setup
echo 'ROOT_SIZE=+100%FREE' >> /etc/sysconfig/docker-storage-setup
echo -n "Getty fixes"
# although we want console output going to the serial console, we don't
@@ -68,12 +97,9 @@ 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
# Remove any persistent NIC rules generated by udev
rm -vf /etc/udev/rules.d/*persistent-net*.rules
# And ensure that we will do DHCP on eth0 on startup
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
DEVICE="eth0"
BOOTPROTO="dhcp"
@@ -82,24 +108,12 @@ 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.
@@ -124,6 +138,9 @@ dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
rm -f /var/tmp/zeros
echo "(Don't worry -- that out-of-space error was expected.)"
# For trac ticket https://pagure.io/atomic-wg/issue/128
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
echo "Adding Developer Mode GRUB2 menu item."
/usr/libexec/atomic-devmode/bootentry add
@@ -131,4 +148,10 @@ echo "Adding Developer Mode GRUB2 menu item."
# fails due to RHBZ #1369794
/sbin/chkconfig network off
# Anaconda is writing an /etc/resolv.conf from the install environment.
# The system should start out with an empty file, otherwise cloud-init
# will try to use this information and may error:
# https://bugs.launchpad.net/cloud-init/+bug/1670052
truncate -s 0 /etc/resolv.conf
%end

View File

@@ -11,24 +11,9 @@
@networkmanager-submodules
@cinnamon-desktop
@libreoffice
# internet and multimedia
pidgin
hexchat
transmission
parole
# mp3 support
gstreamer1-plugin-mpg123
# make sure we have a graphical installer
gnome-software # for update-notification
dnfdragora # for graphical (GTK and ncurses) package-management
libyui-mga-gtk # GTK3-frontend for dnfdragora (graphical use)
libyui-mga-ncurses # Ncurses-frontend for dnfdragora (text-mode use)
# extra backgrounds
desktop-backgrounds-basic
f25-backgrounds-extras-gnome
f29-backgrounds-extras-gnome
%end

View File

@@ -1,12 +0,0 @@
%include fedora-cloud-base.ks
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyAMA0,115200n8"
part /boot --fstype="ext4" --size=500
part /boot/efi --fstype="vfat" --size=100
%packages
efibootmgr
grub2-efi
shim
%end

View File

@@ -1,10 +0,0 @@
%include fedora-cloud-base.ks
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
part prepboot --fstype="prepboot" --size=4
part /boot --fstype="ext4" --size=500
%packages
grub2
%end

View File

@@ -19,7 +19,7 @@ rootpw vagrant
# even on VirtualBox virt, we get a primary network device with "eth0" as the name
# This simplifies things and allows a single disk image for both supported Vagrant
# platforms (virtualbox and kvm)
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0" --extlinux
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0"
%packages
# The default koji Vagrantfile configuration uses rsync to sync files between
@@ -32,6 +32,8 @@ dnf-yum
# users setup. This can actually take a bit of time. Just fold it
# in to the base box disk image
rsync
# Add in sshfs for vagrant-sshfs plugin
fuse-sshfs
%end
%post --erroronfail

View File

@@ -1,10 +1,10 @@
# This is a basic Fedora 21 spin designed to work in OpenStack and other
# This is a basic Fedora cloud 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
# Note that unlike the standard Fedora 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 ImageFactory (in Koji).
@@ -13,12 +13,12 @@
# http://worknotes.readthedocs.org/en/latest/cloudimages.html for some notes.
#
# For a TDL file, I store one here:
# https://git.fedorahosted.org/cgit/fedora-atomic.git/tree/fedora-atomic-rawhide.tdl
# https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
# (Koji generates one internally...what we really want is Koji to publish it statically)
#
#
# Once you have imagefactory and imagefactory-plugins installed, run:
#
# curl -O https://git.fedorahosted.org/cgit/fedora-atomic.git/plain/fedora-atomic-rawhide.tdl
#
# curl -O https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
# tempfile=$(mktemp --suffix=.ks)
# ksflatten -v F22 -c fedora-cloud-base.ks > ${tempfile}
# imagefactory --debug base_image --file-parameter install_script ${tempfile} fedora-atomic-rawhide.tdl
@@ -32,24 +32,18 @@ timezone --utc Etc/UTC
auth --useshadow --passalgo=sha512
selinux --enforcing
rootpw --lock --iscrypted locked
user --name=none
firewall --disabled
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
# We pass net.ifnames=0 because we always want to use eth0 here on all the cloud images.
bootloader --timeout=1 --append="no_timer_check net.ifnames=0 console=tty1 console=ttyS0,115200n8"
network --bootproto=dhcp --device=link --activate --onboot=on
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
clearpart --all
#
# We need to disable 64bit options here or extlinux won't work.
# See: http://www.syslinux.org/wiki/index.php/Filesystem#ext4
# and
# https://bugzilla.redhat.com/show_bug.cgi?id=1369934
#
part / --fstype ext4 --grow --mkfsoptions="-O ^64bit"
autopart --noboot --nohome --noswap --nolvm
%include fedora-repo.ks
@@ -81,14 +75,15 @@ which
# Need to also add back plymouth in order to mask failure of
# systemd-vconsole-setup.service. BZ#1272684. Comment out for now
#-plymouth
-NetworkManager
-iprutils
# Now that BZ#1199868 is fixed kbd really gets removed but it breaks
# systemd-vconsole-setup.service on boot. Comment out for now
#-kbd
-uboot-tools
-kernel
-grub2
# No need for plymouth. Also means anaconda won't put rhgb/quiet
# on kernel command line
-plymouth
%end
@@ -122,12 +117,6 @@ 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"
@@ -181,11 +170,6 @@ 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"
@@ -242,21 +226,13 @@ 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
# ignore return code because UEFI systems with vfat filesystems
# that don't support selinux will give us errors
/usr/sbin/fixfiles -R -a restore || true
echo "Zeroing out empty space."
# This forces the filesystem to reclaim space from deleted files
@@ -264,8 +240,12 @@ dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
rm -f /var/tmp/zeros
echo "(Don't worry -- that out-of-space error was expected.)"
# For trac ticket https://fedorahosted.org/cloud/ticket/128
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
# When we build the image with oz, dracut is used
# and sets up a ifcfg-en<whatever> for the device. We don't
# want to use this, we use eth0 so it is always the same.
# So we remove all these ifcfg-en<whatever> devices so
# The 'network' service can come up cleanly.
rm -f /etc/sysconfig/network-scripts/ifcfg-en*
# Enable network service here, as doing it in the services line
# fails due to RHBZ #1369794
@@ -275,5 +255,11 @@ rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
rm -f /etc/machine-id
touch /etc/machine-id
# Anaconda is writing an /etc/resolv.conf from the install environment.
# The system should start out with an empty file, otherwise cloud-init
# will try to use this information and may error:
# https://bugs.launchpad.net/cloud-init/+bug/1670052
truncate -s 0 /etc/resolv.conf
%end

View File

@@ -23,7 +23,7 @@ user --name=none
firewall --disabled
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
network --bootproto=dhcp --device=eth0 --activate --onboot=on
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
@@ -97,10 +97,6 @@ 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
@@ -209,9 +205,7 @@ 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

View File

@@ -14,7 +14,7 @@ user --name=none
firewall --disabled
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
network --bootproto=dhcp --device=eth0 --activate --onboot=on
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
@@ -88,10 +88,6 @@ 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

88
fedora-disk-base.ks Normal file
View File

@@ -0,0 +1,88 @@
# fedora-disk-base.ks
#
# Defines the basics for all kickstarts in the fedora-live branch
# Does not include package selection (other then mandatory)
# Does not include localization packages or configuration
#
# Does includes "default" language configuration (kickstarts including
# this template can override these settings)
text
lang en_US.UTF-8
keyboard us
timezone US/Eastern
auth --useshadow --passalgo=sha512
selinux --enforcing
firewall --enabled --service=mdns
services --enabled=sshd,NetworkManager,chronyd,zram-swap
network --bootproto=dhcp --device=link --activate
rootpw --lock --iscrypted locked
shutdown
bootloader --timeout=1
zerombr
clearpart --all --initlabel --disklabel=msdos
# make sure that initial-setup runs and lets us do all the configuration bits
firstboot --reconfig
%include fedora-repo.ks
%packages
@core
@standard
@hardware-support
zram
kernel
# remove this in %post
dracut-config-generic
-dracut-config-rescue
# install tools needed to manage and boot arm systems
@arm-tools
-uboot-images-armv7
rng-tools
chrony
bcm283x-firmware
initial-setup
# Intel wireless firmware assumed never of use for disk images
-iwl*
-ipw*
-usb_modeswitch
-generic-release*
# make sure all the locales are available for inital0-setup and anaconda to work
glibc-all-langpacks
%end
%post
# Setup Raspberry Pi firmware
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
echo "Packages within this 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*
# remove random seed, the newly installed instance should make it's own
rm -f /var/lib/systemd/random-seed
# The enp1s0 interface is a left over from the imagefactory install, clean this up
rm -f /etc/sysconfig/network-scripts/ifcfg-enp1s0
dnf -y remove dracut-config-generic
# Disable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network off
# Remove machine-id on pre generated images
rm -f /etc/machine-id
touch /etc/machine-id
%end

10
fedora-disk-minimal.ks Normal file
View File

@@ -0,0 +1,10 @@
%include fedora-disk-base.ks
%include fedora-minimal-common.ks
services --enabled=sshd,NetworkManager,chronyd,initial-setup,zram-swap
autopart --type=plain --noswap
%packages
-xkeyboard-config
%end

30
fedora-disk-server.ks Normal file
View File

@@ -0,0 +1,30 @@
%include fedora-disk-base.ks
services --enabled=sshd,NetworkManager,chronyd,initial-setup,zram-swap
autopart --noswap
%packages
# install the default groups for the server environment since installing the environment is not working
@server-product
@standard
@headless-management
@hardware-support
@networkmanager-submodules
@container-management
@domain-client
-initial-setup-gui
-generic-release*
%end
%post
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo .
%end

View File

@@ -0,0 +1,19 @@
%include fedora-disk-base.ks
%include fedora-disk-xbase.ks
%include fedora-workstation-common.ks
bootloader --append="cma=256MB"
services --enabled=sshd,NetworkManager,chronyd,zram-swap
autopart --type=plain --noswap
%packages
-initial-setup
-initial-setup-gui
%end
%post
%end

21
fedora-disk-xbase.ks Normal file
View File

@@ -0,0 +1,21 @@
%packages
@base-x
@fonts
@input-methods
@multimedia
@printing
-@guest-desktop-agents
# Need aajohan-comfortaa-fonts for the SVG rnotes images
aajohan-comfortaa-fonts
# anaconda needs the locales available to run for different locales
glibc-all-langpacks
%end
%post
# Explicitly set graphical.target as default as this is how initial-setup detects which version to run
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
%end

View File

@@ -1,6 +0,0 @@
%include fedora-docker-base.ks
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
part /boot --fstype="ext4" --size=500
part /boot/efi --fstype="vfat" --size=100

View File

@@ -1,64 +1,15 @@
# 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
# dnf 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
#
# See docker-base-common.ks for details on how to hack on docker image kickstarts
# This base is a stripped back Fedora image without python3/dnf.
# If you need that use the standard base image.
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
bootloader --disabled
timezone --isUtc --nontp Etc/UTC
rootpw --lock --iscrypted locked
keyboard us
zerombr
clearpart --all
part / --fstype ext4 --grow
network --bootproto=dhcp --device=link --activate --onboot=on
reboot
%include fedora-docker-common.ks
%packages --excludedocs --instLangs=en --nocore --excludeWeakdeps
bash
fedora-release
microdnf
-kernel
-e2fsprogs
-libss # used by e2fsprogs
-fuse-libs
%end
%post --erroronfail --log=/root/anaconda-post.log
set -eux
# Set install langs macro so that new rpms that get installed will
# only install langs that we limit it to.
LANG="en_US"
echo "%_install_langs $LANG" > /etc/rpm/macros.image-language-conf
# https://bugzilla.redhat.com/show_bug.cgi?id=1400682
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 "# fstab intentionally empty for containers" > /etc/fstab
# Remove machine-id on pre generated images
rm -fv /etc/machine-id
touch /etc/machine-id
# remove some random help txt files
rm -fv usr/share/gnupg/help*.txt
@@ -88,7 +39,7 @@ mv /usr/share/zoneinfo/UTC /etc/localtime
rm -rfv /usr/share/zoneinfo
# Final pruning
rm -rfv var/cache/* var/log/* tmp/*
rm -rfv /var/cache/* /var/log/* /tmp/*
%end

View File

@@ -1,5 +0,0 @@
%include fedora-docker-base.ks
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
part prepboot --fstype="prepboot" --size=4

View File

@@ -1,67 +1,31 @@
# 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
# dnf 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
#
# See docker-base-common.ks for details on how to hack on docker image kickstarts
# This base is a standard Fedora image with python3 and dnf
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
bootloader --disabled
timezone --isUtc --nontp Etc/UTC
rootpw --lock --iscrypted locked
keyboard us
zerombr
clearpart --all
part / --fstype ext4 --grow
network --bootproto=dhcp --device=link --activate --onboot=on
reboot
%include fedora-docker-common.ks
%packages --excludedocs --instLangs=en --nocore
bash
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
fedora-release
rootfiles
# https://communityblog.fedoraproject.org/modularity-dead-long-live-modularity/
fedora-repos-modular
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
vim-minimal
dnf
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
sssd-client
#fakesystemd #TODO: waiting for review https://bugzilla.redhat.com/show_bug.cgi?id=1118740
-kernel
%end
%post --erroronfail --log=/root/anaconda-post.log
set -eux
# Set install langs macro so that new rpms that get installed will
# only install langs that we limit it to.
LANG="en_US"
echo "%_install_langs $LANG" > /etc/rpm/macros.image-language-conf
# https://bugzilla.redhat.com/show_bug.cgi?id=1400682
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 "# fstab intentionally empty for containers" > /etc/fstab
# remove some extraneous files
rm -rf /var/cache/dnf/*
rm -rf /tmp/*
# https://pagure.io/atomic-wg/issue/308
printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf
# https://bugzilla.redhat.com/show_bug.cgi?id=1576993
systemctl disable dnf-makecache.timer
#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
@@ -69,11 +33,15 @@ systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connec
# Fix /run/lock breakage since it's not tmpfs in docker
# This unmounts /run (tmpfs) and then recreates the files
# in the /run directory on the root filesystem of the container
#
# We ignore the return code of the systemd-tmpfiles command because
# at this point we have already removed the /etc/machine-id and all
# tmpfiles lines with %m in them will fail and cause a bad return
# code. Example failure:
# [/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m
#
umount /run
systemd-tmpfiles --create --boot
# Remove machine-id on pre generated images
rm -f /etc/machine-id
touch /etc/machine-id
systemd-tmpfiles --prefix=/run/ --prefix=/var/run/ --create --boot || true
rm /run/nologin # https://pagure.io/atomic-wg/issue/316
%end

74
fedora-docker-common.ks Normal file
View File

@@ -0,0 +1,74 @@
# This is the common bits between Fedora Docker base image.
#
# To keep this image minimal it only installs English language. You need to change
# dnf 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://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
#
# Then, once you have imagefactory and imagefactory-plugins installed, run:
#
# ksflatten -c fedora-docker-base[-minimal].ks -o fedora-docker-base-test.ks
# imagefactory --debug target_image --template /path/to/fedora-atomic-rawhide.tdl --parameter offline_icicle true --file-parameter install_script $(pwd)/fedora-docker-base-test.ks docker
#
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
bootloader --disabled
timezone --isUtc --nontp Etc/UTC
rootpw --lock --iscrypted locked
keyboard us
network --bootproto=dhcp --device=link --activate --onboot=on
reboot
# boot partitions are irrelevant as the final docker image is a tarball
zerombr
clearpart --all
autopart --noboot --nohome --noswap --nolvm
%packages --excludedocs --instLangs=en --nocore
fedora-release
bash
coreutils-single
glibc-minimal-langpack
libcrypt
rpm
shadow-utils
sssd-client
util-linux
-kernel
-dosfstools
-e2fsprogs
-fuse-libs
-gnupg2-smime
-libss # used by e2fsprogs
-pinentry
-shared-mime-info
-trousers
-xkeyboard-config
%end
%post --erroronfail --log=/root/anaconda-post.log
set -eux
# Set install langs macro so that new rpms that get installed will
# only install langs that we limit it to.
LANG="en_US"
echo "%_install_langs $LANG" > /etc/rpm/macros.image-language-conf
# https://bugzilla.redhat.com/show_bug.cgi?id=1400682
echo "Import RPM GPG key"
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
echo "# fstab intentionally empty for containers" > /etc/fstab
# Remove machine-id on pre generated images
rm -f /etc/machine-id
touch /etc/machine-id
%end

118
fedora-iot.ks Normal file
View File

@@ -0,0 +1,118 @@
# This is the kickstart for Fedora IoT disk images.
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
lang en_US.UTF-8
keyboard us
timezone --utc Etc/UTC
auth --useshadow --passalgo=sha512
selinux --enforcing
rootpw --lock --iscrypted locked
# Add most common consoles console=ttyAMA0 console=ttyS0 console=ttyS1 as kernel boot parameter
bootloader --timeout=1 --append="console=tty1 console=ttyS0,115200n8 console=ttyS1,115200n8 console=ttyAMA0,115200n8 net.ifnames=0 modprobe.blacklist=vc4"
network --bootproto=dhcp --device=link --activate --onboot=on
services --enabled=NetworkManager,sshd,rngd,initial-setup,zram-swap
# tell Initial Setup to run in the reconfig mode
firstboot --reconfig --enable
zerombr
clearpart --all --initlabel --disklabel=msdos
autopart --nohome --noswap --type=plain
# Equivalent of %include fedora-repo.ks
# Pull from the ostree repo that was created during the compose
ostreesetup --nogpg --osname=fedora-iot --remote=fedora-iot --url=https://kojipkgs.fedoraproject.org/compose/iot/repo/ --ref=fedora/29/${basearch}/iot
reboot
%post --erroronfail
# Find the architecture we are on
arch=$(uname -m)
# Setup Raspberry Pi firmware
if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
if [[ $arch == "aarch64" ]]; then
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
else
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/fw/rpi2-u-boot.bin
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/fw/rpi3-u-boot.bin
fi
fi
# Set the origin to the "main ref", distinct from /updates/ which is where bodhi writes.
# We want consumers of this image to track the two week releases.
ostree admin set-origin --index 0 fedora-iot https://kojipkgs.fedoraproject.org/iot/29/ "fedora/29/${arch}/iot"
# Make sure the ref we're supposedly sitting on (according
# to the updated origin) exists.
ostree refs "fedora-iot:fedora/29/${arch}/iot" --create "fedora-iot:fedora/29/${arch}/iot"
# Remove the old ref so that the commit eventually gets cleaned up.
ostree refs "fedora-iot:fedora/29/${arch}/iot" --delete
# delete/add the remote with new options to enable gpg verification
# and to point them at the cdn url
ostree remote delete fedora-iot
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-29-primary fedora-iot 'https://dl.fedoraproject.org/iot/repo/'
# older versions of livecd-tools do not follow "rootpw --lock" line above
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
passwd -l root
# Work around https://bugzilla.redhat.com/show_bug.cgi?id=1193590
cp /etc/skel/.bash* /var/roothome
echo -n "Network fixes"
# initscripts don't like this file to be missing.
cat > /etc/sysconfig/network << EOF
NETWORKING=yes
NOZEROCONF=yes
EOF
# Remove any persistent NIC rules generated by udev
rm -vf /etc/udev/rules.d/*persistent-net*.rules
# And ensure that we will do DHCP on eth0 on startup
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
DEVICE="eth0"
BOOTPROTO="dhcp"
ONBOOT="yes"
TYPE="Ethernet"
PERSISTENT_DHCLIENT="yes"
EOF
echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/systemd/random-seed
echo "Packages within this iot 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.)"
# For trac ticket https://pagure.io/atomic-wg/issue/128
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
echo "Adding Developer Mode GRUB2 menu item."
/usr/libexec/atomic-devmode/bootentry add
# Disable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network off
# Anaconda is writing an /etc/resolv.conf from the install environment.
# The system should start out with an empty file, otherwise cloud-init
# will try to use this information and may error:
# https://bugs.launchpad.net/cloud-init/+bug/1670052
truncate -s 0 /etc/resolv.conf
%end

View File

@@ -1,16 +1,16 @@
%packages
@firefox
@kde-apps
@kde-desktop
@kde-media
@kde-office
@kde-telepathy
@networkmanager-submodules
### The KDE-Desktop
### Browser
qupzilla
falkon
### fixes
@@ -18,7 +18,7 @@ qupzilla
-system-config-printer
# make sure mariadb lands instead of MySQL (hopefully a temporary hack)
mariadb-embedded
mariadb-libs
mariadb-connector-c
mariadb-server
# minimal localization support - allows installing the kde-l10n-* packages
@@ -42,32 +42,8 @@ k3b # ~15 megs
fuse
mediawriter
# only include kdegames-minimal
-kdegames
kdegames-minimal
### space issues
# fonts (we make no bones about admitting we're english-only)
wqy-microhei-fonts # a compact CJK font, to replace:
-naver-nanum-gothic-fonts # Korean
-vlgothic-fonts # Japanese
-adobe-source-han-sans-cn-fonts # simplified Chinese
-adobe-source-han-sans-tw-fonts # traditional Chinese
-paratype-pt-sans-fonts # Cyrillic (already supported by DejaVu), huge
#-stix-fonts # mathematical symbols
# remove input methods to free space
-@input-methods
-scim*
-m17n*
-ibus*
-iok
# save some space (from @standard)
-make
# admin-tools
-gnome-disk-utility
# kcm_clock still lacks some features, so keep system-config-date around

View File

@@ -0,0 +1,8 @@
# remove input methods to free space
%packages
-@input-methods
-scim*
-iok
%end

View File

@@ -14,7 +14,8 @@
# Maintainer: Christian Dersch <lupinix@fedoraproject.org>
# https://fedoraproject.org/wiki/User:Lupinix
%include fedora-live-kde.ks
%include fedora-live-kde-base.ks
%include fedora-live-minimization.ks
# The recommended part size for DVDs is too close to use for the astronomy spin
part / --size 14500
@@ -24,7 +25,13 @@ part / --size 14500
# Installing the default/mandatory packages from engineering & scientific
@engineering-and-scientific
# Basic development
@development-tools
@c-development
# astronomical data analysis
astrometry
astrometry-tycho2
cdsclient
fpack
gcx
@@ -37,7 +44,7 @@ skyviewer
swarp
wcstools
# Observatory: KStars + INDI drivers + Skychart
# Observatory: KStars + INDI drivers
indi-aagcloudwatcher
indi-apogee
indi-eqmod
@@ -45,10 +52,10 @@ indi-gphoto
indi-sx
indistarter
kstars
stellarium
# misc. astronomy
celestia
stellarium
virtualplanet
# Some astro environment stuff

View File

@@ -49,6 +49,7 @@ memtest86+
# The point of a live image is to install
anaconda
anaconda-install-env-deps
@anaconda-tools
# Need aajohan-comfortaa-fonts for the SVG rnotes images
@@ -56,7 +57,6 @@ aajohan-comfortaa-fonts
# Without this, initramfs generation during live image creation fails: #1242586
dracut-live
grub2-efi
syslinux
# anaconda needs the locales available to run for different locales
@@ -95,11 +95,10 @@ livedir="LiveOS"
for arg in \`cat /proc/cmdline\` ; do
if [ "\${arg##rd.live.dir=}" != "\${arg}" ]; then
livedir=\${arg##rd.live.dir=}
return
continue
fi
if [ "\${arg##live_dir=}" != "\${arg}" ]; then
livedir=\${arg##live_dir=}
return
fi
done
@@ -154,7 +153,6 @@ findPersistentHome() {
for arg in \`cat /proc/cmdline\` ; do
if [ "\${arg##persistenthome=}" != "\${arg}" ]; then
homedev=\${arg##persistenthome=}
return
fi
done
}
@@ -174,7 +172,7 @@ if [ -n "\$configdone" ]; then
exit 0
fi
# add fedora user with no passwd
# add liveuser user with no passwd
action "Adding live user" useradd \$USERADDARGS -c "Live System User" liveuser
passwd -d liveuser > /dev/null
usermod -aG wheel liveuser > /dev/null
@@ -207,6 +205,10 @@ systemctl --no-reload disable atd.service 2> /dev/null || :
systemctl stop crond.service 2> /dev/null || :
systemctl stop atd.service 2> /dev/null || :
# turn off abrtd on a live image
systemctl --no-reload disable abrtd.service 2> /dev/null || :
systemctl stop abrtd.service 2> /dev/null || :
# Don't sync the system clock when running live (RHBZ #1018162)
sed -i 's/rtcsync//' /etc/chrony.conf

View File

@@ -7,7 +7,6 @@
# - Dan Book <grinnz@grinnz.com>
%include fedora-live-base.ks
%include fedora-live-minimization.ks
%include fedora-cinnamon-common.ks
part / --size=6144
@@ -32,6 +31,9 @@ sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/li
# set Cinnamon as default session, otherwise login will fail
sed -i 's/^#user-session=.*/user-session=cinnamon/' /etc/lightdm/lightdm.conf
# no updater applet in live environment
rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
# Show harddisk install on the desktop
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
mkdir /home/liveuser/Desktop

View File

@@ -16,42 +16,24 @@ part / --size 14336
# Switch to groups for design suite
@design-suite
# Added addons to address rhbz#1336879 from dnf
gimp-data-extras
gimp-dbp
gimp-dds-plugin
gimp-elsamuko
gimp-fourier-plugin
gimp-gap
gimp-help
gimp-high-pass-filter
gimp-layer-via-copy-cut
gimp-lensfun
gimp-lqr-plugin
gimp-normalmap
gimp-paint-studio
gimp-resynthesizer
gimp-save-for-web
gimp-separate+
gimp-wavelet-denoise-plugin
gimpfx-foundry
gmic-gimp
inkscape-psd
inkscape-sozi
inkscape-table
sane-backends-drivers-scanners
xsane-gimp
#YafaRay-blender
# Provides backup application
deja-dup
deja-dup-nautilus
# Add extra gnome applications
gnome-books
gnome-calendar
gnome-photos
gnome-shell-extension-pomodoro
gnome-todo
# Add cosmetic for gnome-terminal
powerline
powerline-fonts
# Extra wallpapers
f25-backgrounds-extras-base
f25-backgrounds-extras-gnome
f28-backgrounds-extras-base
f28-backgrounds-extras-gnome
# removal of unneeded applications
-gnome-boxes
@@ -64,7 +46,7 @@ f25-backgrounds-extras-gnome
#Override the favorite desktop application in Dash
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
[org.gnome.shell]
favorite-apps=['firefox.desktop', 'shotwell.desktop', 'gimp.desktop', 'darktable.desktop','krita', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']
favorite-apps=['firefox.desktop', 'shotwell.desktop', 'gimp.desktop', 'darktable.desktop','krita.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'pitivi.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']
FOE
# Add link to lists of tutorials

View File

@@ -189,7 +189,6 @@ games-menus
# No compilations of games as I want to only include games that at least
# someone thought were good within a genre.
-kdegames
# Nothing should be downloading data to play.
-autodownloader

View File

@@ -77,7 +77,7 @@ sooperlooper
#recodring and DAW
audacity
ardour4
ardour5
rosegarden4
seq24
muse

View File

@@ -55,11 +55,9 @@ cat > /home/liveuser/.config/akonadi/akonadiserverrc << AKONADI_EOF
Driver=QSQLITE3
AKONADI_EOF
# Disable plasma-pk-updates
sed -i \
-e "s|^X-KDE-PluginInfo-EnabledByDefault=true|X-KDE-PluginInfo-EnabledByDefault=false|g" \
/usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/metadata.desktop \
/usr/share/kservices5/plasma-applet-org.kde.plasma.pkupdates.desktop
# Disable plasma-pk-updates (bz #1436873 and 1206760)
echo "Removing plasma-pk-updates package."
rpm -e plasma-pk-updates
# Disable baloo
cat > /home/liveuser/.config/baloofilerc << BALOO_EOF

View File

@@ -9,9 +9,10 @@
%include fedora-live-kde-base.ks
%include fedora-live-minimization.ks
%include fedora-kde-minimization.ks
# DVD payload
part / --size=6144
part / --size=6500
%post
%end

View File

@@ -38,6 +38,9 @@ cat > /etc/xdg/libfm/pref-apps.conf << FOE
WebBrowser=qupzilla.desktop
FOE
# no updater applet in live environment
rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
# make sure to set the right permissions and selinux contexts
chown -R liveuser:liveuser /home/liveuser/
restorecon -R /home/liveuser/

View File

@@ -21,6 +21,9 @@ fi
mkdir /home/liveuser/Desktop
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
# and mark it as executable
chmod +x /home/liveuser/Desktop/liveinst.desktop
# rebuild schema cache with any overrides we installed
glib-compile-schemas /usr/share/glib-2.0/schemas
@@ -37,6 +40,9 @@ if [ -f /etc/PackageKit/CommandNotFound.conf ]; then
sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
fi
# no updater applet in live environment
rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
# make sure to set the right permissions and selinux contexts
chown -R liveuser:liveuser /home/liveuser/
restorecon -R /home/liveuser/

View File

@@ -5,14 +5,8 @@
# save some space
-mpage
-sox
-hplip
-numactl
-isdn4k-utils
-autofs
# smartcards won't really work on the livecd.
-coolkey
-wget
# scanning takes quite a bit of space :/
-xsane

View File

@@ -47,7 +47,6 @@ firefox
# Dictionaries are big
-aspell-*
-hunspell-*
-man-pages*
-words

View File

@@ -8,169 +8,13 @@
# Maintainer: Amit Saha <amitksaha@fedoraproject.org>
# https://fedoraproject.org/wiki/User:Amitksaha
%include fedora-live-kde.ks
%include fedora-live-kde-base.ks
%include fedora-live-minimization.ks
%include fedora-scientific-common.ks
# The recommended part size for DVDs is too close to use for the scientific spin
part / --size 14500
%packages
# Installing the default/mandatory packages from engineering & scientific
@engineering-and-scientific
# scilab
scilab
scilab-devel
scilab-doc
# Remove sagemath explicitly?
-sagemath
#Devel tools
#Install the mandatory packages from dev-tools and dev-libs
# C/C++ compiler, gdb, autotools, bison, flex, make, strace..
@development-tools
@development-libs
@c-development
@rpm-development-tools
#others, not included
# C++ libraries
blitz-devel
armadillo-devel
# Misc. related utils
ddd
valgrind
#python 2 tools/libraries not included from the groups
python2-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
@java-development
apache-commons-math
#fortran compiler
gcc-gfortran
# GUI for R
rkward
# GUI for Octave
qtoctave
# julia
julia
julia-doc
# IDEs for the IDE folks
@eclipse
spyder
#writing & publishing
emacs
emacs-color-theme
vim
scribus
#scite
lyx
kile
#Presentation, Bibliography & Document arrangement
#tools
BibTool
pdfshuffler
# Parallel/Distributed computing libraries/tools
openmpi
openmpi-devel
valgrind-openmpi
libgomp
python-pp
mpi4py-openmpi
python3-mpi4py-openmpi
#Version control- a GUI for each as well
# Installing rapidsvn will also install subversion package
rapidsvn
git
git-gui
# Mercurial
mercurial
mercurial-hgk
#Backup Utilities
backintime-kde
#needs to install this specifically because of some conflict between openmpi
#and emacs (http://lists.fedoraproject.org/pipermail/devel/2011-July/153812.html)
libotf
#root
root
root-gui-fitpanel
root-python
#Multiple jobs/clustering system
# torque
# torque-server
# torque-scheduler
# torque-gui
# torque-libs
# torque-mom
# python-pbs
#Drawing, Picture viewing tools, Visualization tools
dia
inkscape
xzgv
gimp
ggobi
ggobi-devel
#g3data
#Mayavi
#Misc. Utils
screen
tmux
rlwrap
hexchat
shutter
fig2ps
bibtex2html
hevea
#Include Mozilla Firefox
firefox
%end
%post
%end

View File

@@ -36,8 +36,7 @@ gnome-keyring-pam
-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
-PackageKit* # we switched to dnfdragora, so we don't need this
-aspell-* # dictionaries are big
-gnumeric
-foomatic-db-ppds

View File

@@ -5,8 +5,6 @@
#
# Maintainers:
# - Peter Robinson <pbrobinson AT gmail DOT com>
# - Sebastian Dziallas <sdz AT fedoraproject DOT org>
# - Mel Chua <mchua AT fedoraproject DOT org>
%include fedora-live-base.ks
%include fedora-live-minimization.ks

View File

@@ -4,7 +4,11 @@
%include fedora-live-base.ks
%include fedora-workstation-common.ks
%include snippets/packagekit-cached-metadata.ks
#
# Disable this for now as packagekit is causing compose failures
# by leaving a gpg-agent around holding /dev/null open.
#
#include snippets/packagekit-cached-metadata.ks
part / --size 6656
@@ -13,16 +17,36 @@ part / --size 6656
cat >> /etc/rc.d/init.d/livesys << EOF
# disable updates plugin
# disable gnome-software automatically downloading updates
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
[org.gnome.software]
download-updates=false
FOE
# don't autostart gnome-software session service
rm -f /etc/xdg/autostart/gnome-software-service.desktop
# disable the gnome-software shell search provider
cat >> /usr/share/gnome-shell/search-providers/org.gnome.Software-search-provider.ini << FOE
DefaultDisabled=true
FOE
# don't run gnome-initial-setup
mkdir ~liveuser/.config
touch ~liveuser/.config/gnome-initial-setup-done
# suppress anaconda spokes redundant with gnome-initial-setup
cat >> /etc/sysconfig/anaconda << FOE
[NetworkSpoke]
visited=1
[PasswordSpoke]
visited=1
[UserSpoke]
visited=1
FOE
# make the installer show up
if [ -f /usr/share/applications/liveinst.desktop ]; then
# Show harddisk install in shell dash

View File

@@ -60,6 +60,9 @@ sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.d
mkdir /home/liveuser/Desktop
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
# no updater applet in live environment
rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
# and mark it as executable (new Xfce security feature)
chmod +x /home/liveuser/Desktop/liveinst.desktop

View File

@@ -43,7 +43,7 @@ metacity
-acpid
-gimp-help
-desktop-backgrounds-basic
-PackageKit* # we switched to yumex, so we don't need this
-PackageKit* # we switched to dnfdragora, so we don't need this
-foomatic-db-ppds
-foomatic
-stix-fonts

View File

@@ -5,42 +5,18 @@
#
# Maintainer(s):
# Christian Dersch <lupinix@fedoraproject.org>
# Zamir SUN <zsun@fedoraproject.org>
#
%packages
@lxqt
@lxqt-apps
@lxqt-media
@networkmanager-submodules
# for nm applet
gnome-keyring
# We have obconf-qt now
obconf-qt
-obconf
# No sddm-breeze, this pulls in huge parts of plasma, but use breeze for LXQt
breeze-gtk
plasma-breeze
-sddm-breeze
# no kwallet running by default
-qupzilla-kwallet
# Pull in some useful applications, use KDE ones if necessary
dnfdragora
dragon
kcalc
kwrite
lxappearance
lximage-qt
lxqt-sudo
pavucontrol-qt
psi-plus
qlipper
quassel
qpdfview-qt5
transmission-qt
trojita
yarock
# l10n
lxqt-l10n
@@ -51,8 +27,8 @@ pavucontrol-qt-l10n
# MP3
gstreamer1-plugin-mpg123
# We want Qt GUI for libyui used by dnfdragora
libyui-mga-qt
# Text Editor
enki
# remove unneeded stuff to get a lightweight system
# fonts (we make no bones about admitting we're english-only)
@@ -69,8 +45,13 @@ wqy-microhei-fonts # a compact CJK font, to replace:
-@input-methods
-scim*
-m17n*
-ibus*
# Temporary include ibus to workaround RHBZ 1633225
# -ibus*
-iok
# Fix https://bugzilla.redhat.com/show_bug.cgi?id=1429132
# Why is this not pulled in by anaconda???
storaged
%end

View File

@@ -1,7 +1,4 @@
%packages
-PackageKit* # we switched to yumex, so we don't need this
PackageKit-command-not-found # nifty for installing not-found cli-commands
firefox
@mate
compiz
compiz-plugins-main
@@ -17,27 +14,11 @@ emerald-themes
emerald
fusion-icon
@networkmanager-submodules
blueberry
# some apps from mate-applications
caja-actions
mate-disk-usage-analyzer
# more backgrounds
f25-backgrounds-base
f25-backgrounds-mate
f25-backgrounds-extras-base
# system tools
system-config-printer
system-config-printer-applet
lightdm-gtk-greeter-settings
# audio video
parole
exaile
gstreamer1-plugin-mpg123 # mp3 support
# blacklist applications which breaks mate-desktop
-audacious
@@ -47,10 +28,6 @@ gstreamer1-plugin-mpg123 # mp3 support
# dsl tools
rp-pppoe
# some tools
p7zip
p7zip-plugins
# FIXME; apparently the glibc maintainers dislike this, but it got put into the
# desktop image at some point. We won't touch this one for now.
nss-mdns
@@ -58,15 +35,10 @@ nss-mdns
# Drop things for size
-@3d-printing
-brasero
-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

23
fedora-minimal-common.ks Normal file
View File

@@ -0,0 +1,23 @@
%packages
-@standard
-initial-setup-gui
-generic-release*
-glibc-all-langpacks
# recommended by iproute, we don't want it in minimal
-iproute-tc
# recommended by gnutls, we don't want it in minimal
-trousers
glibc-langpack-en
iw
NetworkManager-wifi
%end
%post
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo .
%end

View File

@@ -0,0 +1,27 @@
%include fedora-arm-base.ks
# server defaults to xfs for / so lets do so on arm also
part / --size=2500 --fstype xfs
%packages
# 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*
fedora-modular-release
%end
%post
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo .
%end

View File

@@ -0,0 +1,70 @@
# See fedora-modular-container-common.ks for details on how to hack on container image kickstarts
# This base is a stripped back Fedora image without python3/dnf.
# If you need that use the standard base image.
%include fedora-modular-container-common.ks
%packages --excludedocs --instLangs=en --nocore --excludeWeakdeps
microdnf
%end
%post --erroronfail --log=/root/anaconda-post.log
# remove some random help txt files
rm -fv usr/share/gnupg/help*.txt
# Pruning random things
rm usr/lib/rpm/rpm.daily
rm -rfv usr/lib64/nss/unsupported-tools/ # unsupported
# Statically linked crap
rm -fv usr/sbin/{glibc_post_upgrade.x86_64,sln}
ln usr/bin/ln usr/sbin/sln
# Remove some dnf info
rm -rfv /var/lib/dnf
# don't need icons
rm -rfv /usr/share/icons/*
#some random not-that-useful binaries
rm -fv /usr/bin/pinky
# we lose presets by removing /usr/lib/systemd but we do not care
rm -rfv /usr/lib/systemd
# if you want to change the timezone, bind-mount it from the host or reinstall tzdata
rm -fv /etc/localtime
mv /usr/share/zoneinfo/UTC /etc/localtime
rm -rfv /usr/share/zoneinfo
# Final pruning
rm -rfv /var/cache/* /var/log/* /tmp/*
%end
%post --nochroot --erroronfail --log=/mnt/sysimage/root/anaconda-post-nochroot.log
set -eux
# https://bugzilla.redhat.com/show_bug.cgi?id=1343138
# Fix /run/lock breakage since it's not tmpfs in container
# This unmounts /run (tmpfs) and then recreates the files
# in the /run directory on the root filesystem of the container
# NOTE: run this in nochroot because "umount" does not exist in chroot
umount /mnt/sysimage/run
# The file that specifies the /run/lock tmpfile is
# /usr/lib/tmpfiles.d/legacy.conf, which is part of the systemd
# rpm that isn't included in this image. We'll create the /run/lock
# file here manually with the settings from legacy.conf
# NOTE: chroot to run "install" because it is not in anaconda env
chroot /mnt/sysimage install -d /run/lock -m 0755 -o root -g root
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1051816
# NOTE: run this in nochroot because "find" does not exist in chroot
KEEPLANG=en_US
for dir in locale i18n; do
find /mnt/sysimage/usr/share/${dir} -mindepth 1 -maxdepth 1 -type d -not \( -name "${KEEPLANG}" -o -name POSIX \) -exec rm -rfv {} +
done
%end

View File

@@ -0,0 +1,38 @@
# See fedora-modular-container-common.ks for details on how to hack on container image kickstarts
# This base is a standard Fedora image with python3 and dnf
%include fedora-modular-container-common.ks
%packages --excludedocs --instLangs=en --nocore
rootfiles
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
vim-minimal
dnf
dnf-yum # https://pagure.io/fesco/ticket/1312#comment:29
sssd-client
%end
%post --erroronfail --log=/root/anaconda-post.log
# remove some extraneous files
rm -rf /var/cache/dnf/*
rm -rf /tmp/*
#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
# https://bugzilla.redhat.com/show_bug.cgi?id=1343138
# Fix /run/lock breakage since it's not tmpfs in container
# This unmounts /run (tmpfs) and then recreates the files
# in the /run directory on the root filesystem of the container
#
# We ignore the return code of the systemd-tmpfiles command because
# at this point we have already removed the /etc/machine-id and all
# tmpfiles lines with %m in them will fail and cause a bad return
# code. Example failure:
# [/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m
#
umount /run
systemd-tmpfiles --prefix=/run/ --prefix=/var/run/ --create --boot || true
%end

View File

@@ -0,0 +1,75 @@
# This is the common bits between Container base images based on Modular Fedora.
#
# To keep this image minimal it only installs English language. You need to change
# dnf 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://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
#
# Then, once you have imagefactory and imagefactory-plugins installed, run:
#
# ksflatten -c fedora-modular-base[-minimal].ks -o fedora-modular-base-test.ks
# imagefactory --debug target_image --template /path/to/fedora-atomic-rawhide.tdl --parameter offline_icicle true --file-parameter install_script $(pwd)/fedora-modular-base-test.ks modular
#
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
bootloader --disabled
timezone --isUtc --nontp Etc/UTC
rootpw --lock --iscrypted locked
keyboard us
network --bootproto=dhcp --device=link --activate --onboot=on
reboot
# boot partitions are irrelevant as the final container image is a tarball
zerombr
clearpart --all
autopart --nohome --noswap --nolvm
%packages --excludedocs --instLangs=en --nocore
fedora-modular-release
bash
coreutils-single
glibc-minimal-langpack
libcrypt
rpm
shadow-utils
sssd-client
util-linux
-kernel
-dosfstools
-e2fsprogs
-fuse-libs
-gnupg2-smime
-libss # used by e2fsprogs
-libusbx
-pinentry
-shared-mime-info
-trousers
-xkeyboard-config
%end
%post --erroronfail --log=/root/anaconda-post.log
set -eux
# Set install langs macro so that new rpms that get installed will
# only install langs that we limit it to.
LANG="en_US"
echo "%_install_langs $LANG" > /etc/rpm/macros.image-language-conf
# https://bugzilla.redhat.com/show_bug.cgi?id=1400682
echo "Import RPM GPG key"
releasever=$(rpm -q --qf '%{version}\n' fedora-modular-release)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
echo "# fstab intentionally empty for containers" > /etc/fstab
# Remove machine-id on pre generated images
rm -f /etc/machine-id
touch /etc/machine-id
%end

View File

@@ -0,0 +1,79 @@
text
lang en_US.UTF-8
keyboard us
timezone US/Eastern
auth --useshadow --passalgo=sha512
selinux --enforcing
# Disabled for modular compose (for now)
#firewall --enabled --service=mdns
# Disabled for modular compose (for now)
#services --enabled=sshd,NetworkManager,chronyd,initial-setup
network --bootproto=dhcp --device=link --activate
rootpw --lock --iscrypted locked
shutdown
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
zerombr
clearpart --all --initlabel --disklabel=msdos
autopart --type=plain
# make sure that initial-setup runs and lets us do all the configuration bits
firstboot --reconfig
%include fedora-repo.ks
%packages --excludedocs --excludeWeakdeps --nocore
bash
fedora-modular-release
filesystem
coreutils-single
util-linux
rpm
shadow-utils
microdnf
glibc-minimal-langpack
grubby
kernel
libcrypt
sssd-client
dhcp-client
-fedora-logos
-coreutils
-dosfstools
-e2fsprogs
-fuse-libs
-gnupg2-smime
-libss # used by e2fsprogs
-libusbx
-pinentry
-shared-mime-info
-trousers
-xkeyboard-config
-dracut
%end
%post
# Setup Raspberry Pi firmware
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
releasever=$(rpm -q --qf '%{version}\n' fedora-modular-release)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
echo "Packages within this 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*
# remove random seed, the newly installed instance should make it's own
rm -f /var/lib/systemd/random-seed
# Disable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network off
# Remove machine-id on pre generated images
rm -f /etc/machine-id
touch /etc/machine-id
%end

View File

@@ -6,6 +6,11 @@
%packages
@python-classroom
@python-science
nano
openssh-clients
vim-enhanced
wget
# Remove Pythons possibly recommended by tox
-python26

View File

@@ -7,13 +7,17 @@
%include fedora-python-classroom-common.ks
%packages
ninja-ide
emacs
python3-matplotlib-tk
python3-pillow-tk
# Remove extra gnome-y things
-@graphical-internet
-@games
-@sound-and-video
-@multimedia
-dleyna*
-evolution*
-gnome-boxes
-gnome-calendar
-gnome-clocks
@@ -22,6 +26,7 @@
-gnome-documents
-gnome-font-viewer
-gnome-maps
-gnome-photos
-gnome-weather
-grilo-plugins
-cheese
@@ -30,7 +35,6 @@
# This is no longer workstation
-@workstation-product
-fedora-productimg-workstation
# Add a web browser
@firefox
@@ -51,11 +55,11 @@
# Dictionaries are big
-aspell-*
-hunspell-*
-words
# Help and art can be big, too
-gnome-user-docs
-gnome-getting-started-docs
-desktop-backgrounds-basic
-*backgrounds-extras

View File

@@ -1,4 +1,4 @@
repo --name=fedora --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
repo --name=updates --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
#repo --name=updates-testing --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
url --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
repo --name=fedora --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
repo --name=updates --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
#repo --name=updates-testing --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch
url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch

View File

@@ -1,2 +1,2 @@
repo --name=rawhide --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=$basearch
url --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=$basearch
repo --name=rawhide --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch

162
fedora-scientific-common.ks Normal file
View File

@@ -0,0 +1,162 @@
%packages
# Installing the default/mandatory packages from engineering & scientific
@engineering-and-scientific
# scilab
scilab
scilab-devel
scilab-doc
# Remove sagemath explicitly?
-sagemath
#Devel tools
#Install the mandatory packages from dev-tools and dev-libs
# C/C++ compiler, gdb, autotools, bison, flex, make, strace..
@development-tools
@development-libs
@c-development
@rpm-development-tools
#others, not included
# C++ libraries
blitz-devel
armadillo-devel
# Misc. related utils
ddd
valgrind
#python 2 tools/libraries not included from the groups
python2-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
@java-development
apache-commons-math
#fortran compiler
gcc-gfortran
# GUI for R
rkward
# GUI for Octave
qtoctave
# julia
# Comment out till build failure is sorted
# julia
# julia-doc
# IDEs for the IDE folks
@eclipse
# Workaround for https://pagure.io/releng/issue/7814
-eclipse-linuxtools-vagrant
spyder
#writing & publishing
emacs
emacs-color-theme
vim
scribus
#scite
lyx
kile
#Presentation, Bibliography & Document arrangement
#tools
BibTool
pdfshuffler
# Parallel/Distributed computing libraries/tools
openmpi
openmpi-devel
valgrind-openmpi
libgomp
python-pp
mpi4py-openmpi
python3-mpi4py-openmpi
#Version control- a GUI for each as well
# Installing rapidsvn will also install subversion package
rapidsvn
git
git-gui
# Mercurial
mercurial
mercurial-hgk
#Backup Utilities
backintime-kde
#needs to install this specifically because of some conflict between openmpi
#and emacs (http://lists.fedoraproject.org/pipermail/devel/2011-July/153812.html)
libotf
#root
root
root-gui-fitpanel
root-python
#Multiple jobs/clustering system
# torque
# torque-server
# torque-scheduler
# torque-gui
# torque-libs
# torque-mom
# python-pbs
#Drawing, Picture viewing tools, Visualization tools
dia
inkscape
xzgv
gimp
ggobi
ggobi-devel
#g3data
#Mayavi
#Misc. Utils
screen
tmux
rlwrap
hexchat
shutter
fig2ps
bibtex2html
hevea
#Include Mozilla Firefox
firefox
%end

View File

@@ -0,0 +1,12 @@
# Fedora Scientific Vagrant box
# Fedora Scientific: For researchers in Science and Engineering
# Fedora-Scientific aims to create a Fedora which has the generic
# toolset for the researcher
# Web: https://labs.fedoraproject.org/en/scientific/
# Maintainer: Amit Saha <amitksaha@fedoraproject.org>
# https://fedoraproject.org/wiki/User:Amitksaha
%include fedora-cloud-base-vagrant.ks
%include fedora-scientific-common.ks

View File

@@ -30,8 +30,7 @@ firewall --enabled --service=mdns,presence
-abrt-cli
-ibus*
-hyperv-daemons
-webkitgtk4-plugin-process-gtk2
webkitgtk3
-webkit2gtk3-plugin-process-gtk2
# Add some extra fonts
dejavu-sans-fonts
@@ -77,6 +76,10 @@ pulseaudio-utils
# http://bugs.sugarlabs.org/ticket/1951
rp-pppoe
# Useful for SoaS duplication from:
# http://bugs.sugarlabs.org/ticket/74
livecd-tools
# Get the Sugar boot screen
-plymouth-system-theme
-plymouth-theme-charge
@@ -89,7 +92,7 @@ sugar-logos
# Rebuild initrd for Sugar boot screen
KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
/usr/sbin/plymouth-set-default-theme sugar
/sbin/dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
# Note that running rpm recreates the rpm db files which aren't needed or wanted
rm -f /var/lib/rpm/__db*
@@ -160,6 +163,16 @@ show-logout=false
[org.sugarlabs.power]
automatic=true
EOF
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/sugar.soas.gschema.override
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
# For lorax/livemedia-creator builds.
sed -i '
/## make boot.iso/ i\
# Add livecd-iso-to-disk script to .iso filesystem at /LiveOS/\
<% f = "usr/bin/livecd-iso-to-disk" %>\
%if exists(f):\
install ${f} ${LIVEDIR}/${f|basename}\
%endif\
' /usr/share/lorax/templates.d/99-generic/live/x86.tmpl
%end

View File

@@ -20,9 +20,6 @@
@printing
@workstation-product
# Branding for the installer
fedora-productimg-workstation
# Exclude unwanted packages from @anaconda-tools group
-gfs2-utils
-reiserfs-utils

View File

@@ -27,10 +27,8 @@ gnome-keyring-pam
# Note that blank is still default.
xscreensaver-extras
wget
# Handy for debugging
rfkill
# Better more popular browser
firefox
#firefox
system-config-printer
# save some space
@@ -38,7 +36,6 @@ system-config-printer
-acpid
-gimp-help
-desktop-backgrounds-basic
-PackageKit* # we switched to yumex, so we don't need this
-aspell-* # dictionaries are big
-xfce4-sensors-plugin

View File

@@ -0,0 +1,40 @@
# fedora-live-workstation-ja_JP.ks
#
# Description:
# - Japanese Fedora Live Spin with the Gnome Desktop Environment
#
# Maintainer(s):
# - Shintaro Fujiwara <shintaro.fujiwara@miraclelinux.com>
%include ../fedora-live-workstation.ks
lang ja_JP.UTF-8
keyboard jp
timezone Asia/Tokyo
%packages
@japanese-support
# exclude input methods except ibus:
-m17n*
-scim*
-iok
# ibus stuff
ibus-kkc
imsettings
%end
%post
cat > /etc/X11/xorg.conf.d/00-keyboard.conf << "EOF"
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "jp"
Option "XkbModel" "jp106"
EndSection
EOF
gsettings set org.gnome.desktop.input-sources sources "[('ibus', 'kkc'), ('xkb', 'jp')]"
%end

View File

@@ -0,0 +1,20 @@
# fedora-livecd-cinnamon-de_DE.ks
#
# Description:
# - German Fedora Live Spin with the Cinnamon Desktop Environment
#
# Maintainer(s):
# - Björn Esser <besser82@fedoraproject.org>
%include ../fedora-live-cinnamon.ks
lang de_DE.UTF-8
keyboard de-latin1-nodeadkeys
timezone Europe/Berlin
%packages
@german-support
# exclude input methods
-m17n*
-scim*
%end

View File

@@ -0,0 +1,40 @@
# fedora-livecd-kde-ja_JP.ks
#
# Description:
# - Japanese Fedora Live Spin with the KDE Desktop Environment
#
# Maintainer(s):
# - Shintaro Fujiwara <shintaro.fujiwara@miraclelinux.com>
%include ../fedora-live-kde.ks
lang ja_JP.UTF-8
keyboard jp
timezone Asia/Tokyo
%packages
@japanese-support
# exclude input methods except ibus:
-m17n*
-scim*
-iok
# ibus-stuff
fcitx-qt5
ibus-kkc
ibus-mozc
ibus-qt
kcm-fcitx
%end
%post
cat > /etc/X11/xorg.conf.d/00-keyboard.conf << "EOF"
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "jp"
Option "XkbModel" "jp106"
EndSection
EOF
%end

View File

@@ -14,10 +14,9 @@ timezone Asia/Tokyo
%packages
@japanese-support
# exclude input methods:
# exclude input methods except ibus:
-m17n*
-scim*
-ibus*
-iok
# Better more popular browser
firefox

View File

@@ -0,0 +1,40 @@
# fedora-livedvd-games-ja_JP.ks
#
# Description:
# - Japanese Fedora Live Spin with the game Desktop Environment
#
# Maintainer(s):
# - Mika Tsukada <mika.tsukada@miraclelinux.com>
%include ../fedora-live-games.ks
lang ja_JP.UTF-8
keyboard ja
timezone Asia/Tokyo
%packages
@japanese-support
# exclude input methods except ibus:
-m17n*
-scim*
-iok
glibc-langpack-ja
# ibus-stuff
ibus-kkc
ibus-mozc
%end
%post
cat > /etc/X11/xorg.conf.d/00-keyboard.conf << "EOF"
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "jp"
Option "XkbModel" "jp106"
EndSection
EOF
%end