Compare commits

...

100 Commits
0.28.1 ... f29

Author SHA1 Message Date
Clement Verna
fcf1418f19 Add sudo to the fedora container base image.
sudo is needed in the base image for it to be used in Azure services

Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-05-05 14:12:59 +02:00
Peter Robinson
58b60b2a62 IoT: minor ks tweaks
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2019-02-14 15:54:33 +00:00
Peter Robinson
f524ca7fd3 IoT: update content URLs, minor fix 2019-02-07 14:29:21 +00:00
Sinny Kumari
43a6635b8b Update ostree repo url from atomic/repo/ to ostree/repo
Also update ostree remote url and set metalink=mirrolist
Related - https://pagure.io/fedora-infrastructure/issue7487

Signed-off-by: Sinny Kumari <sinny@redhat.com>
2019-02-07 11:59:19 +05:30
Clement Verna
776ba2064e Use the fedora-release-container package to get the release version
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-02-05 16:01:02 +01:00
Clement Verna
96e4175ad4 Use the fedora-release-container package in container images
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-01-03 09:55:53 +01:00
Peter Robinson
e88290bfa8 IoT: work around stray console= appearing for some architectures
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-11-30 17:33:19 +00:00
Peter Robinson
9fb9bcbe45 IoT: setup the stable references for f29
Setup for IoT stable references for ostree

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-11-27 17:03:29 +00:00
Clement Verna
99961988be Use coreutils instead of coreutils-single in containers.
Fixes https://github.com/fedora-cloud/docker-brew-fedora/issues/58

Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-11-02 19:36:11 +01:00
Peter Robinson
6f3450b123 drop console options for IoT
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-11-02 16:19:38 +00:00
Miro Hrončok
f063d310a6 Stop using fedora-live-minimization from Python Classroom
From Adam Williamson:

The Python Classroom spin images no longer build in recent Rawhide,
because of a dnf behaviour change that exposes dependency issues as
failures rather than hiding them by silently excluding packages. (This
change will likely get into F29 soon too).

The issue is this. fedora-live-python-classroom.ks includes
fedora-live-minimization.ks , which does this:

-sane-backends

but it also includes fedora-live-workstation.ks, which includes fedora-
workstation-common.ks, which does this:

@gnome-desktop

...and @gnome-desktop includes sane-backends-drivers-scanners and
libsane-hpaio, which both require sane-backends.

Until recently dnf was simply silently excluding sane-backends-drivers-
scanners and libsane-hpaio from the image, to 'resolve' this. Now it
fails on the problem, and we get to make a choice.

You basically have three options:

1. Just drop fedora-live-minimization.ks from fedora-live-python-
classroom.ks . It's pretty old and random at this point. It's basically
trying to drop printing and scanning stuff to save a bit of space. Do
you actually want printing and scanning not to work on your image?

2. Keep fedora-live-minimization.ks but explicitly add back `sane-
backends` to %packages in fedora-live-python-classroom.ks . This would
override the exclusion and fix the dep issue, and include the scanning
bits in the image.

3. Keep fedora-live-minimization.ks and add excludes for sane-backends-
drivers-scanners and libsane-hpaio to fedora-live-python-classroom.ks .
This would lose scanning support, and save a bit of space.

I went with option 1.
2018-10-31 21:20:04 +01:00
Frederick Grose
3a1ac109c3 fedora-live-base,fedora-soas: livecd-iso-to-disk in .iso filesystem.
For livemedia-creator builds, inject install code into the lorax
template live/x86.tmpl that copies the script livecd-iso-to-disk
into the .iso filesystem at /LiveOS when livecd-tools is present in
the install image.  This fixes commit 1fd9547, which failed in this.
2018-10-31 10:39:52 -04:00
Clement Verna
21d7a8d661 Containers do not need grubby.
Make sure that we do not install grubby on the
container base image.
https://pagure.io/releng/issue/7872

Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-10-30 20:29:03 +01:00
Mohan Boddu
f75331262b Fixing https://pagure.io/fedora-kickstarts/pull-request/450
Dont know how the merge conflicts got into it, hence
reverting the changes

Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2018-10-29 17:02:18 -04:00
Mohan Boddu
742baccab0 Merge #450 design suite: temporarily comment conflicting applications 2018-10-29 19:12:53 +00:00
Zamir SUN
8a096593c1 LXQt: Temporary include to workaround RHBZ 1621317
Signed-off-by: Zamir SUN <sztsian@gmail.com>
2018-10-28 09:06:19 +08:00
Luya Tshimbalanga
6557734f1a design suite: temporarily comment conflicting applications 2018-10-24 00:20:31 -07:00
Kevin Fenzi
028fd2edcd Merge #447 Remove exclusion of iproute-tc from fedora-arm-base. 2018-10-17 20:49:27 +00:00
Dusty Mabe
9e89057b4a fedora-atomic: split out kickstarts to fix vagrant
In the vagrant kickstarts we had something like

 %include fedora-atomic-vagrant.ks
 %include fedora-atomic-updates.ks

