Compare commits

...

208 Commits

Author SHA1 Message Date
Matthew Miller
40dbada72b Merge remote-tracking branch 'upstream/f26' into f26 2017-07-01 12:20:42 -04:00
raveit65
1a67c48064 MATE: mark installer launcher as executable on live image 2017-06-30 18:51:03 +02:00
mattdm
3e8cd74fc8 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-06-30 15:30:09 +00:00
Peter Robinson
5b6b9e4d6a arm: minimal: increase minimal a little as we've got dep bloat
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-06-26 20:02:17 +01:00
Peter Robinson
b95b0e11d0 Revert "arm: base: increase minimal to 3G as we've got dep bloat"
I'm an idiot, this isn't minimal

This reverts commit 4493473a0a.
2017-06-26 20:00:11 +01:00
Peter Robinson
4493473a0a arm: base: increase minimal to 3G as we've got dep bloat
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-06-26 19:59:13 +01:00
Peter Robinson
41e571f0b0 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-06-26 19:50:36 +01:00
Dusty Mabe
7760932d53 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

(cherry picked from commit 467f7dcb3c)
2017-06-25 08:54:56 -04:00
Dennis Gilmore
ead98e05d6 Merge #246 SoAS and LXQT: increase root fs size 2017-06-22 15:45:35 +00:00
Dennis Gilmore
6167c5112c Merge #245 KDE: fix compose due to core deps needing make 2017-06-22 15:41:28 +00:00
Peter Robinson
119efae2f9 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-06-22 16:21:54 +01:00
Peter Robinson
5a9491e5ad 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-06-22 16:02:47 +01:00
Peter Robinson
b668257940 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-06-22 15:33:49 +01:00
Peter Robinson
057e710338 move the xkeyboard-config exclude to the minimal ks
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-06-14 16:55:32 +01:00
Kevin Fenzi
caafaa6c03 stop excluding xkeyboard-config, as it is now needed by firefox, system-config-printer, initial-setup-gui, gnome-keyring 2017-06-14 09:42:23 -06:00
Dennis Gilmore
8c9a05ae16 Merge #213 Fix scientific kde - removing python3-mpi4py-openmpi 2017-06-13 14:44:24 +00:00
Dennis Gilmore
ba79b12375 Merge #225 f26: add mp3 encoding plugins 2017-06-13 14:44:07 +00:00
Peter Robinson
1b78636ab1 ARM images: remove bits we don't need/want to help reduce image size
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-06-13 15:38:50 +01:00
Dusty Mabe
f15dd026fe 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)

(cherry picked from commit 68804358d8)
2017-05-24 01:52:47 -04:00
Dusty Mabe
e7742ffc33 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

(cherry picked from commit ba950669f1)
2017-05-24 01:51:03 -04:00
Dusty Mabe
007c54025d 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

(cherry picked from commit a4ae071339)
2017-05-19 13:13:09 -04:00
Dusty Mabe
75d580c3fa 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/

(cherry picked from commit 93205adc7d)
2017-05-19 13:12:52 -04:00
Dusty Mabe
0f69fe0d48 docker: add comment about partitioning for clarity
(cherry picked from commit 6bfa0c57b3)
2017-05-19 13:10:06 -04:00
Dusty Mabe
9e47cff172 cloud: remove comments that don't apply
should have been removed in 30c4fdd
2017-05-19 13:06:50 -04:00
Dennis Gilmore
d35eba9297 Merge #227 cloud/docker: move to autopart with the new no home/swap/boot options to enable generic architecture images 2017-05-19 16:51:39 +00:00
Dusty Mabe
4393b884b3 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

(cherry picked from commit 77a25abded)

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-05-15 16:30:57 -04:00
Peter Robinson
30c4fddde7 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:32:12 +01:00
Dan Book
32110a472e f26: add mp3 encoding plugins 2017-05-14 13:59:01 -04:00
Christian Dersch
289081819e lxqt: use new comps groups 2017-05-12 11:02:33 +02:00
Christian Dersch
e9c9928c83 lxqt: no updater applet in live environment 2017-05-12 11:01:49 +02:00
Dusty Mabe
6338afb23c 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

(cherry picked from commit 8f142150ba)
2017-05-08 11:38:45 -04:00
Dusty Mabe
7243faa567 atomic, cloud: disable rhgb/quiet on boot
We want more verbose output on boot.

See https://bugzilla.redhat.com/show_bug.cgi?id=510523

(cherry picked from commit a59dfe5f40)
2017-05-08 11:38:45 -04:00
Dusty Mabe
d38606ec42 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.

(cherry picked from commit 4948e8c002)
2017-05-08 11:38:45 -04:00
Björn Esser
1c64d4718a Cinnamon: Remove unneeded stuff 2017-05-06 18:24:57 +02:00
Peter Robinson
1b19a4c21b 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:39:22 +01:00
Peter Robinson
a8152f2e31 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 10:39:22 +01:00
Mohan Boddu
de0a80e24d Fix scientific kde - removing python3-mpi4py-openmpi
Removing python3-mpi4py-openmpi since there is no python3 version of
mpi4py. It should fix the "Non interactive installation failed:
python3-mpi4py-openmpi." issue from the logs.

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-04-20 15:29:24 -04:00
Dusty Mabe
fa047a1949 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.

(cherry picked from commit c49c95145d)
2017-04-19 17:11:19 -04:00
Jason Brooks
0c7d01ca5e 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 17:11:03 -04:00
Dusty Mabe
e096cbed83 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

(cherry picked from commit fc0a635bc4)
2017-04-18 17:35:58 -06:00
Mohan Boddu
c8f435a6a0 Fixing python-classroom for armhfp
emacs requires hunspell and not having hunspell is failing the compose

package webkitgtk4-2.16.1-2.fc26.armv7hl requires libenchant.so.1, but none of the providers can be installed
package emacs-1:25.2-0.1.rc2.fc26.armv7hl requires libwebkit2gtk-4.0.so.37, but none of the providers can be installed
package enchant-1:1.6.0-16.fc26.armv7hl requires libhunspell-1.5.so.0, but none of the providers can be installed

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-04-18 14:50:13 -04:00
Miro Hrončok
00d0830aaf Add @python-science to Python Classroom Lab 2017-04-18 13:23:55 -05:00
Peter Robinson
54d01cbd53 disk: remove duplicate services 2017-04-12 22:35:46 +01:00
Peter Robinson
7e810e6fb7 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:39:43 +01:00
Peter Robinson
09afeb926f 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 17:39:43 +01:00
Peter Robinson
34ce2e2165 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 17:39:43 +01:00
Peter Robinson
d9fab6d0a9 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-12 11:17:07 +01:00
Peter Robinson
d0ae69f8eb 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-12 11:17:07 +01:00
Peter Robinson
5571ec20dd arm: tweak the image root file slightly
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-12 11:17:07 +01:00
raveit65
685a19ff40 MATE: remove backgounds from spin, already in comps 2017-04-10 09:54:12 +02:00
Björn Esser
9bb254b865 Cinnamon: Add German spin-variant 2017-04-04 10:31:30 +02:00
Peter Robinson
f4a0c73bfe 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-04-03 23:54:10 +01:00
Peter Robinson
5bcdb60f13 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-04-03 23:53:31 +01:00
Björn Esser
88a9240267 Cinnamon: dnfdragora is pulled by comps now 2017-04-04 00:07:29 +02:00
Björn Esser
407ca518cd LXQt: dnfdragora-gui pulls libyui-qt automatically 2017-04-03 23:42:50 +02:00
raveit65
b8a45187ae Mate: drop f25-backgrounds-extras-base 2017-03-31 15:41:12 +02:00
Peter Robinson
c6826272fc 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 15:59:17 +01:00
Adam Williamson
cf2a91f935 Bump to f26-backgrounds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-03-26 21:26:04 -07:00
Peter Robinson
b49fdad2b6 add comment about boot parts on cloud/docker images
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-23 12:58:19 -05:00
Peter Robinson
f7dc6eacf4 remove arm and ppc cloud base variants
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-23 12:58:19 -05:00
Peter Robinson
2bbf715cd9 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-23 12:58:19 -05:00
Peter Robinson
23b814089b 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-23 12:58:19 -05:00
Peter Robinson
19fb556f9f remove arm and ppc docker base variants
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-23 12:58:19 -05:00
Peter Robinson
0996c4996e 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-23 12:58:19 -05:00
Peter Robinson
f7bef12438 Minor inline docs updates
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-23 12:58:19 -05:00
Peter Robinson
4ed12a7027 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-23 12:58:19 -05:00
Colin Walters
d8b59962cd atomic: Append GROWPART to d-s-s config
Rather than truncating.  This allows us to preserve any existing
configuration (e.g. overlayfs by default).

(cherry picked from commit 954957e609)
2017-03-22 20:19:02 -04:00
Dusty Mabe
aefa165253 atomic: update remote delete/add for f26 alpha
Update remote delete/add code for f26 pre-release.
We won't need this code after release.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-03-15 16:59:09 -04:00
Dusty Mabe
c8f098b393 atomic: fix ref for f26 atomic host
Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-03-15 11:50:45 -04:00
Dennis Gilmore
839ef7acc0 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 f26 for arches that will have containers ase
signed with the one key lets just import that

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-03-10 17:50:40 -06:00
Dennis Gilmore
1c70356e93 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:32:07 -06:00
Peter Robinson
f1cac9d7b9 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:02 +00:00
Christian Dersch
2a2faacda6 lxqt: added storaged to fix #1429132 2017-03-06 22:07:20 +01:00
Miro Hrončok
2094721562 Python Classroom: Add optional packages from the group 2017-03-03 16:22:13 +01:00
Mohan Boddu
8f0cb7faca Branching f26 from rawhide
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-02-28 09:15:31 -05:00
Miro Hrončok
40c41b0516 Added ARM version of Python Clasroom Lab
Split common parts of Python Clasroom Lab
2017-02-27 21:22:09 +01:00
Kevin Fenzi
dd3583c6fa Merge #145 lxqt: trojita not available on non-x86 2017-02-27 16:58:44 +00:00
Kevin Fenzi
6f43e96b8a Merge #141 Add cinnamon-ja_JP.ks to l10n directory. 2017-02-27 16:58:14 +00:00
Dusty Mabe
09010a7b8e cloud: remove sshfs from vagrant image.
It is not yet in the right package lists for cloud so it's not
available at install time.