but both fedora-atomic-updates.ks and fedora-atomic-vagrant.ks
included fedora-atomic.ks which means we got duplicate things
in the flattened ks and we get errors. This splits it out a bit
farther so we don't get duplicates.
2018-10-12 17:21:18 -04:00
Paul Whalen
5f9a323aea Remove exclusion of iproute-tc from fedora-arm-base.
Signed-off-by: Paul Whalen <pwhalen@redhat.com>
2018-10-12 16:02:07 -04:00
Dusty Mabe
899bc45aa1 fedora-atomic: add updates and updates-testing kickstarts
This is so we can build media during the updates composes using the
updates and or testing refs. They include the base fedora-atomic.ks.
2018-10-11 13:12:50 -04:00
Peter Robinson
8c83a275ee Fix default partitioning on IoT images post SBSA fix in blivet
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-10-11 17:53:41 +01:00
Frederick Grose
847afdf7a0 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-10-02 18:59:04 -07:00
Frederick Grose
1fd9547603 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-10-02 15:36:36 -07:00
Amit Saha
4a677c7613 Update fedora-scientific-common.ks 2018-09-26 07:14:00 +00:00
Amit Saha
b8f8e39b7c Update fedora-scientific-common.ks
Workaround for https://pagure.io/releng/issue/7814
2018-09-26 02:56:12 +00:00
Kevin Fenzi
b8b9f532b6 Merge #438 Drop fedora-live-minimization use from cinnamon 2018-09-26 00:14:04 +00:00
Kevin Fenzi
de39b451c9 Merge #436 Update fedora-minimization.ks 2018-09-26 00:11:15 +00:00
Adam Williamson
249374e72b 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:03:52 -07:00
Adam Williamson
5f600c3412 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:59:32 -07:00
Adam Williamson
a0ad041cc3 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:36:36 -07:00
Kevin Fenzi
97368dfb7b Merge #432 Move exclusions of trousers-lib and iproute-tc to minimal-common 2018-09-25 22:49:46 +00:00
Kevin Fenzi
1052911243 do not exclude foomatic-db-ppds anymore 2018-09-25 15:29:53 -07:00
Adam Williamson
5dc350ad94 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 15:04:16 -07:00
Peter Robinson
c6bc0981c7 Merge #423 Minor updates to Raspberry Pi firmware handling on ARMv7 2018-09-12 17:04:30 +00:00
Zamir SUN
29304129a0 LXQt: Add default editor
Signed-off-by: Zamir SUN <sztsian@gmail.com>
2018-09-09 22:18:41 +08:00
Peter Robinson
fcebc307ad Minor updates to Raspberry Pi firmware handling on ARMv7
Changes so we hangle the firmware more simply and in the same manner
across ARMv7 and aarch64. Enabling for UEFI on ARMv7 too.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-09-06 11:58:38 +01:00
Dan Book
19a58f0fc6 Cinnamon - update background extras to f29 2018-09-02 14:52:25 -04:00
Peter Robinson
1ba38e3f1f drop swap from minimal image, it was missed in the zram PR
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-08-23 10:53:41 +01:00
Dan Book
2bad7a13cb Cinnamon - add parole media player 2018-08-21 14:03:41 -04:00
Amit Saha
46f3891c5c Update fedora-scientific-common.ks: Comment out julia
Comment out julia till https://koji.fedoraproject.org/koji/buildinfo?buildID=1135023 is fixed
2018-08-16 23:19:50 +00:00
Mohan Boddu
c5e43ec1f9 Branching F29 from rawhide
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2018-08-13 13:36:18 -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
Amit Saha
bd83b7d6e3 Initial KS files for Fedora Scientific vagrant box 2018-01-26 11:23:40 +11: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
55 changed files with 569 additions and 278 deletions

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=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,6 +21,7 @@ services --enabled=sshd,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setu
@core
@standard
@hardware-support
zram
kernel
# remove this in %post
@@ -39,9 +38,7 @@ initial-setup
initial-setup-gui
-iwl*
-ipw*
-trousers-lib
-usb_modeswitch
-iproute-tc
#lets resize / on first boot
# dracut-modules-growroot
@@ -53,10 +50,8 @@ glibc-all-langpacks
%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,7 +2,7 @@
%include fedora-arm-xbase.ks
%include fedora-kde-common.ks
part / --size=5690 --fstype ext4
part / --size=6300 --fstype ext4
%post