(cherry picked from commit e0e0f1f7ee)
2017-02-27 11:53:04 -05:00
Christian Dersch
c08e8e7165 lxqt: trojita not available on non-x86 2017-02-27 16:13:13 +01:00
Miro Hrončok
e994da3f56 Add kickstarts for Python Classroom Lab
See https://pagure.io/fedora-comps/pull-request/79
See https://fedoraproject.org/wiki/Changes/PythonClassroomLab
2017-02-27 14:27:41 +01:00
fujiwara
a05ca9b91b Fixed not deleting ibus packages
modified:   fedora-livecd-xfce-ja_JP.ks
2017-02-27 07:50:48 +09:00
fujiwara
ca21a47f34 Add cinnamon-ja_JP.ks to l10n directory.
new file:   fedora-livecd-cinnamon-ja_JP.ks
2017-02-26 10:06:19 +09:00
Christian Dersch
74334cf089 lxqt: replaced qbittorrent with transmission-qt 2017-02-24 23:16:56 +01:00
Christian Dersch
315a92671a lxqt: added kickstart for arm 2017-02-23 20:18:46 +01:00
Dennis Gilmore
d27b9b8e07 Merge #134 LXQt Spin, initial import 2017-02-20 20:35:30 +00:00
Dennis Gilmore
49420f1f97 Merge #138 Cinnamon: Drop PackageKit-command-not-found 2017-02-20 20:33:21 +00:00
Dennis Gilmore
9d35e5cce8 Merge #120 first attempt at creating a new lightweight container image with microdnf 2017-02-20 20:31:46 +00:00
Björn Esser
d9c1bd6b77 Cinnamon: Drop PackageKit-command-not-found 2017-02-20 21:29:59 +01:00
Dennis Gilmore
b4acbdc337 Revert "Revert "Merge branch 'master' into pull_request_workflow""
This reverts commit 04ff19c726.
2017-02-20 08:00:14 -06:00
Dennis Gilmore
04ff19c726 Revert "Merge branch 'master' into pull_request_workflow"
This reverts commit c73dae8300, reversing
changes made to 6ed0f65039.
2017-02-18 18:07:26 -06:00
Dennis Gilmore
2720630da5 Merge #132 Added imsettings and ibus-kkc which sets proper Japanese settings. 2017-02-19 00:02:43 +00:00
Dennis Gilmore
2b7bdebc27 Merge #133 f26 MATE: replace blueman with blueberry 2017-02-19 00:02:29 +00:00
Colin Walters
9912269d88 all: Correct path to /var/lib/systemd/random-seed
At least for Atomic Host, AFAICS it isn't actually in the final
image; not entirely sure why.  But we should be using the right
path here anyways.

https://bugzilla.redhat.com/show_bug.cgi?id=1424404
2017-02-17 15:05:13 -05:00
Christian Dersch
3a71b8b2dc lxqt: initial import 2017-02-14 15:18:12 +01:00
raveit65
d28dd82475 f26 MATE: add mp3 decoder for gstreamer 2017-02-11 09:55:02 +01:00
raveit65
3b8a7c9cc4 f26 MATE: Add PackageKit-command-not-found for adding cli-commands easily 2017-02-11 09:52:24 +01:00
raveit65
7dd6ea8fed f26 MATE: replace blueman with blueberry 2017-02-11 09:45:35 +01:00
fujiwara
c73dae8300 Merge branch 'master' into pull_request_workflow
Merged because master merged with upstream
2017-02-11 17:11:32 +09:00
fujiwara
6ed0f65039 Added imsettings and ibus-kkc which sets proper Japanese settings.
modified:   l10n/fedora-livecd-lxde-ja_JP.ks
2017-02-11 16:35:12 +09:00
Dan Book
026f8948d3 Cinnamon - add mp3 decoder for gstreamer 2017-02-06 12:47:00 -05:00
Björn Esser
6d2ec865d2 Cinnamon: Add PackageKit-command-not-found for adding cli-commands easily 2017-02-04 15:57:44 +01:00
Björn Esser
3605810dd7 Cinnamon: Drop exclusion of PackageKit since gnome-sw pulls it as a hard dep 2017-02-04 15:57:40 +01:00
Björn Esser
7f2c5b1efd Cinnamon: Add libyui-mga-ncurses for dnfdragora text-mode 2017-02-04 15:48:05 +01:00
Thomas Mueller
2cb099d7a3 Allow vagrant user to sudo to all users
This addresses atomic-wg issue 173.

Also vagrant docs https://www.vagrantup.com/docs/boxes/base.html
tell to configure it like this.
2017-02-03 16:47:57 +01:00
Dennis Gilmore
fb5f48f81a Merge #125 add Japanese ks files 2017-02-02 20:58:10 +00:00
Björn Esser
0147d3e42a Cinnamon: Install dnfdragora for graphical (GTK and ncurses) package-management 2017-02-02 21:18:25 +01:00
Björn Esser
04501485fb Cinnamon: Fedora-icon-theme is a dependency of cinnamon now 2017-02-02 21:15:19 +01:00
Björn Esser
186ec89a08 Cinnamon: Replace yumex-dnf with gnome-software
since yumex-dnf does not really work reliable since fc25
2017-02-02 21:15:19 +01:00
fujiwara
a6f5579e00 add Japanese ks files 2017-01-31 20:50:59 +09:00
Dusty Mabe
7ba27d5891 docker-min,docker-base: remove reference to yum in kickstart 2017-01-24 18:07:07 -05:00
Dusty Mabe
e99c9edc74 docker-min: remove e2fsprogs,libss,fuse-libs 2017-01-24 18:07:07 -05:00
Dusty Mabe
42b8714c65 docker-min: a few more things that can be removed 2017-01-24 18:07:07 -05:00
Dusty Mabe
6f0cdf042d docker-min: make our rm commands verbose 2017-01-24 18:07:07 -05:00
Dusty Mabe
22bc79ed6f docker-min: move /run/lock to %post nochroot
umount doesn't exist in the minimal image
2017-01-24 18:07:07 -05:00
Dusty Mabe
af27549437 docker-min: move /usr/share/{locale,i18n} to %post nochroot
find does not exist in the minimal image chroot so we'll have to
run it from outside.
2017-01-24 18:07:07 -05:00
Dusty Mabe
135de4a70b docker-min: add a comment, remove a comment 2017-01-24 18:07:06 -05:00
Dusty Mabe
ee367f90b0 docker-min: merge pruning commands
Merge pruning commands. Don't rm /etc/machine-id or /run/ because we
just ran commands to touch /etc/machine-id and /run/lock
2017-01-24 18:07:06 -05:00
Dusty Mabe
8ce607a7ef docker-min: cleanup dead code
usr/share/gcc* isn't in the image.
2017-01-24 18:07:06 -05:00
Dusty Mabe
ac2953ec38 docker-min: fix /run/lock without legacy.conf or systemd-tmpfiles 2017-01-24 18:07:06 -05:00
Dusty Mabe
1efe347bcb docker-min: delete systemctl mask calls
No systemd so no need to mask.
2017-01-24 18:07:06 -05:00
Dusty Mabe
46c10b3c76 docker-min: remove cleanup of /usr/share/doc
There are no files in those directories to clean up.
--excludedocs is doing its job.
2017-01-24 18:07:06 -05:00
Dusty Mabe
4109ebf261 docker-min: trim down package list, exclude weak deps
We only want basics and microdnf.
2017-01-24 18:07:05 -05:00
Dusty Mabe
5cbb3babd0 docker-min: add in post processing from walters' scripts
He has done some work on this in the past at [1].

[1] - 3f6c905fef/postprocess.sh
2017-01-24 18:07:05 -05:00
Dusty Mabe
2f3f37ebd6 docker-min: add a new kickstart for creating a slimmer image
We'll start with the same used for fedora docker base.
2017-01-24 18:06:45 -05:00
Christian Dersch
14fe984d2c astronomy: sympy FTBFS fixed, package added again 2017-01-23 11:23:22 +01:00
Peter Robinson
6a802bdd7b SoaS: add missing end macro to common packages
Signed-off-by: Peter Robinson <Peter Robinson pbrobinson@fedoraproject.org>
2017-01-21 11:11:44 +00:00
Dusty Mabe
f6ecdc348a docker, cloud: don't use cmdline for install mode
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-01-19 20:57:24 -05:00
Dusty Mabe
28a845d586 docker: add some more comments to %post script
Putting in references to BZ's so that we can determine if we can
remove these pieces of the %post in the future.
2017-01-19 20:57:24 -05:00
Dusty Mabe
12bbaac8dd docker: fixup comment about install_langs macro 2017-01-19 20:57:24 -05:00
Dusty Mabe
461523481b docker: fix some paths on file cleanup
Point to dnf cache and clean up everything in tmp.
2017-01-19 20:57:24 -05:00
Dusty Mabe
e5815d62cd docker: remove call to localedef
It fails because no locale archive exists.
2017-01-19 20:57:24 -05:00
Dusty Mabe
5f54ddd686 docker: no need to rm locale-archive
glibc-all-langpacks is not installed and thus no locale archive
exists.
2017-01-19 20:57:24 -05:00
Dusty Mabe
608769b442 docker: error on unset vars and more verbose logs for %post 2017-01-19 20:57:23 -05:00
Dusty Mabe
a4835bbc67 docker: add --erroronfail to %post
If %post fails we want the whole install to fail.
2017-01-19 20:57:20 -05:00
Dusty Mabe
b73439c2ca docker: store the post logs along with ks files in /root/ 2017-01-19 20:56:43 -05:00
Dusty Mabe
7efa34edb0 docker: remove create/delete of user
Anaconda doesn't seem to require it anymore so no need to create it
and then delete it.
2017-01-19 14:22:14 -05:00
Dennis Gilmore
16af100c7a Merge #115 design-suite: remove f24 extra wallpapers in preparation of f26 2017-01-19 03:12:40 +00:00
Peter Robinson
8f18de2f97 KDE: move package reduction from live to common as it should be the same on ARM/Live images
Signed-off-by: Peter Robinson <Peter Robinson pbrobinson@fedoraproject.org>
2017-01-19 02:50:08 +00:00
Peter Robinson
e8cce2ad37 mate: move package reduction from live to common as it should be the same on ARM/Live images
Signed-off-by: Peter Robinson <Peter Robinson pbrobinson@fedoraproject.org>
2017-01-19 02:46:03 +00:00
pbrobinson@fedoraproject.org
fce0982e9d SoaS: move components that should be run for Live and ARM images to common
Signed-off-by: Peter Robinson <Peter Robinson pbrobinson@fedoraproject.org>
2017-01-19 02:41:19 +00:00
pbrobinson@fedoraproject.org
d533c7a2cc Rename *packages.ks to *common.ks as it's not just packages that should be shared in here but also common pre/post scriptlets that should be run on all images. Using common rather than packages better reflects what should go here.
Signed-off-by: Peter Robinson <Peter Robinson pbrobinson@fedoraproject.org>
2017-01-19 02:40:20 +00:00
Christian Dersch
3a7e997dc6 astronomy: added python3-wcsaxes 2017-01-17 19:11:34 +01:00
Christian Dersch
ef850a259c astronomy: removed sympy (FTBFS) for now, added wcstools 2017-01-17 19:09:34 +01:00
Luya Tshimbalanga
96bfe721be design-suite: remove f24 extra wallpapers in preparation of f26 2017-01-10 11:05:24 -08:00
churchyard
26421537c7 python-tools was renamed to python2-tools 2017-01-10 16:38:43 +00:00
Adam Miller
548fde04fd add tar to address BZ#1409920
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
2017-01-04 15:34:16 -06:00
Dennis Gilmore
7e7eedf682 Merge #109 fedora-atomic-vagrant: Sync with CentOS Atomic SIG 2016-12-21 21:09:03 +00:00
Neal Gompa
cf9bb620cb Remove exclusions/additions that conflict and break image composes
The new DNF based appliance build is stricter about additions and exclusions
in the %packages section, so things that expressly conflict will fail the
build.
2016-12-21 14:23:16 -05:00
Neal Gompa
b164029627 Increase the rootfs size for dnf-powered appliance-tools build
The DNF-based appliance-tools build of the ARM image complains
that it is short by 54MB, so we're increasing by a bit more than that
to give some wiggle room for the future.
2016-12-21 14:21:55 -05:00
Colin Walters
4a42f66223 fedora-atomic-vagrant: Sync with CentOS Atomic SIG
I'm trying to keep things in sync - this mostly ensures the root
password is unlocked, and drops the `services` line that is useless
because that's not how kickstart inheritance works.
2016-12-13 08:56:35 -05:00
pbrobinson@fedoraproject.org
92ca122497 sugar still needs webkitgtk3 it seems
Signed-off-by: Peter Robinson <Peter Robinson pbrobinson@fedoraproject.org>
2016-12-07 16:09:58 -06:00
Dennis Gilmore
254794c891 Merge #104 Don't hack 'override_install_langs' yum option 2016-12-05 22:10:38 +00:00
leigh123linux
e252c9c08d update fedora background to f25 2016-11-30 09:43:30 +00:00
Pavel Raiskup
fa73086cf1 Don't hack 'override_install_langs' yum option
This shouldn't be needed, re-defining %_install_langs should be
enough.
2016-11-24 11:23:06 +01:00
raveit65
b0f431b85b Mate: add f25-backgrounds-extras 2016-11-19 09:53:03 +01:00
Dennis Gilmore
9e8d98f163 Merge #100 design-suite: remove gimp-help-browser 2016-11-14 19:26:24 +00:00
Luya Tshimbalanga
24a6c4abd6 design-suite: remove gimp-help-browser 2016-11-13 11:05:00 -08:00
Dennis Gilmore
71bed67657 add rootpw --lock to all livekickstarts
for rhbz#1392468 I was told that what we had should never have worked.
A bug in anaconda was fixed causing the need for the user or root
spokes to have to be dealt with. locking the root account should
satisfy everything.

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-11-12 15:10:51 -06:00
Dennis Gilmore
881933b138 Merge #95 design-suite: remove LuxRender-blender from ks 2016-11-06 18:26:10 +00:00
Luya Tshimbalanga
edefcd7ba3 design-suite: remove LuxRender-blender from ks 2016-11-06 10:20:26 -08:00
Christian Dersch
4dacdc4c30 kde: added mediawriter as a replacement for liveusb-creator 2016-11-01 16:43:52 +01:00
Christian Dersch
d0ff0e9822 kde: removed obsoleted liveusb-creator 2016-10-31 20:45:36 +01:00
Kamil Páral
85bb31edc6 fedora-live-base: change static hostname to localhost-live
This prevents systemd to update it during boot if DHCP supplies a
hostname, which causes sddm to not start. See
https://bugzilla.redhat.com/show_bug.cgi?id=1370222

Signed-off-by: Kamil Páral <kparal@redhat.com>
2016-10-31 19:05:57 +01:00
Dennis Gilmore
fd9aaf95a0 Merge #85 design-suite: add F25 supplemental backgrounds and inkscape addon 2016-10-28 13:09:03 +00:00
Christian Dersch
ffc50b8ea1 astronomy: added ginga FITS viewer and fitsio library 2016-10-28 10:39:20 +02:00
Luya Tshimbalanga
c89156a1e6 design-suite: add F25 supplemental backgrounds and inkscape addon 2016-10-27 19:00:38 -07:00
Peter Robinson
2ccc0a538b Move back to ext4 now that u-boot 2016.11 RC1 fixes ext4. The support for dealing
with the extra changes and features in ext4 has been resolved so we can now move
back to ext4 on boot partition.
2016-10-19 11:23:55 +01:00
Dennis Gilmore
63f05c2a56 Merge #79 astronomy: enhanced Python 3 toolchain 2016-10-18 18:46:17 +00:00
Dennis Gilmore
ce15757a5f Merge #77 games - remove maniadrive from rawhide version of spin 2016-10-18 18:45:56 +00:00
Christian Dersch
76784c2d00 astronomy: enhanced Python 3 toolchain 2016-10-16 16:49:13 +02:00
Dennis Gilmore
5b4485f786 Merge #76 Switch all the http repos to be https. 2016-10-10 02:24:14 +00:00
Bruno Wolff III
ba3b3b4ac0 games - remove maniadrive from rawhide version of spin
Pull maniadrive from the rawhide version of the spin, since it isn't
looking good for this getting fixed and the music package got retired.
2016-10-09 17:12:50 -05:00
Kevin Fenzi
9eb21cb2b9 Switch all the http repos to be https. Fixes bug
https://bugzilla.redhat.com/show_bug.cgi?id=1381449

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2016-10-09 11:14:51 -06:00
Dennis Gilmore
4b6e50b984 Merge #72 design-suite: added extra gnome applications 2016-10-06 01:47:11 +00:00
Adam Williamson
c43c707ef7 s/f24-backgrounds/f25-backgrounds/
but not f24-backgrounds-extras, as there are no -extras packages
for f25-backgrounds yet...so stay with 24 there.
2016-10-03 14:39:23 -07:00
Luya Tshimbalanga
ef48f64df8 design-suite: added extra gnome applications 2016-09-28 16:51:42 -07:00
Peter Robinson
30c3f7e721 Touch the machine-id file
So is seems that if you remove the machine-id file it won't regenerate the file
but if you touch the file and leave it empty on boot it'll put a new machine-id
in the empty file. So work around this bug ("feature"?) by touching the file
so we don't have other issues in the process.

We're track the outcome of this in RHBZ 1379800
2016-09-27 20:17:46 +01:00
Christian Dersch
9f4121eb55 astronomy: added astropy-tools subpackage 2016-09-25 12:34:16 +02:00
Peter Robinson
726ee74ecb Most of the new ARM X/Wayland accelerated drivers need some level of CMA allocation 2016-09-22 14:33:51 +01:00
Peter Robinson
b2f97b7d22 Initial support for Raspberry Pi. We continue to support existing ARM
images without any change to the process (except they have a small 30Mb
partition at the begining of the image) but all exisiting documented
processe work for image writing. The RPi is auto configured and a pure
dd to the card, plug and boot.
2016-09-22 14:33:42 +01:00
Peter Robinson
890829fdbb Remove machine-id on pre generated images so it's unique on each deployed device
As referenced on the arm list [1] and as already being done on the docker image we
should remove the unique /etc/machine-id file on compose artifacts to ensure it's
regenerated and unique on each deployed host/device. This unifies the process across
all base ks so it's inherited for each artifact.