View File

@@ -2,6 +2,8 @@
%include fedora-arm-xbase.ks
%include fedora-lxde-common.ks
part / --size=4000 --fstype ext4
%post
%end

View File

@@ -2,7 +2,7 @@
%include fedora-arm-xbase.ks
%include fedora-lxqt-common.ks
part / --size=3800 --fstype ext4 --asprimary
part / --size=4200 --fstype ext4 --asprimary
%packages
# trojita not available on non-x86 platforms

View File

@@ -2,7 +2,7 @@
%include fedora-arm-xbase.ks
%include fedora-mate-common.ks
part / --size=5500 --fstype ext4
part / --size=6000 --fstype ext4
%post

View File

@@ -2,7 +2,6 @@
%include fedora-minimal-common.ks
part /boot --size=512 --fstype ext4
part swap --size=256 --fstype swap
part / --size=1256 --fstype ext4
%packages

View File

@@ -4,10 +4,13 @@
part / --size=2500 --fstype xfs
%packages
# 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,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

@@ -2,7 +2,7 @@
%include fedora-arm-xbase.ks
%include fedora-xfce-common.ks
part / --size=4500 --fstype ext4
part / --size=4700 --fstype ext4
%post

View File

@@ -0,0 +1,27 @@
# ./fedora-atomic-testing-base.ks - for building media from the testing
# refs (fedora/29/${basearch}/testing/atomic-host)
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/ostree/repo/ --ref=fedora/29/${basearch}/testing/atomic-host
%post --erroronfail
# Find the architecture we are on
arch=$(uname -m)
# Set the origin to the "main stable ref", distinct from /testing/ which is where bodhi writes.
# We want consumers of this image to track the two week releases.
ostree admin set-origin --index 0 fedora-atomic https://ostree.fedoraproject.org "fedora/29/${arch}/atomic-host"
# Make sure the ref we're supposedly sitting on (according
# to the updated origin) exists.
ostree refs "fedora-atomic:fedora/29/${arch}/testing/atomic-host" --create "fedora-atomic:fedora/29/${arch}/atomic-host"
# Remove the old ref so that the commit eventually gets
# cleaned up.
ostree refs "fedora-atomic:fedora/29/${arch}/testing/atomic-host" --delete
# delete/add the remote with new options to enable gpg verification
# and to point them at the cdn url
ostree remote delete fedora-atomic
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-29-primary --set=contenturl=mirrorlist=https://ostree.fedoraproject.org/mirrorlist fedora-atomic 'https://ostree.fedoraproject.org'
%end

6
fedora-atomic-testing.ks Normal file
View File

@@ -0,0 +1,6 @@
# ./fedora-atomic-testing.ks - for building base cloud media
# from the testing refs (fedora/29/${basearch}/testing/atomic-host)
%include fedora-atomic.ks
%include fedora-atomic-testing-base.ks

View File