[1] https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org/message/Q3YZVF5P2OLLPUJQ2LYZSTKWGGDIU6QO/

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
2016-09-13 09:11:57 +01:00
Dennis Gilmore
3a5ec4ecb4 Merge #57 atomic: Add workaround for bash 2016-09-07 17:22:32 +00:00
Dennis Gilmore
4de2e0fe85 Merge #58 design-suite: replace calligra-krita by krita 2016-09-07 17:21:31 +00:00
Luya Tshimbalanga
4f8c75e8a2 design-suite: replace calligra-krita by krita 2016-09-07 10:10:16 -07:00
Peter Robinson
354cf22cf3 add rng-tools to all ARM images as most arm HW has a HW rng 2016-09-07 15:31:36 +01:00
Colin Walters
740a9b4969 atomic: Add workaround for bash 2016-09-01 16:54:58 -04:00
Kevin Fenzi
99727567b0 Switch cloud base back to extlinux from grub2.
We need to unset the 64bit option on ext4 to make extlinux work.
See https://bugzilla.redhat.com/show_bug.cgi?id=1369934
and http://www.syslinux.org/wiki/index.php/Filesystem#ext
2016-08-30 10:44:02 -06:00
Kevin Fenzi
7a37fb6304 Merge #54 Switch the cloud base image back to grub2 for now. 2016-08-24 21:40:25 +00:00
Kevin Fenzi
a28a951979 Switch the cloud base image back to grub2 for now.
For some reason extlinux isn't working right to boot the image.
See bug https://bugzilla.redhat.com/show_bug.cgi?id=1369934
2016-08-24 14:43:30 -06:00
Adam Williamson
aca01e6eea drop rsyslog service from all cloud kickstarts
it's no longer pulled in by cloud-init (since 2014...). None
of these kickstarts has it in %packages, and it's not in any
of the cloud environment or package groups in comps either. So
it seems like no-one particularly wants rsyslog in the cloud
images.

From compose logs, it looks like trying to enable a non-existent
service in anaconda in Fedora 24 and earlier wasn't a fatal
error (anaconda more or less logged a warning and continued),
but in Fedora 25 and later it does seem to be fatal. It at least
causes one anaconda thread to crash, though the image compose
completes. I think possibly at least the way anaconda's run
in the Cloud compose process, the main thread manages to exit,
but it seems pretty likely the thread crash will result in
problems in the produced image.

Needed on master and f25.
2016-08-24 11:11:01 -07:00
Adam Williamson
4af7364074 manipulate network service in %post (#1369794)
Due to #1369794 , anaconda cannot currently manipulate sysv
services in F25+. So to work around this, take 'network' out of
the services lines in all kickstarts and instead manipulate
it in the %post section, with chkconfig.

Also remove rsyslog from the Atomic image services line because
it doesn't appear to be included in the OStree tree at present
and so attempting to enable the service breaks Atomic image
compose, see e.g.:

https://kojipkgs.fedoraproject.org//work/tasks/9022/15349022/oz-x86_64.log

also correct the name of the ssh service in fedora-arm-base.ks;
it's sshd not ssh.
2016-08-24 11:27:40 -06:00
Adam Williamson
b3baf2ecec jam: remove retired lv2-fil-plugins
was retired for broken dependencies, no-one has fixed it.
2016-08-22 21:09:03 -07:00
Dennis Gilmore
f5c5f50338 Merge #45 design-suite: updated list 2016-08-19 20:35:13 +00:00
Luya Tshimbalanga
579a8aaf93 design-suite: remove commented line 2016-08-19 13:25:31 -07:00
Peter Robinson
bee9e7d29a move arm boot partition to ext3
With e2fsprogs after 1.43 the 64bit and metadata_csum features are
enabled by default. These features are not currently supported in
u-boot and the 64bit feature introduces changes such that it cannot
be read by implementations that do not support it. U-Boot does not
support the functionality and hence now won't mount it just in case
it corrupts the filesystem, which is a reasonable response, this how
ever stops us from booting when we have a ext4 /boot file system
which means basically we end up with a pot plant. Go back to using
ext3 for the time being as the mkfs.ext3 option doesn't enable these
features and we get booting systems!! YAY \o/
2016-08-17 13:05:48 +01:00
Adam Williamson
ebf2683744 specify libcrypt packages in fedora-arm-base for RHBZ #1324623
This seems to be enough to work around yum's issues in dealing
with the libcrypt/libcrypt-nss package split, at least it is
for me.
2016-08-15 13:58:01 -07:00
Luya Tshimbalanga
ce535c5c35 Merge branch 'master' of ssh://pagure.io/forks/luya/fedora-kickstarts 2016-07-31 22:05:02 -07:00
Luya Tshimbalanga
c98b517d5a design-suite: temporarily disable some packages for testing purpose 2016-07-31 22:03:57 -07:00
Peter Robinson
edd9081cf2 Merge #39 design-suite: fix typo on gimp-dds-plugin 2016-07-29 21:47:17 +00:00
Luya Tshimbalanga
1e4fc3d8a7 design-suite: fix typo on gimp-dds-plugin 2016-07-29 10:21:06 -07:00
Adam Miller
96a6711bb7 fix missing /run/lock in docker base image BZ#1343138
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
2016-07-22 15:26:49 -05:00
Kevin Fenzi
63bc5b44b7 Merge #34 design-suite: remove yafaray as it is retired 2016-07-21 16:50:43 +00:00
Luya Tshimbalanga
2df0cd5d0e design-suite: remove yafaray as it is retired 2016-07-21 09:38:56 -07:00
Bruno Wolff III
ee5d72bae9 We probably have room for freedroid again 2016-06-19 13:03:44 -05:00
Bruno Wolff III
b0471f609a We should have room for warmux again 2016-06-19 13:01:40 -05:00
Bruno Wolff III
7eb869a8ac Remove Supertux 2 since it crashes 2016-06-19 13:01:40 -05:00
Bruno Wolff III
b39ac77024 Make sure chronyd runs with the correct config
We need to have chronyd start after livesys has finished so that
the config for chronyd gets rewritten before it starts. If not it
will overwrite the system clock with a time that will be incorrect
(US eastern stored as local time instead of UTC) for most people.
This fixes bug 1018162.
2016-06-18 08:14:35 -05:00
70 changed files with 1266 additions and 586 deletions

View File

@@ -9,7 +9,6 @@ selinux --permissive
firewall --disabled
bootloader --timeout=1 --append="acpi=force"
network --bootproto=dhcp --device=eth0 --onboot=on
services --enabled=network
# Uncomment the next line
# to make the root password be thincrust
@@ -95,5 +94,9 @@ generic-logos
#
%post
# Enable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network on
%end

View File

@@ -7,14 +7,15 @@ firewall --enabled --service=mdns,ssh
# configure extlinux bootloader
bootloader extlinux
part /boot --size=512 --fstype ext4
part swap --size=512 --fstype swap
part / --size=3584 --fstype ext4
part /boot/fw --size=30 --fstype vfat --asprimary
part /boot --size=512 --fstype ext4 --asprimary
part swap --size=512 --fstype swap --asprimary
part / --size=2800 --fstype ext4 --asprimary
# make sure that initial-setup runs and lets us do all the configuration bits
firstboot --reconfig
services --enabled=ssh,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setup --disabled=network
services --enabled=sshd,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setup
%include fedora-repo.ks
@@ -22,30 +23,48 @@ services --enabled=ssh,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setup
@core
@standard
@hardware-support
@dial-up
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*
-trousers-lib
-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
# work around for poor key import UI in PackageKit
rm -f /var/lib/rpm/__db*
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
@@ -66,5 +85,13 @@ systemctl mask tmp.mount
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

View File

@@ -1,12 +1,9 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%include fedora-kde-packages.ks
%include fedora-kde-common.ks
part / --size=5632 --fstype ext4
part / --size=5690 --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,10 +1,7 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%include fedora-lxde-packages.ks
%include fedora-lxde-common.ks
%post
echo -n "Enabling initial-setup gui mode on startup"
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
echo .
%end

14
fedora-arm-lxqt.ks Normal file
View File

@@ -0,0 +1,14 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%include fedora-lxqt-common.ks
part / --size=3800 --fstype ext4 --asprimary
%packages
# trojita not available on non-x86 platforms
-trojita
%end
%post
%end

View File

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

View File

@@ -1,27 +1,10 @@
%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=1250 --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

@@ -0,0 +1,8 @@
# Maintained by the Fedora Python SIG:
# http://fedoraproject.org/wiki/SIGs/Python
# mailto:python-devel@lists.fedoraproject.org
# The ARM Workstion based Python Classroom Lab
%include fedora-arm-workstation.ks
%include fedora-python-classroom-gnome-common.ks

View File

@@ -1,10 +1,9 @@
%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
@server-product
@standard

View File

@@ -1,10 +1,9 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%include fedora-soas-packages.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

@@ -1,6 +1,6 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%include fedora-workstation-packages.ks
%include fedora-workstation-common.ks
part / --size=5500 --fstype ext4
@@ -10,3 +10,8 @@ part / --size=5500 --fstype ext4
%end
%post
# Most of the ARM X accelerated drivers need some level of CMA allocation
sed -i 's/\(append .*\)/\1 cma=256MB/' /boot/extlinux/extlinux.conf
%end

View File

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

View File

@@ -1,12 +1,9 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%include fedora-xfce-packages.ks
%include fedora-xfce-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

@@ -1,10 +1,8 @@
# Like the Atomic cloud image, but tuned for vagrant. Enable
# the vagrant user, disable cloud-init.
# Like the Atomic Host cloud image, but tuned for vagrant: enable the
# vagrant user, disable cloud-init.
%include fedora-atomic.ks
services --disabled=cloud-init,cloud-init-local,cloud-config,cloud-final
user --name=vagrant --password=vagrant
rootpw vagrant
@@ -14,16 +12,19 @@ rootpw vagrant
# platforms (virtualbox and kvm)
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0"
%post --erroronfail
# Work around cloud-init being both disabled and enabled; need
# to refactor to a common base.
systemctl mask cloud-init cloud-init-local cloud-config cloud-final
# The inherited cloud %post locks the passwd, but we want it
# unlocked for vagrant, just like downstream.
passwd -u root
# Vagrant setup
sed -i 's,Defaults\\s*requiretty,Defaults !requiretty,' /etc/sudoers
echo 'vagrant ALL=NOPASSWD: ALL' > /etc/sudoers.d/vagrant-nopasswd
echo 'vagrant ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/vagrant-nopasswd
sed -i 's/.*UseDNS.*/UseDNS no/' /etc/ssh/sshd_config
mkdir -m 0700 -p ~vagrant/.ssh
cat > ~vagrant/.ssh/authorized_keys << EOKEYS

View File

@@ -6,7 +6,7 @@
# dedicated for Docker containers, and uses docker-storage-setup to
# dynamically resize storage on boot.
text
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
lang en_US.UTF-8
keyboard us
timezone --utc Etc/UTC
@@ -14,15 +14,13 @@ 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"
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0"
network --bootproto=dhcp --device=link --activate --onboot=on
services --disabled=network
services --enabled=sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
clearpart --all
@@ -33,24 +31,28 @@ volgroup atomicos pv.01
logvol / --size=3000 --fstype="xfs" --name=root --vgname=atomicos
# Equivalent of %include fedora-repo.ks
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/rawhide/ --ref=fedora-atomic/rawhide/x86_64/docker-host
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/26/ --ref=fedora/26/x86_64/atomic-host
reboot
%post --erroronfail
# See https://github.com/projectatomic/rpm-ostree/issues/42
# we only need this for before f26 release where we are using a
# temporary "dev" repo url above. We want to change the remote
# we use to match where the repo will live for the entirety of f26.
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-26-primary fedora-atomic 'https://kojipkgs.fedoraproject.org/atomic/26/'
# 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
echo 'GROWPART=true' >> /etc/sysconfig/docker-storage-setup
echo -n "Getty fixes"
# although we want console output going to the serial console, we don't
@@ -107,7 +109,7 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
#EOF
echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/random-seed
rm -f /var/lib/systemd/random-seed
echo "Packages within this cloud image:"
echo "-----------------------------------------------------------------------"
@@ -122,8 +124,20 @@ 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
%end
# 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,4 +1,4 @@
# fedora-cinnamon-packages.ks
# fedora-cinnamon-common.ks
#
# Description:
# - Fedora package set for the Cinnamon Desktop Environment
@@ -16,17 +16,12 @@
pidgin
hexchat
transmission
parole
# make sure we have a graphical installer
yumex-dnf
# mp3 support
gstreamer1-plugins-ugly-free
# extra backgrounds
desktop-backgrounds-basic
f24-backgrounds-extras-gnome
# save some space
-fedora-icon-theme
-PackageKit* # we switched to yumex, so we don't need this
f26-backgrounds-extras-gnome
%end

View File

@@ -14,7 +14,7 @@ network --bootproto=dhcp --device=link --activate
part / --fstype="ext4" --size=6000
part /boot --size=500 --fstype="ext4"
shutdown
services --disabled=docker-storage-setup,network
services --disabled=docker-storage-setup
services --enabled=NetworkManager,sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=http://kojipkgs.fedoraproject.org/mash/atomic/22/ --ref=fedora-atomic/f22/x86_64/docker-host
@@ -28,4 +28,9 @@ userdel -r none
# We copy content of separate /boot partition to root part when building live squashfs image,
# and we don't want systemd to try to mount it when pxe booting
cat /dev/null > /etc/fstab
# Disable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network off
%end

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,9 +32,6 @@ dnf-yum
# users setup. This can actually take a bit of time. Just fold it
# in to the base box disk image
rsync
# Add fuse-sshfs so that the vagrant-sshfs plugin won't have to
# install it on boot. https://github.com/dustymabe/vagrant-sshfs
fuse-sshfs
%end
%post --erroronfail
@@ -45,7 +42,7 @@ systemctl mask cloud-init cloud-init-local cloud-config cloud-final
# Vagrant setup
sed -i 's,Defaults\\s*requiretty,Defaults !requiretty,' /etc/sudoers
echo 'vagrant ALL=NOPASSWD: ALL' > /etc/sudoers.d/vagrant-nopasswd
echo 'vagrant ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/vagrant-nopasswd
sed -i 's/.*UseDNS.*/UseDNS no/' /etc/ssh/sshd_config
mkdir -m 0700 -p ~vagrant/.ssh
cat > ~vagrant/.ssh/authorized_keys << EOKEYS

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).
@@ -24,7 +24,7 @@
# imagefactory --debug base_image --file-parameter install_script ${tempfile} fedora-atomic-rawhide.tdl
#
cmdline
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
lang en_US.UTF-8
keyboard us
timezone --utc Etc/UTC
@@ -32,18 +32,17 @@ 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
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
network --bootproto=dhcp --device=link --activate --onboot=on
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
clearpart --all
part / --fstype ext4 --grow
autopart --noboot --nohome --noswap --nolvm
%include fedora-repo.ks
@@ -82,7 +81,9 @@ which
#-kbd
-uboot-tools
-kernel
-grub2
# No need for plymouth. Also means anaconda won't put rhgb/quiet
# on kernel command line
-plymouth
%end
@@ -116,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"
@@ -157,9 +152,6 @@ localedef --list-archive | grep -v ^en_US | xargs localedef --delete-from-archiv
mv -f /usr/lib/locale/locale-archive /usr/lib/locale/locale-archive.tmpl
build-locale-archive
echo '%_install_langs C:en:en_US:en_US.UTF-8' >> /etc/rpm/macros.image-language-conf
awk '(NF==0&&!done){print "override_install_langs='$LANG'";done=1}{print}' \
< /etc/yum.conf > /etc/yum.conf.new
mv /etc/yum.conf.new /etc/yum.conf
echo -n "Getty fixes"
@@ -219,7 +211,7 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
#EOF
echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/random-seed
rm -f /var/lib/systemd/random-seed
echo "Cleaning old dnf repodata."
# FIXME: clear history?
@@ -239,22 +231,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
@@ -265,5 +248,19 @@ echo "(Don't worry -- that out-of-space error was expected.)"
# For trac ticket https://fedorahosted.org/cloud/ticket/128
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
# Enable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network on
# Remove machine-id on pre generated images
rm -f /etc/machine-id
touch /etc/machine-id
# 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,10 +23,10 @@ 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=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
clearpart --all
@@ -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
@@ -178,7 +174,7 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
#EOF
echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/random-seed
rm -f /var/lib/systemd/random-seed
echo "Cleaning old yum repodata."
yum history new
@@ -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
@@ -219,5 +213,9 @@ dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
rm -f /var/tmp/zeros
echo "(Don't worry -- that out-of-space error was expected.)"
# Enable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network on
%end

View File

@@ -14,10 +14,10 @@ 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=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
clearpart --all
@@ -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
@@ -169,7 +165,7 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
#EOF
echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/random-seed
rm -f /var/lib/systemd/random-seed
echo "Cleaning old yum repodata."
yum history new
@@ -211,5 +207,9 @@ dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
rm -f /var/tmp/zeros
echo "(Don't worry -- that out-of-space error was expected.)"
# Enable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network on
%end

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

@@ -0,0 +1,94 @@
# 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
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
# 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
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
-iwl*
-ipw*
-trousers-lib
-usb_modeswitch
-iproute-tc
-generic-release*
# 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/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)
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
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
autopart --type=plain
%packages
-xkeyboard-config
%end

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

@@ -0,0 +1,27 @@
%include fedora-disk-base.ks
services --enabled=sshd,NetworkManager,chronyd,initial-setup
autopart
%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*
%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
autopart --type=plain
%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

@@ -0,0 +1,70 @@
# 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.
%include fedora-docker-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 docker
# 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

@@ -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,88 +1,39 @@
# This is a minimal Fedora install designed to serve as a Docker base image.
#
# To keep this image minimal it only installs English language. You need to change
# yum configuration in order to enable other languages.
#
### Hacking on this image ###
# This kickstart is processed using Anaconda-in-ImageFactory (via Koji typically),
# but you can run imagefactory locally too.
#
# To do so, testing local changes, first you'll need a TDL file. I store one here:
# https://git.fedorahosted.org/cgit/fedora-atomic.git/tree/fedora-atomic-rawhide.tdl
#
# Then, once you have imagefactory and imagefactory-plugins installed, run:
#
# imagefactory --debug target_image --template /path/to/fedora-atomic-rawhide.tdl --parameter offline_icicle true --file-parameter install_script $(pwd)/fedora-docker-base.ks docker
#
# 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
cmdline
bootloader --disabled
timezone --isUtc --nontp Etc/UTC
rootpw --lock --iscrypted locked
user --name=none
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
fedora-release
rootfiles
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 --log=/tmp/anaconda-post.log
%post --erroronfail --log=/root/anaconda-post.log
set -e
# Set the language rpm nodocs transaction flag persistently in the
# image yum.conf and rpm macros
# remove the user anaconda forces us to make
userdel -r none
LANG="en_US"
echo "%_install_lang $LANG" > /etc/rpm/macros.image-language-conf
# Carry these configs for both dnf and yum for users who are calling
# yum-deprecated directly. This will keep the experience between both
# consistent
awk '(NF==0&&!done){print "override_install_langs='$LANG'\ntsflags=nodocs";done=1}{print}' \
< /etc/yum.conf > /etc/yum.conf.new
mv /etc/yum.conf.new /etc/yum.conf
awk '(NF==0&&!done){print "override_install_langs='$LANG'\ntsflags=nodocs";done=1}{print}' \
< /etc/dnf/dnf.conf > /etc/dnf/dnf.conf.new
mv /etc/dnf/dnf.conf.new /etc/dnf/dnf.conf
echo "Import RPM GPG key"
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
basearch=$(uname -i)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
echo "# fstab intentionally empty for containers" > /etc/fstab
rm -f /usr/lib/locale/locale-archive
#Setup locale properly
localedef -v -c -i en_US -f UTF-8 en_US.UTF-8
rm -rf /var/cache/yum/*
rm -f /tmp/ks-script*
# 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
rm -f /etc/machine-id
# https://bugzilla.redhat.com/show_bug.cgi?id=1343138
# 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 --prefix=/run/ --prefix=/var/run/ --create --boot || true
%end

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

@@ -0,0 +1,68 @@
# 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://git.fedorahosted.org/cgit/fedora-atomic.git/tree/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
-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-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

79
fedora-kde-common.ks Normal file
View File

@@ -0,0 +1,79 @@
%packages
@firefox
@kde-apps
@kde-desktop
@kde-media
@kde-office
@kde-telepathy
@networkmanager-submodules
### The KDE-Desktop
### Browser
qupzilla
### fixes
# use kde-print-manager instead of system-config-printer
-system-config-printer
# make sure mariadb lands instead of MySQL (hopefully a temporary hack)
mariadb-embedded
mariadb-libs
mariadb-server
# minimal localization support - allows installing the kde-l10n-* packages
system-config-language
kde-l10n
# unwanted packages from @kde-desktop
# don't include these for now to fit on a cd
-desktop-backgrounds-basic
-kdeaccessibility*
#-ktorrent # kget has also basic torrent features (~3 megs)
-digikam # digikam has duplicate functionality with gwenview (~28 megs)
#-amarok # ~23 megs (mysql-embedded etc.)
-kipi-plugins # ~8 megs + drags in Marble
#-kdeplasma-addons # ~16 megs
#-krusader # ~4 megs
# Additional packages that are not default in kde-* groups, but useful
k3b # ~15 megs
#kdeartwork # only include some parts of kdeartwork
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
# admin-tools
-gnome-disk-utility
# kcm_clock still lacks some features, so keep system-config-date around
#-system-config-date
# prefer kcm_systemd
-system-config-services
# prefer/use kusers
-system-config-users
## avoid serious bugs by omitting broken stuff
%end

View File

@@ -1,29 +0,0 @@
%packages
@firefox
@kde-apps
@kde-desktop
@kde-media
@kde-office
@kde-telepathy
@networkmanager-submodules
### The KDE-Desktop
### Browser
qupzilla
### fixes
# use kde-print-manager instead of system-config-printer
-system-config-printer
# make sure mariadb lands instead of MySQL (hopefully a temporary hack)
mariadb-embedded
mariadb-libs
mariadb-server
# minimal localization support - allows installing the kde-l10n-* packages
system-config-language
kde-l10n
%end

View File

@@ -35,6 +35,7 @@ sextractor
siril
skyviewer
swarp
wcstools
# Observatory: KStars + INDI drivers + Skychart
indi-aagcloudwatcher
@@ -66,17 +67,29 @@ python3-ipython-notebook
python3-sympy
python3-networkx
python3-pandas
python3-pillow
python3-seaborn
python3-statsmodels
python3-scikit-learn
python3-scikit-image
# Python 3 astronomy
astropy-tools
ginga
python3-astropy
python3-astroML
python3-astroML-addons
python3-astroquery
python3-astroscrappy
python3-APLpy
python3-ATpy
python3-ccdproc
python3-fitsio
python3-gatspy
python3-photutils
python3-pyvo
python3-reproject
python3-sep
python3-wcsaxes
# matplotlib backends
python3-matplotlib-qt4

View File

@@ -17,8 +17,9 @@ xconfig --startxonboot
zerombr
clearpart --all
part / --size 5120 --fstype ext4
services --enabled=NetworkManager,ModemManager --disabled=network,sshd
services --enabled=NetworkManager,ModemManager --disabled=sshd
network --bootproto=dhcp --device=link --activate
rootpw --lock --iscrypted locked
shutdown
%include fedora-repo.ks
@@ -72,7 +73,7 @@ cat > /etc/rc.d/init.d/livesys << EOF
# chkconfig: 345 00 99
# description: Init script for live image.
### BEGIN INIT INFO
# X-Start-Before: display-manager
# X-Start-Before: display-manager chronyd
### END INIT INFO
. /etc/init.d/functions
@@ -214,7 +215,9 @@ touch /.liveimg-configured
# add static hostname to work around xauth bug
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
echo "localhost" > /etc/hostname
# the hostname must be something else than 'localhost'
# https://bugzilla.redhat.com/show_bug.cgi?id=1370222
echo "localhost-live" > /etc/hostname
EOF
@@ -321,6 +324,14 @@ echo 'File created by kickstart. See systemd-update-done.service(8).' \
# See bug 1317709
rm -f /boot/*-rescue*
# Disable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network off
# Remove machine-id on pre generated images
rm -f /etc/machine-id
touch /etc/machine-id
%end
@@ -332,4 +343,5 @@ if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
fi
%end

View File

@@ -8,7 +8,7 @@
%include fedora-live-base.ks
%include fedora-live-minimization.ks
%include fedora-cinnamon-packages.ks
%include fedora-cinnamon-common.ks
part / --size=6144

View File

@@ -1,11 +1,11 @@
# fedora-design-suite.ks
# Based on Live Workstation
# Description:
# - A Spin targeted towards professional designers
# - A collection of applications targeted towards professional visual designers
# Website: http://fedoraproject.org/wiki/Design_Suite
# Maintainers:
# Maintainer:
# - Luya Tshimbalanga <luya AT fedoraproject DOT org>
# - Previous maintainer Sebastian Dziallas
# - Credit to Sebastian Dziallas for initiating the project
%include fedora-live-workstation.ks
@@ -19,12 +19,11 @@ part / --size 14336
# Added addons to address rhbz#1336879 from dnf
gimp-data-extras
gimp-dbp
gimp-dds
gimp-dds-plugin
gimp-elsamuko
gimp-fourier-plugin
gimp-gap
gimp-help
gimp-help-browser
gimp-high-pass-filter
gimp-layer-via-copy-cut
gimp-lensfun
@@ -39,22 +38,20 @@ gimpfx-foundry
gmic-gimp
inkscape-psd
inkscape-sozi
LuxRender-blender
inkscape-table
sane-backends-drivers-scanners
xsane-gimp
YafaRay-blender
#YafaRay-blender
# Preview Gnome Photos
# Add extra gnome applications
gnome-books
gnome-calendar
gnome-photos
# Add gthumb for renaming group files
gthumb
# Extra wallpapers
f23-backgrounds-extras-base
f23-backgrounds-extras-gnome
f24-backgrounds-extras-base
f24-backgrounds-extras-gnome
f26-backgrounds-extras-base
f26-backgrounds-extras-gnome
# removal of unneeded applications
-gnome-boxes
@@ -67,7 +64,7 @@ f24-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', 'darktable.desktop', 'gimp.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']
favorite-apps=['firefox.desktop', 'shotwell.desktop', 'gimp.desktop', 'darktable.desktop','krita', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']
FOE
# Add link to lists of tutorials

View File

@@ -45,14 +45,14 @@ extremetuxracer
freeciv
freecol
freedoom
# freedroidrpg cut for size
freedroidrpg
frozen-bubble
gl-117
glob2
lincity-ng
tmw
maniadrive
maniadrive-music
#maniadrive - currently broken
#maniadrive-music - has been retired
megaglest
nethack-vultures
netpanzer
@@ -60,13 +60,13 @@ netpanzer
nogravity
#pinball # Would pull in fluid-soundfont-lite-patches
scorched3d
supertux
# supertux # Crashing
#supertuxkart #remove for size
ultimatestunts
warzone2100
wesnoth
# worminator # Would pull in fluid-soundfont-lite-patches
# warmux - Cut for size
warmux
xmoto
# traditional (small)

View File

@@ -108,7 +108,6 @@ ladspa-vco-plugins
#lv2 plugins
lv2
lv2-avw-plugins
lv2-fil-plugins
lv2-invada-plugins
lv2-kn0ck0ut
lv2-ll-plugins

View File

@@ -3,7 +3,7 @@
# mailto:kde@lists.fedoraproject.org
%include fedora-live-base.ks
%include fedora-kde-packages.ks
%include fedora-kde-common.ks
%post
@@ -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

@@ -13,63 +13,5 @@
# DVD payload
part / --size=6144
%packages
# unwanted packages from @kde-desktop
# don't include these for now to fit on a cd
-desktop-backgrounds-basic
-kdeaccessibility*
#-ktorrent # kget has also basic torrent features (~3 megs)
-digikam # digikam has duplicate functionality with gwenview (~28 megs)
#-amarok # ~23 megs (mysql-embedded etc.)
-kipi-plugins # ~8 megs + drags in Marble
#-kdeplasma-addons # ~16 megs
#-krusader # ~4 megs
# Additional packages that are not default in kde-* groups, but useful
k3b # ~15 megs
#kdeartwork # only include some parts of kdeartwork
fuse
liveusb-creator
# 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
#-system-config-date
# prefer kcm_systemd
-system-config-services
# prefer/use kusers
-system-config-users
## avoid serious bugs by omitting broken stuff
%end
%post
%end

View File

@@ -8,7 +8,7 @@
%include fedora-live-base.ks
%include fedora-live-minimization.ks
%include fedora-lxde-packages.ks
%include fedora-lxde-common.ks
%post
# LXDE and LXDM configuration

51
fedora-live-lxqt.ks Normal file
View File

@@ -0,0 +1,51 @@
# fedora-live-lxqt.ks
#
# Description:
# Fedora Live Spin with the LXQt desktop environment
#
# Maintainer(s):
# Christian Dersch <lupinix@fedoraproject.org>
#
%include fedora-live-base.ks
%include fedora-live-minimization.ks
%include fedora-lxqt-common.ks
%post
# add initscript
cat >> /etc/rc.d/init.d/livesys << EOF
# set up autologin for user liveuser
if [ -f /etc/sddm.conf ]; then
sed -i 's/^#User=.*/User=liveuser/' /etc/sddm.conf
sed -i 's/^#Session=.*/Session=lxqt.desktop/' /etc/sddm.conf
else
cat > /etc/sddm.conf << SDDM_EOF
[Autologin]
User=liveuser
Session=lxqt.desktop
SDDM_EOF
fi
# show liveinst.desktop on desktop and in menu
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
mkdir /home/liveuser/Desktop
cp -a /usr/share/applications/liveinst.desktop /home/liveuser/Desktop/
# set up preferred apps
cat > /etc/xdg/libfm/pref-apps.conf << FOE
[Preferred Applications]
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/
EOF
%end