@@ -0,0 +1,27 @@
# ./fedora-atomic-updates-base.ks - for building media from the updates
# refs (fedora/29/${basearch}/updates/atomic-host)
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/ostree/repo/ --ref=fedora/29/${basearch}/updates/atomic-host
%post --erroronfail
# Find the architecture we are on
arch=$(uname -m)
# Set the origin to the "main stable 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-atomic https://ostree.fedoraproject.org "fedora/29/${arch}/atomic-host"
# Make sure the ref we're supposedly sitting on (according
# to the updated origin) exists.
ostree refs "fedora-atomic:fedora/29/${arch}/updates/atomic-host" --create "fedora-atomic:fedora/29/${arch}/atomic-host"
# Remove the old ref so that the commit eventually gets
# cleaned up.
ostree refs "fedora-atomic:fedora/29/${arch}/updates/atomic-host" --delete
# delete/add the remote with new options to enable gpg verification
# and to point them at the cdn url
ostree remote delete fedora-atomic
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-29-primary --set=contenturl=mirrorlist=https://ostree.fedoraproject.org/mirrorlist fedora-atomic 'https://ostree.fedoraproject.org'
%end

6
fedora-atomic-updates.ks Normal file
View File

@@ -0,0 +1,6 @@
# ./fedora-atomic-updates.ks - for building base cloud media
# from the updates refs (fedora/29/${basearch}/updates/atomic-host)
%include fedora-atomic.ks
%include fedora-atomic-updates-base.ks

View File

@@ -0,0 +1,6 @@
# ./fedora-atomic-vagrant-testing.ks - for building media from the testing
# refs (fedora/29/${basearch}/testing/atomic-host) for vagrant
%include fedora-atomic-vagrant.ks
%include fedora-atomic-testing-base.ks

View File

@@ -0,0 +1,6 @@
# ./fedora-atomic-vagrant-updates.ks - for building media from the updates
# refs (fedora/29/${basearch}/updates/atomic-host) for vagrant
%include fedora-atomic-vagrant.ks
%include fedora-atomic-updates-base.ks

View File

@@ -41,7 +41,8 @@ services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
clearpart --all
# Implement: https://pagure.io/atomic-wg/issue/281
# The bare metal layout default is in http://pkgs.fedoraproject.org/cgit/rpms/fedora-productimg-atomic.git
# 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).
@@ -57,7 +58,7 @@ logvol / --size=3000 --grow --fstype="xfs" --name=root --vgname=atomicos
# Equivalent of %include fedora-repo.ks
# 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/rawhide/ --ref=fedora/rawhide/${basearch}/atomic-host
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/ostree/repo/ --ref=fedora/29/${basearch}/atomic-host
reboot
@@ -67,7 +68,7 @@ reboot
# 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=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-primary fedora-atomic 'https://kojipkgs.fedoraproject.org/atomic/rawhide/'
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-29-primary --set=contenturl=mirrorlist=https://ostree.fedoraproject.org/mirrorlist fedora-atomic 'https://ostree.fedoraproject.org'
# older versions of livecd-tools do not follow "rootpw --lock" line above
# https://bugzilla.redhat.com/show_bug.cgi?id=964299

View File

@@ -11,8 +11,9 @@
@networkmanager-submodules
@cinnamon-desktop
@libreoffice
parole
# extra backgrounds
f27-backgrounds-extras-gnome
f29-backgrounds-extras-gnome
%end

View File

@@ -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

@@ -15,9 +15,9 @@
# For a TDL file, I store one here:
# 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://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
# tempfile=$(mktemp --suffix=.ks)
# ksflatten -v F22 -c fedora-cloud-base.ks > ${tempfile}
@@ -35,7 +35,8 @@ rootpw --lock --iscrypted locked
firewall --disabled
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
# 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
@@ -74,7 +75,6 @@ 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
@@ -170,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"
@@ -245,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

View File