View File

@@ -4,48 +4,11 @@
# mailto:desktop@lists.fedoraproject.org
%include fedora-live-base.ks
%include fedora-mate-packages.ks
%include fedora-mate-common.ks
%include fedora-live-minimization.ks
part / --size 6144
%packages
# 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
-mate-icon-theme-faenza
# Drop oversized fonts that aren't needed
# Drop things that pull in perl
# Dictionaries are big
# we're going to try keeping hunspell-* after notting, davidz, and ajax voiced
# strong preference to giving it a go on #fedora-desktop.
# also see http://bugzilla.gnome.org/681084
# Help and art can be big, too
-gnome-user-docs
-evolution-help
# Legacy cmdline things we don't want
-telnet
%end
%post
cat >> /etc/rc.d/init.d/livesys << EOF
@@ -58,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

View File

@@ -0,0 +1,9 @@
# Maintained by the Fedora Python SIG:
# http://fedoraproject.org/wiki/SIGs/Python
# mailto:python-devel@lists.fedoraproject.org
# 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

@@ -44,7 +44,7 @@ ddd
valgrind
#python 2 tools/libraries not included from the groups
python-tools
python2-tools
python-ipython
python-ipython-console
python-ipython-notebook
@@ -113,7 +113,6 @@ valgrind-openmpi
libgomp
python-pp
mpi4py-openmpi
python3-mpi4py-openmpi
#Version control- a GUI for each as well

View File

@@ -10,88 +10,10 @@
%include fedora-live-base.ks
%include fedora-live-minimization.ks
%include fedora-soas-packages.ks
firewall --enabled --service=mdns,presence
%include fedora-soas-common.ks
%post
# 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
# Note that running rpm recreates the rpm db files which aren't needed or wanted
rm -f /var/lib/rpm/__db*
# Get proper release naming in the control panel
cat >> /boot/olpc_build << EOF
Sugar on a Stick
EOF
cat /etc/fedora-release >> /boot/olpc_build
# Add our activities to the favorites
cat > /usr/share/sugar/data/activities.defaults << EOF
org.laptop.WebActivity
org.laptop.HelpActivity
org.laptop.Chat
org.laptop.sugar.ReadActivity
org.laptop.sugar.GetBooksActivity
org.laptop.AbiWordActivity
org.laptop.TurtleArtActivity
org.laptop.Calculate
org.laptop.Clock
org.laptop.ImageViewerActivity
org.laptop.Memorize
org.laptop.physics
org.laptop.Pippy
org.laptop.RecordActivity
org.laptop.Oficina
org.laptop.StopWatchActivity
org.laptop.community.Finance
org.laptop.community.TypingTurtle
org.laptop.sugar.Jukebox
org.laptop.Words
org.eq.FotoToon
org.gnome.Labyrinth
com.laptop.Ruler
org.sugarlabs.AbacusActivity
org.sugarlabs.IRC
org.sugarlabs.InfoSlicer
org.sugarlabs.PortfolioActivity
org.sugarlabs.StoryActivity
org.sugarlabs.VisualMatchActivity
com.garycmartin.Moon
mulawa.Countries
tv.alterna.Clock
vu.lux.olpc.Maze
vu.lux.olpc.Speak
EOF
cat > /etc/sysconfig/desktop <<EOF
PREFERRED=/usr/bin/sugar
DISPLAYMANAGER=/usr/sbin/lightdm
EOF
# set up lightdm autologin
sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
# Don't use the default system user (in SoaS liveuser) as nick name
# Disable the logout menu item in Sugar
# Enable Sugar power management
cat >/usr/share/glib-2.0/schemas/sugar.soas.gschema.override <<EOF
[org.sugarlabs.user]
default-nick='disabled'
[org.sugarlabs]
show-logout=false
[org.sugarlabs.power]
automatic=true
EOF
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/sugar.soas.gschema.override
cat >> /etc/rc.d/init.d/livesys << EOF
# set up lightdm autologin
sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf

View File

@@ -3,8 +3,12 @@
# mailto:desktop@lists.fedoraproject.org
%include fedora-live-base.ks
%include fedora-workstation-packages.ks
%include snippets/packagekit-cached-metadata.ks
%include fedora-workstation-common.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

View File

@@ -11,7 +11,7 @@
%include fedora-live-base.ks
%include fedora-live-minimization.ks
%include fedora-xfce-packages.ks
%include fedora-xfce-common.ks
%post
# xfce configuration

View File

@@ -43,7 +43,6 @@ metacity
-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
-foomatic-db-ppds
-foomatic

52
fedora-lxqt-common.ks Normal file
View File

@@ -0,0 +1,52 @@
# fedora-lxqt-common.ks
#
# Description:
# Fedora Live Spin with the LXQt desktop environment
#
# Maintainer(s):
# Christian Dersch <lupinix@fedoraproject.org>
#
%packages
@lxqt
@lxqt-apps
@lxqt-media
@networkmanager-submodules
# for nm applet
gnome-keyring
# l10n
lxqt-l10n
lximage-qt-l10n
obconf-qt-l10n
pavucontrol-qt-l10n
# MP3
gstreamer1-plugin-mpg123
# 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:
-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
# Fix https://bugzilla.redhat.com/show_bug.cgi?id=1429132
# Why is this not pulled in by anaconda???
storaged
%end

View File

@@ -16,17 +16,12 @@ emerald-themes
emerald
fusion-icon
@networkmanager-submodules
blueman
blueberry
# some apps from mate-applications
caja-actions
mate-disk-usage-analyzer
# more backgrounds
f24-backgrounds-base
f24-backgrounds-mate
f24-backgrounds-extras-base
# system tools
system-config-printer
system-config-printer-applet
@@ -35,7 +30,7 @@ lightdm-gtk-greeter-settings
# audio video
parole
exaile
PackageKit-gstreamer-plugin
gstreamer1-plugins-ugly-free # mp3 support
# blacklist applications which breaks mate-desktop
-audacious
@@ -54,4 +49,24 @@ p7zip-plugins
# desktop image at some point. We won't touch this one for now.
nss-mdns
# Drop things for size
-@3d-printing
-brasero
-colord
-fedora-icon-theme
-gnome-icon-theme
-gnome-icon-theme-symbolic
-gnome-software
-gnome-user-docs
-@mate-applications
-mate-icon-theme-faenza
# Help and art can be big, too
-gnome-user-docs
-evolution-help
# Legacy cmdline things we don't want
-telnet
%end

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

@@ -0,0 +1,19 @@
%packages
-@standard
-initial-setup-gui
-generic-release*
-glibc-all-langpacks
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,22 @@
# Maintained by the Fedora Python SIG:
# http://fedoraproject.org/wiki/SIGs/Python
# mailto:python-devel@lists.fedoraproject.org
# Common packages of all Python Classroom images
%packages
@python-classroom
@python-science
nano
openssh-clients
vim-enhanced
wget
# Remove Pythons possibly recommended by tox
-python26
-python33
-python34
-python35
-pypy
%end

View File

@@ -0,0 +1,103 @@
# Maintained by the Fedora Python SIG:
# http://fedoraproject.org/wiki/SIGs/Python
# mailto:python-devel@lists.fedoraproject.org
# GNOME part of Python Classroom images
%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
-gnome-contacts
-gnome-disk-utility
-gnome-documents
-gnome-font-viewer
-gnome-maps
-gnome-weather
-grilo-plugins
-cheese
-totem
-totem-nautilus
# This is no longer workstation
-@workstation-product
-fedora-productimg-workstation
# Add a web browser
@firefox
# Remove office suite
-@libreoffice
-libreoffice-*
-planner
# Drop the Java plugin and Java
-icedtea-web
-java*
# No printing
-@printing
-foomatic-db-ppds
-foomatic
# Dictionaries are big
-aspell-*
-words
# Help and art can be big, too
-gnome-user-docs
-desktop-backgrounds-basic
-*backgrounds-extras
# Legacy cmdline things we don't want
-krb5-auth-dialog
-krb5-workstation
-pam_krb5
-quota
-dos2unix
-finger
-ftp
-jwhois
-mtr
-pinfo
-rsh
-nfs-utils
-ypbind
-yp-tools
-rpcbind
-acpid
-ntsysv
# Don't need this
-linux-atm
# Drop some system-config things
-system-config-language
-system-config-network
-system-config-rootpassword
-system-config-services
-policycoreutils-gui
%end
%post
#Override the favorite desktop application in Dash
sed -i "s/favorite-apps=."'*'"/favorite-apps=['firefox.desktop', 'org.gnome.Terminal.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.gedit.desktop', 'anaconda.desktop']/" /etc/rc.d/init.d/livesys
%end

View File

@@ -0,0 +1,8 @@
# Maintained by the Fedora Python SIG:
# http://fedoraproject.org/wiki/SIGs/Python
# mailto:python-devel@lists.fedoraproject.org
# Like the Python Classroom image, but tuned for vagrant.
%include fedora-cloud-base-vagrant.ks
%include fedora-python-classroom-common.ks

View File

@@ -1,4 +1,4 @@
repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
#repo --name=updates-testing --mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
url --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
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

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

165
fedora-soas-common.ks Normal file
View File