@@ -14,7 +14,7 @@ timezone US/Eastern
auth --useshadow --passalgo=sha512
selinux --enforcing
firewall --enabled --service=mdns
services --enabled=sshd,NetworkManager,chronyd
services --enabled=sshd,NetworkManager,chronyd,zram-swap
network --bootproto=dhcp --device=link --activate
rootpw --lock --iscrypted locked
shutdown
@@ -33,6 +33,7 @@ firstboot --reconfig
@core
@standard
@hardware-support
zram
kernel
# remove this in %post
@@ -45,11 +46,10 @@ rng-tools
chrony
bcm283x-firmware
initial-setup
# Intel wireless firmware assumed never of use for disk images
-iwl*
-ipw*
-trousers-lib
-usb_modeswitch
-iproute-tc
-generic-release*
# make sure all the locales are available for inital0-setup and anaconda to work
@@ -60,8 +60,6 @@ glibc-all-langpacks
%post
# Setup Raspberry Pi firmware
cp -Pr /usr/share/bcm283x-firmware/* /boot/efi/
mv -f /boot/efi/config-64.txt /boot/efi/config.txt
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
releasever=$(rpm -q --qf '%{version}\n' fedora-release)

View File

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

View File

@@ -1,14 +1,17 @@
%include fedora-disk-base.ks
services --enabled=sshd,NetworkManager,chronyd,initial-setup
services --enabled=sshd,NetworkManager,chronyd,initial-setup,zram-swap
autopart
autopart --noswap
%packages
# 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

@@ -4,9 +4,9 @@
bootloader --append="cma=256MB"
services --enabled=sshd,NetworkManager,chronyd
services --enabled=sshd,NetworkManager,chronyd,zram-swap
autopart --type=plain
autopart --type=plain --noswap
%packages
-initial-setup

View File

@@ -5,12 +5,14 @@
%packages --excludedocs --instLangs=en --nocore
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
sudo
%end
%post --erroronfail --log=/root/anaconda-post.log
@@ -21,6 +23,9 @@ 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

View File

@@ -30,9 +30,9 @@ clearpart --all
autopart --noboot --nohome --noswap --nolvm
%packages --excludedocs --instLangs=en --nocore
fedora-release
fedora-release-container
bash
coreutils-single
coreutils
glibc-minimal-langpack
libcrypt
rpm
@@ -49,6 +49,7 @@ util-linux
-shared-mime-info
-trousers
-xkeyboard-config
-grubby
%end
@@ -62,7 +63,7 @@ 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)
releasever=$(rpm -q --qf '%{version}\n' fedora-release-container)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
echo "# fstab intentionally empty for containers" > /etc/fstab

117
fedora-iot.ks Normal file
View File

@@ -0,0 +1,117 @@
# 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="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/stable/${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://dl.fedoraproject.org/iot/repo/ "fedora/stable/${arch}/iot"
# Make sure the ref we're supposedly sitting on (according
# to the updated origin) exists.
ostree refs "fedora-iot:fedora/stable/${arch}/iot" --create "fedora-iot:fedora/stable/${arch}/iot"
# Remove the old ref so that the commit eventually gets cleaned up.
ostree refs "fedora-iot:fedora/stable/${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-iot-2019 --set=contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist fedora-iot 'https://ostree.fedoraproject.org/iot'
# We're gettin a stray console= from somewhere, work around it
rpm-ostree kargs --delete=console=tty0
# 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
# 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

@@ -5,13 +5,12 @@
@kde-desktop
@kde-media
@kde-office
@kde-telepathy
@networkmanager-submodules
### The KDE-Desktop
### Browser
qupzilla
falkon
### fixes
@@ -45,16 +44,6 @@ mediawriter
### 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
# admin-tools
-gnome-disk-utility
# kcm_clock still lacks some features, so keep system-config-date around

View File

@@ -2,8 +2,6 @@
%packages
-@input-methods
-scim*
-m17n*
-ibus*
-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

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
@@ -94,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
@@ -153,7 +153,6 @@ findPersistentHome() {
for arg in \`cat /proc/cmdline\` ; do
if [ "\${arg##persistenthome=}" != "\${arg}" ]; then
homedev=\${arg##persistenthome=}
return
fi
done
}
@@ -206,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
@@ -339,8 +342,19 @@ cp $INSTALL_ROOT/usr/share/licenses/*-release/* $LIVE_ROOT/
# only works on x86, x86_64
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
# For livecd-creator builds
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
# 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
fi
%end

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

View File

@@ -31,16 +31,19 @@ gnome-todo
powerline
powerline-fonts
# Extra wallpapers
f26-backgrounds-extras-base
f26-backgrounds-extras-gnome
f28-backgrounds-extras-base
f28-backgrounds-extras-gnome
# removal of unneeded applications
-gnome-boxes
-eog
-rdesktop
# temporarily removing conflicting application
-LuxRender-blender
-mypaint
%end
%post

View File

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

View File

@@ -12,7 +12,7 @@
%include fedora-kde-minimization.ks
# DVD payload
part / --size=6144
part / --size=6500
%post
%end

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

@@ -5,5 +5,4 @@
# The Workstion based Python Classroom Lab
%include fedora-live-workstation.ks
%include fedora-live-minimization.ks
%include fedora-python-classroom-gnome-common.ks

View File

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

View File

@@ -10,168 +10,11 @@
%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,7 +36,6 @@ gnome-keyring-pam
-acpid
-gimp-help
-desktop-backgrounds-basic
-realmd # only seems to be used in GNOME
-PackageKit* # we switched to dnfdragora, so we don't need this
-aspell-* # dictionaries are big
-gnumeric

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

@@ -17,12 +17,20 @@ 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

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

@@ -5,6 +5,7 @@
#
# Maintainer(s):
# Christian Dersch <lupinix@fedoraproject.org>
# Zamir SUN <zsun@fedoraproject.org>
#
%packages
@@ -26,6 +27,9 @@ pavucontrol-qt-l10n
# MP3
gstreamer1-plugin-mpg123
# Editor
enki
# remove unneeded stuff to get a lightweight system
# fonts (we make no bones about admitting we're english-only)
wqy-microhei-fonts # a compact CJK font, to replace:
@@ -41,7 +45,8 @@ 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

View File

@@ -1,6 +1,4 @@
%packages
-PackageKit* # we switched to dnfdragora, so we don't need this
firefox
@mate
compiz
compiz-plugins-main
@@ -16,22 +14,11 @@ emerald-themes
emerald
fusion-icon
@networkmanager-submodules
blueberry
# some apps from mate-applications
caja-actions
mate-disk-usage-analyzer
# system tools
system-config-printer
system-config-printer-applet
lightdm-gtk-greeter-settings
# audio video
parole
exaile
gstreamer1-plugins-ugly-free # mp3 support
# blacklist applications which breaks mate-desktop
-audacious
@@ -41,10 +28,6 @@ gstreamer1-plugins-ugly-free # 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
@@ -52,7 +35,6 @@ nss-mdns
# Drop things for size
-@3d-printing
-brasero
-colord
-fedora-icon-theme
-gnome-icon-theme
-gnome-icon-theme-symbolic

View File

@@ -3,6 +3,10 @@
-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

View File

@@ -56,8 +56,6 @@ dhcp-client
%post
# Setup Raspberry Pi firmware
#cp -Pr /usr/share/bcm283x-firmware/* /boot/efi/
mv -f /boot/efi/config-64.txt /boot/efi/config.txt
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)

View File

@@ -18,7 +18,6 @@ python3-pillow-tk
-@sound-and-video
-@multimedia
-dleyna*
-evolution*
-gnome-boxes
-gnome-calendar
-gnome-clocks
@@ -27,6 +26,7 @@ python3-pillow-tk
-gnome-documents
-gnome-font-viewer
-gnome-maps
-gnome-photos
-gnome-weather
-grilo-plugins
-cheese
@@ -35,7 +35,6 @@ python3-pillow-tk
# This is no longer workstation
-@workstation-product
-fedora-productimg-workstation
# Add a web browser
@firefox
@@ -56,11 +55,11 @@ python3-pillow-tk
# 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

@@ -3,7 +3,7 @@
# Exactly one of the following should be uncommented
# For the master branch the following should be uncommented
%include fedora-repo-rawhide.ks
#%include fedora-repo-rawhide.ks
# For non-master branches the following should be uncommented
# %include fedora-repo-not-rawhide.ks
%include fedora-repo-not-rawhide.ks

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

@@ -0,0 +1,160 @@
%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 https://koji.fedoraproject.org/koji/buildinfo?buildID=1135023 is fixed
# 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

@@ -76,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
@@ -88,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*
@@ -159,6 +163,6 @@ 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
%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

@@ -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,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