@@ -0,0 +1,165 @@
# fedora-livecd-soas.ks
#
# Description:
# - A Sugar environment that you can carry in your pocket
#
# Maintainers:
# - Peter Robinson <pbrobinson AT gmail DOT com>
firewall --enabled --service=mdns,presence
%packages
-@fonts
-@dial-up
-@multimedia
-@printing
-foomatic
-@gnome-desktop
-yp-tools
-ypbind
-rdate
-rdist
-icedtea-web
-firefox
-glx-utils
-nmap-ncat
-PackageKit
-eekboard-libs
-open-vm-tools*
-gfs2-utils
-abrt-cli
-ibus*
-hyperv-daemons
-webkitgtk4-plugin-process-gtk2
webkitgtk3
# Add some extra fonts
dejavu-sans-fonts
dejavu-sans-mono-fonts
madan-fonts
aajohan-comfortaa-fonts
sil-abyssinica-fonts
vlgothic-fonts
# == Core Sugar Platform ==
@sugar-desktop
-sugar-ruler
sugar-cp-updater
lightdm
lightdm-gtk
# Write breaks unless we do this (we don't need it anyway)
# enable for testing in the F17 dev cycle
@input-methods
# Needed for wifi, bluetooth and WWAN connection support
@networkmanager-submodules
# == Platform Components ==
# from http://wiki.sugarlabs.org/go/0.94/Platform_Components
alsa-plugins-pulseaudio
alsa-utils
gstreamer1-plugins-base
gstreamer1-plugins-good
gstreamer1-plugins-bad-free
gstreamer-plugins-espeak
pulseaudio
pulseaudio-utils
# explicitly remove openbox and hopefully deal with what firstboot wants
-openbox
# remove deps that come from god knows where
-sane-backends
-sane-backends-drivers-scanners
# Usefulness for DSL connections as per:
# http://bugs.sugarlabs.org/ticket/1951
rp-pppoe
# Get the Sugar boot screen
-plymouth-system-theme
-plymouth-theme-charge
sugar-logos
%end
%post
# 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
# Note that running rpm recreates the rpm db files which aren't needed or wanted
rm -f /var/lib/rpm/__db*
# Get proper release naming in the control panel
cat >> /boot/olpc_build << EOF
Sugar on a Stick
EOF
cat /etc/fedora-release >> /boot/olpc_build
# Add our activities to the favorites
cat > /usr/share/sugar/data/activities.defaults << EOF
org.laptop.WebActivity
org.laptop.HelpActivity
org.laptop.Chat
org.laptop.sugar.ReadActivity
org.laptop.sugar.GetBooksActivity
org.laptop.AbiWordActivity
org.laptop.TurtleArtActivity
org.laptop.Calculate
org.laptop.Clock
org.laptop.ImageViewerActivity
org.laptop.Memorize
org.laptop.physics
org.laptop.Pippy
org.laptop.RecordActivity
org.laptop.Oficina
org.laptop.StopWatchActivity
org.laptop.community.Finance
org.laptop.community.TypingTurtle
org.laptop.sugar.Jukebox
org.laptop.Words
org.eq.FotoToon
org.gnome.Labyrinth
com.laptop.Ruler
org.sugarlabs.AbacusActivity
org.sugarlabs.IRC
org.sugarlabs.InfoSlicer
org.sugarlabs.PortfolioActivity
org.sugarlabs.StoryActivity
org.sugarlabs.VisualMatchActivity
com.garycmartin.Moon
mulawa.Countries
tv.alterna.Clock
vu.lux.olpc.Maze
vu.lux.olpc.Speak
EOF
cat > /etc/sysconfig/desktop <<EOF
PREFERRED=/usr/bin/sugar
DISPLAYMANAGER=/usr/sbin/lightdm
EOF
# set up lightdm autologin
sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
# Don't use the default system user (in SoaS liveuser) as nick name
# Disable the logout menu item in Sugar
# Enable Sugar power management
cat >/usr/share/glib-2.0/schemas/sugar.soas.gschema.override <<EOF
[org.sugarlabs.user]
default-nick='disabled'
[org.sugarlabs]
show-logout=false
[org.sugarlabs.power]
automatic=true
EOF
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/sugar.soas.gschema.override
%end

View File

@@ -1,86 +0,0 @@
# fedora-livecd-soas.ks
#
# Description:
# - A Sugar environment that you can carry in your pocket
#
# Maintainers:
# - Peter Robinson <pbrobinson AT gmail DOT com>
# - Sebastian Dziallas <sdz AT fedoraproject DOT org>
# - Mel Chua <mchua AT fedoraproject DOT org>
%packages
-@fonts
-@dial-up
-@multimedia
-@printing
-foomatic
-@gnome-desktop
-yp-tools
-ypbind
-rdate
-rdist
-icedtea-web
-firefox
-glx-utils
-nmap-ncat
-PackageKit
-libfprint
-realmd
-eekboard-libs
-open-vm-tools*
-gfs2-utils
-abrt-cli
-ibus*
-hyperv-daemons
-webkitgtk4-plugin-process-gtk2
# Add some extra fonts
dejavu-sans-fonts
dejavu-sans-mono-fonts
madan-fonts
aajohan-comfortaa-fonts
sil-abyssinica-fonts
vlgothic-fonts
# == Core Sugar Platform ==
@sugar-desktop
-sugar-ruler
sugar-cp-updater
lightdm
lightdm-gtk
# Write breaks unless we do this (we don't need it anyway)
# enable for testing in the F17 dev cycle
@input-methods
# Needed for wifi, bluetooth and WWAN connection support
@networkmanager-submodules
# == Platform Components ==
# from http://wiki.sugarlabs.org/go/0.94/Platform_Components
alsa-plugins-pulseaudio
alsa-utils
gstreamer1-plugins-base
gstreamer1-plugins-good
gstreamer1-plugins-bad-free
gstreamer-plugins-espeak
pulseaudio
pulseaudio-utils
# explicitly remove openbox and hopefully deal with what firstboot wants
-openbox
# remove deps that come from god knows where
-sane-backends
-sane-backends-drivers-scanners
# Usefulness for DSL connections as per:
# http://bugs.sugarlabs.org/ticket/1951
rp-pppoe
# Get the Sugar boot screen
-plymouth-system-theme
-plymouth-theme-charge
sugar-logos
%end

View File

@@ -38,7 +38,6 @@ system-config-printer
-acpid
-gimp-help
-desktop-backgrounds-basic
-realmd # only seems to be used in GNOME
-PackageKit* # we switched to yumex, so we don't need this
-aspell-* # dictionaries are big
-xfce4-sensors-plugin

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,35 @@
# fedora-livecd-cinnamon-ja_JP.ks
#
# Description:
# - Japanese Fedora Live Spin with the Cinnamon Desktop Environment
#
# Maintainer(s):
# - Shintaro Fujiwara <shintaro.fujiwara@miraclelinux.com>
%include ../fedora-live-cinnamon.ks
lang ja_JP.UTF-8
keyboard jp
timezone Asia/Tokyo
%packages
@japanese-support
# exclude input methods except ibus:
-m17n*
-scim*
-iok
%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

@@ -0,0 +1,61 @@
# fedora-livecd-lxde-ja_JP.ks
#
# Description:
# - Japanese Fedora Live Spin with the LXDE Desktop Environment
#
# Maintainer(s):
# - Shintaro Fujiwara <shintaro.fujiwara@miraclelinux.com>
%include ../fedora-live-lxde.ks
lang ja_JP.UTF-8
keyboard jp
timezone Asia/Tokyo
%packages
@japanese-support
# exclude input methods:
-m17n*
-scim*
-ibus*
-iok
# Better more popular browser
firefox
# ibus stuff
ibus-kkc
imsettings
%end
%post
cat >> /etc/rc.d/init.d/livesys << EOF
#### setting env and start ibus-deamon ####
#mkdir /home/liveuser
cat >> /home/liveuser/.bash_profile << FOE
export XMODIFIERS="@im=ibus"
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
ibus-daemon -drx
FOE
#### autostart ibus and stuff ####
cat > /etc/xdg/autostart/imsettings-start.desktop << "FOE"
[Desktop Entry]
Encoding=UTF-8
Type=Application
Version=1.0
Name=Input Method starter
Name[ja]=入力メソッドのスターター
Exec=imsettings-switch -n -q -x
Terminal=false
FOE
EOF
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

@@ -0,0 +1,38 @@
# fedora-livecd-xfce-ja_JP.ks
#
# Description:
# - Japanese Fedora Live Spin with the Xfce Desktop Environment
#
# Maintainer(s):
# - Shintaro Fujiwara <shintaro.fujiwara@miraclelinux.com>
%include ../fedora-live-xfce.ks
lang ja_JP.UTF-8
keyboard jp
timezone Asia/Tokyo
%packages
@japanese-support
# exclude input methods except ibus:
-m17n*
-scim*
-iok
# ibus-kkc
ibus-kkc
%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

@@ -19,22 +19,22 @@ PK_PREFIX=`mktemp -d`
mkdir -p $PK_PREFIX/etc/yum.repos.d
if [ -f /etc/yum.repos.d/fedora.repo ] ; then
cp /etc/yum.repos.d/fedora.repo $PK_PREFIX/etc/yum.repos.d/
sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch|baseurl=http://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-/compose/Everything/$basearch/os/|' \
sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch|baseurl=https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-/compose/Everything/$basearch/os/|' \
$PK_PREFIX/etc/yum.repos.d/fedora.repo
fi
if [ -f /etc/yum.repos.d/fedora-updates.repo ] ; then
cp /etc/yum.repos.d/fedora-updates.repo $PK_PREFIX/etc/yum.repos.d/
sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch|baseurl=http://kojipkgs.fedoraproject.org/mash/updates/f$releasever-updates/$basearch/|' \
sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch|baseurl=https://kojipkgs.fedoraproject.org/mash/updates/f$releasever-updates/$basearch/|' \
$PK_PREFIX/etc/yum.repos.d/fedora-updates.repo
fi
if [ -f /etc/yum.repos.d/fedora-updates-testing.repo ] ; then
cp /etc/yum.repos.d/fedora-updates-testing.repo $PK_PREFIX/etc/yum.repos.d/
sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch|baseurl=http://kojipkgs.fedoraproject.org/mash/updates/f$releasever-updates-testing/$basearch/|' \
sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch|baseurl=https://kojipkgs.fedoraproject.org/mash/updates/f$releasever-updates-testing/$basearch/|' \
$PK_PREFIX/etc/yum.repos.d/fedora-updates-testing.repo
fi
if [ -f /etc/yum.repos.d/fedora-rawhide.repo ] ; then
cp /etc/yum.repos.d/fedora-rawhide.repo $PK_PREFIX/etc/yum.repos.d/
sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=$basearch|baseurl=http://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-/compose/Everything/$basearch/os/|' \
sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=$basearch|baseurl=https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-/compose/Everything/$basearch/os/|' \
$PK_PREFIX/etc/yum.repos.d/fedora-rawhide.repo
fi
rpm --root=$PK_PREFIX --initdb