mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-09 08:30:30 +08:00
Compare commits
83 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
028fd2edcd | ||
|
|
9e89057b4a | ||
|
|
5f9a323aea | ||
|
|
899bc45aa1 | ||
|
|
8c83a275ee | ||
|
|
847afdf7a0 | ||
|
|
1fd9547603 | ||
|
|
4a677c7613 | ||
|
|
b8f8e39b7c | ||
|
|
b8b9f532b6 | ||
|
|
de39b451c9 | ||
|
|
249374e72b | ||
|
|
5f600c3412 | ||
|
|
a0ad041cc3 | ||
|
|
97368dfb7b | ||
|
|
1052911243 | ||
|
|
5dc350ad94 | ||
|
|
c6bc0981c7 | ||
|
|
29304129a0 | ||
|
|
fcebc307ad | ||
|
|
19a58f0fc6 | ||
|
|
1ba38e3f1f | ||
|
|
2bad7a13cb | ||
|
|
46f3891c5c | ||
|
|
c5e43ec1f9 | ||
|
|
66d587dc54 | ||
|
|
00d745bd6c | ||
|
|
1479547c67 | ||
|
|
b14f7d9da6 | ||
|
|
b73ebd60aa | ||
|
|
12716419e8 | ||
|
|
c189be913f | ||
|
|
4ecad3404b | ||
|
|
ccd23121ef | ||
|
|
10aa3a4921 | ||
|
|
1b4000eb73 | ||
|
|
318b9ecc73 | ||
|
|
43362bb5d2 | ||
|
|
8362fef455 | ||
|
|
98793f88fc | ||
|
|
fdc6e91797 | ||
|
|
fc59bd2ea1 | ||
|
|
f36efa99ae | ||
|
|
f939a8962d | ||
|
|
4459c0b4d9 | ||
|
|
2a0203cbdc | ||
|
|
13dfe736a0 | ||
|
|
7a7e9ae8e3 | ||
|
|
5ce57cff5c | ||
|
|
f0b48b67f1 | ||
|
|
4e6f490df2 | ||
|
|
19fb7ff7c1 | ||
|
|
34acf4194e | ||
|
|
c236c5f53c | ||
|
|
af96d2b41f | ||
|
|
7f130daa85 | ||
|
|
bfe2b24660 | ||
|
|
dbc24121c3 | ||
|
|
76d448d742 | ||
|
|
d9cf0e73bd | ||
|
|
4f4fe63125 | ||
|
|
9fdd766e5d | ||
|
|
8445c1def0 | ||
|
|
9cd3e06cdb | ||
|
|
9d5fea902b | ||
|
|
23701ef2ff | ||
|
|
83b52c46cb | ||
|
|
2779df193d | ||
|
|
255b17f973 | ||
|
|
03e7ba50dd | ||
|
|
31617698c5 | ||
|
|
fbc2ec61f2 | ||
|
|
4ee646993f | ||
|
|
1ec1620e13 | ||
|
|
95993d9d0a | ||
|
|
0345ed81e0 | ||
|
|
bda78eb4a8 | ||
|
|
bbdbf1e1f4 | ||
|
|
3345265740 | ||
|
|
0905a3d16a | ||
|
|
eb579a9101 | ||
|
|
bd83b7d6e3 | ||
|
|
66722a9b3a |
@@ -6,15 +6,14 @@ firewall --enabled --service=mdns,ssh
|
|||||||
|
|
||||||
bootloader --location=mbr
|
bootloader --location=mbr
|
||||||
|
|
||||||
part /boot/fw --size=30 --fstype vfat --asprimary
|
part /boot/efi --size=80 --fstype vfat --asprimary
|
||||||
part /boot --size=512 --fstype ext4 --asprimary
|
part /boot --size=512 --fstype ext4 --asprimary
|
||||||
part swap --size=512 --fstype swap --asprimary
|
|
||||||
part / --size=2800 --fstype ext4 --asprimary
|
part / --size=2800 --fstype ext4 --asprimary
|
||||||
|
|
||||||
# make sure that initial-setup runs and lets us do all the configuration bits
|
# make sure that initial-setup runs and lets us do all the configuration bits
|
||||||
firstboot --reconfig
|
firstboot --reconfig
|
||||||
|
|
||||||
services --enabled=sshd,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setup
|
services --enabled=sshd,NetworkManager,avahi-daemon,chronyd,initial-setup,zram-swap
|
||||||
|
|
||||||
%include fedora-repo.ks
|
%include fedora-repo.ks
|
||||||
|
|
||||||
@@ -22,6 +21,7 @@ services --enabled=sshd,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setu
|
|||||||
@core
|
@core
|
||||||
@standard
|
@standard
|
||||||
@hardware-support
|
@hardware-support
|
||||||
|
zram
|
||||||
|
|
||||||
kernel
|
kernel
|
||||||
# remove this in %post
|
# remove this in %post
|
||||||
@@ -39,7 +39,6 @@ initial-setup-gui
|
|||||||
-iwl*
|
-iwl*
|
||||||
-ipw*
|
-ipw*
|
||||||
-usb_modeswitch
|
-usb_modeswitch
|
||||||
-iproute-tc
|
|
||||||
#lets resize / on first boot
|
#lets resize / on first boot
|
||||||
# dracut-modules-growroot
|
# dracut-modules-growroot
|
||||||
|
|
||||||
@@ -51,10 +50,8 @@ glibc-all-langpacks
|
|||||||
%post
|
%post
|
||||||
|
|
||||||
# Setup Raspberry Pi firmware
|
# Setup Raspberry Pi firmware
|
||||||
cp -Pr /usr/share/bcm283x-firmware/* /boot/fw/
|
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/efi/rpi2-u-boot.bin
|
||||||
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/efi/rpi3-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
|
# work around for poor key import UI in PackageKit
|
||||||
rm -f /var/lib/rpm/__db*
|
rm -f /var/lib/rpm/__db*
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
%include fedora-minimal-common.ks
|
%include fedora-minimal-common.ks
|
||||||
|
|
||||||
part /boot --size=512 --fstype ext4
|
part /boot --size=512 --fstype ext4
|
||||||
part swap --size=256 --fstype swap
|
|
||||||
part / --size=1256 --fstype ext4
|
part / --size=1256 --fstype ext4
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
|
|||||||
27
fedora-atomic-testing-base.ks
Normal file
27
fedora-atomic-testing-base.ks
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
|
||||||
|
# ./fedora-atomic-testing-base.ks - for building media from the testing
|
||||||
|
# refs (fedora/29/${basearch}/testing/atomic-host)
|
||||||
|
|
||||||
|
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/repo/ --ref=fedora/29/${basearch}/testing/atomic-host
|
||||||
|
|
||||||
|
%post --erroronfail
|
||||||
|
# Find the architecture we are on
|
||||||
|
arch=$(uname -m)
|
||||||
|
# Set the origin to the "main stable ref", distinct from /testing/ which is where bodhi writes.
|
||||||
|
# We want consumers of this image to track the two week releases.
|
||||||
|
ostree admin set-origin --index 0 fedora-atomic https://dl.fedoraproject.org/atomic/repo/ "fedora/29/${arch}/atomic-host"
|
||||||
|
|
||||||
|
# Make sure the ref we're supposedly sitting on (according
|
||||||
|
# to the updated origin) exists.
|
||||||
|
ostree refs "fedora-atomic:fedora/29/${arch}/testing/atomic-host" --create "fedora-atomic:fedora/29/${arch}/atomic-host"
|
||||||
|
|
||||||
|
# Remove the old ref so that the commit eventually gets
|
||||||
|
# cleaned up.
|
||||||
|
ostree refs "fedora-atomic:fedora/29/${arch}/testing/atomic-host" --delete
|
||||||
|
|
||||||
|
# delete/add the remote with new options to enable gpg verification
|
||||||
|
# and to point them at the cdn url
|
||||||
|
ostree remote delete fedora-atomic
|
||||||
|
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-29-primary fedora-atomic 'https://dl.fedoraproject.org/atomic/repo/'
|
||||||
|
|
||||||
|
%end
|
||||||
6
fedora-atomic-testing.ks
Normal file
6
fedora-atomic-testing.ks
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
# ./fedora-atomic-testing.ks - for building base cloud media
|
||||||
|
# from the testing refs (fedora/29/${basearch}/testing/atomic-host)
|
||||||
|
|
||||||
|
%include fedora-atomic.ks
|
||||||
|
%include fedora-atomic-testing-base.ks
|
||||||
27
fedora-atomic-updates-base.ks
Normal file
27
fedora-atomic-updates-base.ks
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
|
||||||
|
# ./fedora-atomic-updates-base.ks - for building media from the updates
|
||||||
|
# refs (fedora/29/${basearch}/updates/atomic-host)
|
||||||
|
|
||||||
|
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/repo/ --ref=fedora/29/${basearch}/updates/atomic-host
|
||||||
|
|
||||||
|
%post --erroronfail
|
||||||
|
# Find the architecture we are on
|
||||||
|
arch=$(uname -m)
|
||||||
|
# Set the origin to the "main stable ref", distinct from /updates/ which is where bodhi writes.
|
||||||
|
# We want consumers of this image to track the two week releases.
|
||||||
|
ostree admin set-origin --index 0 fedora-atomic https://dl.fedoraproject.org/atomic/repo/ "fedora/29/${arch}/atomic-host"
|
||||||
|
|
||||||
|
# Make sure the ref we're supposedly sitting on (according
|
||||||
|
# to the updated origin) exists.
|
||||||
|
ostree refs "fedora-atomic:fedora/29/${arch}/updates/atomic-host" --create "fedora-atomic:fedora/29/${arch}/atomic-host"
|
||||||
|
|
||||||
|
# Remove the old ref so that the commit eventually gets
|
||||||
|
# cleaned up.
|
||||||
|
ostree refs "fedora-atomic:fedora/29/${arch}/updates/atomic-host" --delete
|
||||||
|
|
||||||
|
# delete/add the remote with new options to enable gpg verification
|
||||||
|
# and to point them at the cdn url
|
||||||
|
ostree remote delete fedora-atomic
|
||||||
|
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-29-primary fedora-atomic 'https://dl.fedoraproject.org/atomic/repo/'
|
||||||
|
|
||||||
|
%end
|
||||||
6
fedora-atomic-updates.ks
Normal file
6
fedora-atomic-updates.ks
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
# ./fedora-atomic-updates.ks - for building base cloud media
|
||||||
|
# from the updates refs (fedora/29/${basearch}/updates/atomic-host)
|
||||||
|
|
||||||
|
%include fedora-atomic.ks
|
||||||
|
%include fedora-atomic-updates-base.ks
|
||||||
6
fedora-atomic-vagrant-testing.ks
Normal file
6
fedora-atomic-vagrant-testing.ks
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
# ./fedora-atomic-vagrant-testing.ks - for building media from the testing
|
||||||
|
# refs (fedora/29/${basearch}/testing/atomic-host) for vagrant
|
||||||
|
|
||||||
|
%include fedora-atomic-vagrant.ks
|
||||||
|
%include fedora-atomic-testing-base.ks
|
||||||
6
fedora-atomic-vagrant-updates.ks
Normal file
6
fedora-atomic-vagrant-updates.ks
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
# ./fedora-atomic-vagrant-updates.ks - for building media from the updates
|
||||||
|
# refs (fedora/29/${basearch}/updates/atomic-host) for vagrant
|
||||||
|
|
||||||
|
%include fedora-atomic-vagrant.ks
|
||||||
|
%include fedora-atomic-updates-base.ks
|
||||||
@@ -58,30 +58,17 @@ logvol / --size=3000 --grow --fstype="xfs" --name=root --vgname=atomicos
|
|||||||
|
|
||||||
# Equivalent of %include fedora-repo.ks
|
# Equivalent of %include fedora-repo.ks
|
||||||
# Pull from the ostree repo that was created during the compose
|
# Pull from the ostree repo that was created during the compose
|
||||||
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/repo/ --ref=fedora/28/${basearch}/updates/atomic-host
|
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/repo/ --ref=fedora/29/${basearch}/atomic-host
|
||||||
|
|
||||||
reboot
|
reboot
|
||||||
|
|
||||||
%post --erroronfail
|
%post --erroronfail
|
||||||
# Find the architecture we are on
|
# See https://github.com/projectatomic/rpm-ostree/issues/42
|
||||||
arch=$(uname -m)
|
# Set the ostree repo to the location we want users to upgrade from
|
||||||
|
# This location is where the compose gets synced to after the compose
|
||||||
# Set the origin to the "main ref", distinct from /updates/ which is where bodhi writes.
|
# is done.
|
||||||
# We want consumers of this image to track the two week releases.
|
|
||||||
ostree admin set-origin --index 0 fedora-atomic https://kojipkgs.fedoraproject.org/compose/atomic/repo/ "fedora/28/${arch}/atomic-host"
|
|
||||||
|
|
||||||
# Make sure the ref we're supposedly sitting on (according
|
|
||||||
# to the updated origin) exists.
|
|
||||||
ostree refs "fedora-atomic:fedora/28/${arch}/updates/atomic-host" --create "fedora-atomic:fedora/28/${arch}/atomic-host"
|
|
||||||
|
|
||||||
# Remove the old ref so that the commit eventually gets
|
|
||||||
# cleaned up.
|
|
||||||
ostree refs "fedora-atomic:fedora/28/${arch}/updates/atomic-host" --delete
|
|
||||||
|
|
||||||
# delete/add the remote with new options to enable gpg verification
|
|
||||||
# and to point them at the cdn url
|
|
||||||
ostree remote delete fedora-atomic
|
ostree remote delete fedora-atomic
|
||||||
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-primary fedora-atomic 'https://dl.fedoraproject.org/atomic/repo/'
|
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-29-primary fedora-atomic 'https://kojipkgs.fedoraproject.org/atomic/repo/'
|
||||||
|
|
||||||
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||||
|
|||||||
@@ -11,8 +11,9 @@
|
|||||||
@networkmanager-submodules
|
@networkmanager-submodules
|
||||||
@cinnamon-desktop
|
@cinnamon-desktop
|
||||||
@libreoffice
|
@libreoffice
|
||||||
|
parole
|
||||||
|
|
||||||
# extra backgrounds
|
# extra backgrounds
|
||||||
f27-backgrounds-extras-gnome
|
f29-backgrounds-extras-gnome
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -15,9 +15,9 @@
|
|||||||
# For a TDL file, I store one here:
|
# For a TDL file, I store one here:
|
||||||
# https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
|
# https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
|
||||||
# (Koji generates one internally...what we really want is Koji to publish it statically)
|
# (Koji generates one internally...what we really want is Koji to publish it statically)
|
||||||
#
|
#
|
||||||
# Once you have imagefactory and imagefactory-plugins installed, run:
|
# Once you have imagefactory and imagefactory-plugins installed, run:
|
||||||
#
|
#
|
||||||
# curl -O https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
|
# curl -O https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
|
||||||
# tempfile=$(mktemp --suffix=.ks)
|
# tempfile=$(mktemp --suffix=.ks)
|
||||||
# ksflatten -v F22 -c fedora-cloud-base.ks > ${tempfile}
|
# ksflatten -v F22 -c fedora-cloud-base.ks > ${tempfile}
|
||||||
@@ -75,7 +75,6 @@ which
|
|||||||
# Need to also add back plymouth in order to mask failure of
|
# Need to also add back plymouth in order to mask failure of
|
||||||
# systemd-vconsole-setup.service. BZ#1272684. Comment out for now
|
# systemd-vconsole-setup.service. BZ#1272684. Comment out for now
|
||||||
#-plymouth
|
#-plymouth
|
||||||
-NetworkManager
|
|
||||||
-iprutils
|
-iprutils
|
||||||
# Now that BZ#1199868 is fixed kbd really gets removed but it breaks
|
# Now that BZ#1199868 is fixed kbd really gets removed but it breaks
|
||||||
# systemd-vconsole-setup.service on boot. Comment out for now
|
# systemd-vconsole-setup.service on boot. Comment out for now
|
||||||
@@ -241,10 +240,10 @@ dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
|||||||
rm -f /var/tmp/zeros
|
rm -f /var/tmp/zeros
|
||||||
echo "(Don't worry -- that out-of-space error was expected.)"
|
echo "(Don't worry -- that out-of-space error was expected.)"
|
||||||
|
|
||||||
# When we build the image with oz, dracut is used
|
# When we build the image with oz, dracut is used
|
||||||
# and sets up a ifcfg-en<whatever> for the device. We don't
|
# and sets up a ifcfg-en<whatever> for the device. We don't
|
||||||
# want to use this, we use eth0 so it is always the same.
|
# want to use this, we use eth0 so it is always the same.
|
||||||
# So we remove all these ifcfg-en<whatever> devices so
|
# So we remove all these ifcfg-en<whatever> devices so
|
||||||
# The 'network' service can come up cleanly.
|
# The 'network' service can come up cleanly.
|
||||||
rm -f /etc/sysconfig/network-scripts/ifcfg-en*
|
rm -f /etc/sysconfig/network-scripts/ifcfg-en*
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ timezone US/Eastern
|
|||||||
auth --useshadow --passalgo=sha512
|
auth --useshadow --passalgo=sha512
|
||||||
selinux --enforcing
|
selinux --enforcing
|
||||||
firewall --enabled --service=mdns
|
firewall --enabled --service=mdns
|
||||||
services --enabled=sshd,NetworkManager,chronyd
|
services --enabled=sshd,NetworkManager,chronyd,zram-swap
|
||||||
network --bootproto=dhcp --device=link --activate
|
network --bootproto=dhcp --device=link --activate
|
||||||
rootpw --lock --iscrypted locked
|
rootpw --lock --iscrypted locked
|
||||||
shutdown
|
shutdown
|
||||||
@@ -33,6 +33,7 @@ firstboot --reconfig
|
|||||||
@core
|
@core
|
||||||
@standard
|
@standard
|
||||||
@hardware-support
|
@hardware-support
|
||||||
|
zram
|
||||||
|
|
||||||
kernel
|
kernel
|
||||||
# remove this in %post
|
# remove this in %post
|
||||||
@@ -45,11 +46,10 @@ rng-tools
|
|||||||
chrony
|
chrony
|
||||||
bcm283x-firmware
|
bcm283x-firmware
|
||||||
initial-setup
|
initial-setup
|
||||||
|
# Intel wireless firmware assumed never of use for disk images
|
||||||
-iwl*
|
-iwl*
|
||||||
-ipw*
|
-ipw*
|
||||||
-trousers-lib
|
|
||||||
-usb_modeswitch
|
-usb_modeswitch
|
||||||
-iproute-tc
|
|
||||||
-generic-release*
|
-generic-release*
|
||||||
|
|
||||||
# make sure all the locales are available for inital0-setup and anaconda to work
|
# make sure all the locales are available for inital0-setup and anaconda to work
|
||||||
@@ -60,8 +60,6 @@ glibc-all-langpacks
|
|||||||
%post
|
%post
|
||||||
|
|
||||||
# Setup Raspberry Pi firmware
|
# 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
|
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||||
|
|
||||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
%include fedora-disk-base.ks
|
%include fedora-disk-base.ks
|
||||||
%include fedora-minimal-common.ks
|
%include fedora-minimal-common.ks
|
||||||
|
|
||||||
services --enabled=sshd,NetworkManager,chronyd,initial-setup
|
services --enabled=sshd,NetworkManager,chronyd,initial-setup,zram-swap
|
||||||
|
|
||||||
autopart --type=plain
|
autopart --type=plain --noswap
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
-xkeyboard-config
|
-xkeyboard-config
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
%include fedora-disk-base.ks
|
%include fedora-disk-base.ks
|
||||||
|
|
||||||
services --enabled=sshd,NetworkManager,chronyd,initial-setup
|
services --enabled=sshd,NetworkManager,chronyd,initial-setup,zram-swap
|
||||||
|
|
||||||
autopart
|
autopart --noswap
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
# install the default groups for the server environment since installing the environment is not working
|
# install the default groups for the server environment since installing the environment is not working
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
|
|
||||||
bootloader --append="cma=256MB"
|
bootloader --append="cma=256MB"
|
||||||
|
|
||||||
services --enabled=sshd,NetworkManager,chronyd
|
services --enabled=sshd,NetworkManager,chronyd,zram-swap
|
||||||
|
|
||||||
autopart --type=plain
|
autopart --type=plain --noswap
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
-initial-setup
|
-initial-setup
|
||||||
|
|||||||
@@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
%packages --excludedocs --instLangs=en --nocore
|
%packages --excludedocs --instLangs=en --nocore
|
||||||
rootfiles
|
rootfiles
|
||||||
|
# https://communityblog.fedoraproject.org/modularity-dead-long-live-modularity/
|
||||||
|
fedora-repos-modular
|
||||||
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
|
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
|
||||||
vim-minimal
|
vim-minimal
|
||||||
dnf
|
dnf
|
||||||
@@ -21,6 +23,9 @@ rm -rf /tmp/*
|
|||||||
# https://pagure.io/atomic-wg/issue/308
|
# https://pagure.io/atomic-wg/issue/308
|
||||||
printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf
|
printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf
|
||||||
|
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1576993
|
||||||
|
systemctl disable dnf-makecache.timer
|
||||||
|
|
||||||
#Mask mount units and getty service so that we don't get login prompt
|
#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
|
systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ autopart --noboot --nohome --noswap --nolvm
|
|||||||
%packages --excludedocs --instLangs=en --nocore
|
%packages --excludedocs --instLangs=en --nocore
|
||||||
fedora-release
|
fedora-release
|
||||||
bash
|
bash
|
||||||
coreutils
|
coreutils-single
|
||||||
glibc-minimal-langpack
|
glibc-minimal-langpack
|
||||||
libcrypt
|
libcrypt
|
||||||
rpm
|
rpm
|
||||||
@@ -49,7 +49,6 @@ util-linux
|
|||||||
-shared-mime-info
|
-shared-mime-info
|
||||||
-trousers
|
-trousers
|
||||||
-xkeyboard-config
|
-xkeyboard-config
|
||||||
-grubby
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
@@ -8,24 +8,23 @@ timezone --utc Etc/UTC
|
|||||||
auth --useshadow --passalgo=sha512
|
auth --useshadow --passalgo=sha512
|
||||||
selinux --enforcing
|
selinux --enforcing
|
||||||
rootpw --lock --iscrypted locked
|
rootpw --lock --iscrypted locked
|
||||||
firstboot --reconfig --enable
|
|
||||||
|
|
||||||
# Add most common consoles console=ttyAMA0 console=ttyS0 console=ttyS1 as kernel boot parameter
|
# Add most common consoles console=ttyAMA0 console=ttyS0 console=ttyS1 as kernel boot parameter
|
||||||
bootloader --timeout=1 --append="console=tty1 console=ttyS0,115200n8 console=ttyS1,115200n8 console=ttyAMA0,115200n8 net.ifnames=0 modprobe.blacklist=vc4"
|
bootloader --timeout=1 --append="console=tty1 console=ttyS0,115200n8 console=ttyS1,115200n8 console=ttyAMA0,115200n8 net.ifnames=0 modprobe.blacklist=vc4"
|
||||||
|
|
||||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||||
services --enabled=NetworkManager,sshd,rngd,initial-setup
|
services --enabled=NetworkManager,sshd,rngd,initial-setup,zram-swap
|
||||||
|
|
||||||
# tell Initial Setup to run in the reconfig mode
|
# tell Initial Setup to run in the reconfig mode
|
||||||
firstboot --reconfig --enable
|
firstboot --reconfig --enable
|
||||||
|
|
||||||
zerombr
|
zerombr
|
||||||
clearpart --all
|
clearpart --all --initlabel --disklabel=msdos
|
||||||
autopart --nohome --noswap --type=plain
|
autopart --nohome --noswap --type=plain
|
||||||
|
|
||||||
# Equivalent of %include fedora-repo.ks
|
# Equivalent of %include fedora-repo.ks
|
||||||
# Pull from the ostree repo that was created during the compose
|
# Pull from the ostree repo that was created during the compose
|
||||||
ostreesetup --nogpg --osname=fedora-iot --remote=fedora-iot --url=https://kojipkgs.fedoraproject.org/compose/iot/repo/ --ref=fedora/28/${basearch}/iot
|
ostreesetup --nogpg --osname=fedora-iot --remote=fedora-iot --url=https://kojipkgs.fedoraproject.org/compose/iot/repo/ --ref=fedora/29/${basearch}/iot
|
||||||
|
|
||||||
reboot
|
reboot
|
||||||
|
|
||||||
@@ -35,9 +34,7 @@ arch=$(uname -m)
|
|||||||
|
|
||||||
# Setup Raspberry Pi firmware
|
# Setup Raspberry Pi firmware
|
||||||
if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
|
if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
|
||||||
cp -Pr /usr/share/bcm283x-firmware/* /boot/efi/
|
|
||||||
if [[ $arch == "aarch64" ]]; then
|
if [[ $arch == "aarch64" ]]; then
|
||||||
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
|
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||||
else
|
else
|
||||||
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/fw/rpi2-u-boot.bin
|
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/fw/rpi2-u-boot.bin
|
||||||
@@ -47,19 +44,19 @@ fi
|
|||||||
|
|
||||||
# Set the origin to the "main ref", distinct from /updates/ which is where bodhi writes.
|
# Set the origin to the "main ref", distinct from /updates/ which is where bodhi writes.
|
||||||
# We want consumers of this image to track the two week releases.
|
# We want consumers of this image to track the two week releases.
|
||||||
ostree admin set-origin --index 0 fedora-iot https://kojipkgs.fedoraproject.org/iot/28/ "fedora/28/${arch}/iot"
|
ostree admin set-origin --index 0 fedora-iot https://kojipkgs.fedoraproject.org/iot/29/ "fedora/29/${arch}/iot"
|
||||||
|
|
||||||
# Make sure the ref we're supposedly sitting on (according
|
# Make sure the ref we're supposedly sitting on (according
|
||||||
# to the updated origin) exists.
|
# to the updated origin) exists.
|
||||||
ostree refs "fedora-iot:fedora/28/${arch}/iot" --create "fedora-iot:fedora/28/${arch}/iot"
|
ostree refs "fedora-iot:fedora/29/${arch}/iot" --create "fedora-iot:fedora/29/${arch}/iot"
|
||||||
|
|
||||||
# Remove the old ref so that the commit eventually gets cleaned up.
|
# Remove the old ref so that the commit eventually gets cleaned up.
|
||||||
ostree refs "fedora-iot:fedora/28/${arch}/iot" --delete
|
ostree refs "fedora-iot:fedora/29/${arch}/iot" --delete
|
||||||
|
|
||||||
# delete/add the remote with new options to enable gpg verification
|
# delete/add the remote with new options to enable gpg verification
|
||||||
# and to point them at the cdn url
|
# and to point them at the cdn url
|
||||||
ostree remote delete fedora-iot
|
ostree remote delete fedora-iot
|
||||||
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-primary fedora-iot 'https://dl.fedoraproject.org/iot/repo/'
|
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-29-primary fedora-iot 'https://dl.fedoraproject.org/iot/repo/'
|
||||||
|
|
||||||
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
@kde-desktop
|
@kde-desktop
|
||||||
@kde-media
|
@kde-media
|
||||||
@kde-office
|
@kde-office
|
||||||
@kde-telepathy
|
|
||||||
@networkmanager-submodules
|
@networkmanager-submodules
|
||||||
|
|
||||||
### The KDE-Desktop
|
### The KDE-Desktop
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ memtest86+
|
|||||||
|
|
||||||
# The point of a live image is to install
|
# The point of a live image is to install
|
||||||
anaconda
|
anaconda
|
||||||
|
anaconda-install-env-deps
|
||||||
@anaconda-tools
|
@anaconda-tools
|
||||||
|
|
||||||
# Need aajohan-comfortaa-fonts for the SVG rnotes images
|
# Need aajohan-comfortaa-fonts for the SVG rnotes images
|
||||||
@@ -94,11 +95,10 @@ livedir="LiveOS"
|
|||||||
for arg in \`cat /proc/cmdline\` ; do
|
for arg in \`cat /proc/cmdline\` ; do
|
||||||
if [ "\${arg##rd.live.dir=}" != "\${arg}" ]; then
|
if [ "\${arg##rd.live.dir=}" != "\${arg}" ]; then
|
||||||
livedir=\${arg##rd.live.dir=}
|
livedir=\${arg##rd.live.dir=}
|
||||||
return
|
continue
|
||||||
fi
|
fi
|
||||||
if [ "\${arg##live_dir=}" != "\${arg}" ]; then
|
if [ "\${arg##live_dir=}" != "\${arg}" ]; then
|
||||||
livedir=\${arg##live_dir=}
|
livedir=\${arg##live_dir=}
|
||||||
return
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -153,7 +153,6 @@ findPersistentHome() {
|
|||||||
for arg in \`cat /proc/cmdline\` ; do
|
for arg in \`cat /proc/cmdline\` ; do
|
||||||
if [ "\${arg##persistenthome=}" != "\${arg}" ]; then
|
if [ "\${arg##persistenthome=}" != "\${arg}" ]; then
|
||||||
homedev=\${arg##persistenthome=}
|
homedev=\${arg##persistenthome=}
|
||||||
return
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
@@ -206,6 +205,10 @@ systemctl --no-reload disable atd.service 2> /dev/null || :
|
|||||||
systemctl stop crond.service 2> /dev/null || :
|
systemctl stop crond.service 2> /dev/null || :
|
||||||
systemctl stop atd.service 2> /dev/null || :
|
systemctl stop atd.service 2> /dev/null || :
|
||||||
|
|
||||||
|
# turn off abrtd on a live image
|
||||||
|
systemctl --no-reload disable abrtd.service 2> /dev/null || :
|
||||||
|
systemctl stop abrtd.service 2> /dev/null || :
|
||||||
|
|
||||||
# Don't sync the system clock when running live (RHBZ #1018162)
|
# Don't sync the system clock when running live (RHBZ #1018162)
|
||||||
sed -i 's/rtcsync//' /etc/chrony.conf
|
sed -i 's/rtcsync//' /etc/chrony.conf
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
# - Dan Book <grinnz@grinnz.com>
|
# - Dan Book <grinnz@grinnz.com>
|
||||||
|
|
||||||
%include fedora-live-base.ks
|
%include fedora-live-base.ks
|
||||||
%include fedora-live-minimization.ks
|
|
||||||
%include fedora-cinnamon-common.ks
|
%include fedora-cinnamon-common.ks
|
||||||
|
|
||||||
part / --size=6144
|
part / --size=6144
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
%include fedora-kde-minimization.ks
|
%include fedora-kde-minimization.ks
|
||||||
|
|
||||||
# DVD payload
|
# DVD payload
|
||||||
part / --size=6200
|
part / --size=6500
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -5,13 +5,8 @@
|
|||||||
|
|
||||||
# save some space
|
# save some space
|
||||||
-mpage
|
-mpage
|
||||||
-sox
|
|
||||||
-hplip
|
-hplip
|
||||||
-numactl
|
|
||||||
-isdn4k-utils
|
-isdn4k-utils
|
||||||
-autofs
|
|
||||||
# smartcards won't really work on the livecd.
|
|
||||||
-coolkey
|
|
||||||
|
|
||||||
# scanning takes quite a bit of space :/
|
# scanning takes quite a bit of space :/
|
||||||
-xsane
|
-xsane
|
||||||
|
|||||||
@@ -10,168 +10,11 @@
|
|||||||
|
|
||||||
%include fedora-live-kde-base.ks
|
%include fedora-live-kde-base.ks
|
||||||
%include fedora-live-minimization.ks
|
%include fedora-live-minimization.ks
|
||||||
|
%include fedora-scientific-common.ks
|
||||||
|
|
||||||
# The recommended part size for DVDs is too close to use for the scientific spin
|
# The recommended part size for DVDs is too close to use for the scientific spin
|
||||||
part / --size 14500
|
part / --size 14500
|
||||||
|
|
||||||
%packages
|
|
||||||
|
|
||||||
# Installing the default/mandatory packages from engineering & scientific
|
|
||||||
@engineering-and-scientific
|
|
||||||
|
|
||||||
# scilab
|
|
||||||
#scilab
|
|
||||||
#scilab-devel
|
|
||||||
#scilab-doc
|
|
||||||
|
|
||||||
# Remove sagemath explicitly?
|
|
||||||
-sagemath
|
|
||||||
|
|
||||||
#Devel tools
|
|
||||||
|
|
||||||
#Install the mandatory packages from dev-tools and dev-libs
|
|
||||||
# C/C++ compiler, gdb, autotools, bison, flex, make, strace..
|
|
||||||
@development-tools
|
|
||||||
@development-libs
|
|
||||||
@c-development
|
|
||||||
@rpm-development-tools
|
|
||||||
#others, not included
|
|
||||||
# C++ libraries
|
|
||||||
blitz-devel
|
|
||||||
armadillo-devel
|
|
||||||
|
|
||||||
# Misc. related utils
|
|
||||||
ddd
|
|
||||||
valgrind
|
|
||||||
|
|
||||||
#python 2 tools/libraries not included from the groups
|
|
||||||
python2-tools
|
|
||||||
python-ipython
|
|
||||||
python-ipython-console
|
|
||||||
python-ipython-notebook
|
|
||||||
sympy
|
|
||||||
#python-networkx
|
|
||||||
python-pandas
|
|
||||||
|
|
||||||
#python 3 and tools/libraries not included from the groups
|
|
||||||
python3
|
|
||||||
python3-tools
|
|
||||||
python3-matplotlib
|
|
||||||
python3-scipy
|
|
||||||
python3-numpy
|
|
||||||
python3-ipython
|
|
||||||
python3-ipython-console
|
|
||||||
python3-ipython-notebook
|
|
||||||
python3-sympy
|
|
||||||
#python3-networkx
|
|
||||||
python3-pandas
|
|
||||||
|
|
||||||
# matplotlib backends
|
|
||||||
python-matplotlib-qt4
|
|
||||||
python-matplotlib-tk
|
|
||||||
python3-matplotlib-qt4
|
|
||||||
python3-matplotlib-tk
|
|
||||||
|
|
||||||
# Include Java development tools
|
|
||||||
@java-development
|
|
||||||
apache-commons-math
|
|
||||||
|
|
||||||
#fortran compiler
|
|
||||||
gcc-gfortran
|
|
||||||
|
|
||||||
# GUI for R
|
|
||||||
#rkward
|
|
||||||
|
|
||||||
# GUI for Octave
|
|
||||||
qtoctave
|
|
||||||
|
|
||||||
# julia
|
|
||||||
julia
|
|
||||||
julia-doc
|
|
||||||
|
|
||||||
# IDEs for the IDE folks
|
|
||||||
@eclipse
|
|
||||||
spyder
|
|
||||||
|
|
||||||
#writing & publishing
|
|
||||||
emacs
|
|
||||||
emacs-color-theme
|
|
||||||
vim
|
|
||||||
scribus
|
|
||||||
#scite
|
|
||||||
lyx
|
|
||||||
kile
|
|
||||||
|
|
||||||
#Presentation, Bibliography & Document arrangement
|
|
||||||
#tools
|
|
||||||
BibTool
|
|
||||||
pdfshuffler
|
|
||||||
|
|
||||||
# Parallel/Distributed computing libraries/tools
|
|
||||||
openmpi
|
|
||||||
openmpi-devel
|
|
||||||
valgrind-openmpi
|
|
||||||
libgomp
|
|
||||||
python-pp
|
|
||||||
mpi4py-openmpi
|
|
||||||
python3-mpi4py-openmpi
|
|
||||||
|
|
||||||
#Version control- a GUI for each as well
|
|
||||||
|
|
||||||
# Installing rapidsvn will also install subversion package
|
|
||||||
rapidsvn
|
|
||||||
git
|
|
||||||
git-gui
|
|
||||||
# Mercurial
|
|
||||||
mercurial
|
|
||||||
mercurial-hgk
|
|
||||||
|
|
||||||
#Backup Utilities
|
|
||||||
backintime-kde
|
|
||||||
|
|
||||||
#needs to install this specifically because of some conflict between openmpi
|
|
||||||
#and emacs (http://lists.fedoraproject.org/pipermail/devel/2011-July/153812.html)
|
|
||||||
libotf
|
|
||||||
|
|
||||||
#root
|
|
||||||
root
|
|
||||||
root-gui-fitpanel
|
|
||||||
root-python
|
|
||||||
|
|
||||||
#Multiple jobs/clustering system
|
|
||||||
# torque
|
|
||||||
# torque-server
|
|
||||||
# torque-scheduler
|
|
||||||
# torque-gui
|
|
||||||
# torque-libs
|
|
||||||
# torque-mom
|
|
||||||
# python-pbs
|
|
||||||
|
|
||||||
#Drawing, Picture viewing tools, Visualization tools
|
|
||||||
dia
|
|
||||||
inkscape
|
|
||||||
xzgv
|
|
||||||
gimp
|
|
||||||
ggobi
|
|
||||||
ggobi-devel
|
|
||||||
#g3data
|
|
||||||
#Mayavi
|
|
||||||
|
|
||||||
#Misc. Utils
|
|
||||||
screen
|
|
||||||
tmux
|
|
||||||
rlwrap
|
|
||||||
hexchat
|
|
||||||
shutter
|
|
||||||
fig2ps
|
|
||||||
bibtex2html
|
|
||||||
hevea
|
|
||||||
|
|
||||||
#Include Mozilla Firefox
|
|
||||||
firefox
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -5,8 +5,6 @@
|
|||||||
#
|
#
|
||||||
# Maintainers:
|
# Maintainers:
|
||||||
# - Peter Robinson <pbrobinson AT gmail DOT com>
|
# - Peter Robinson <pbrobinson AT gmail DOT com>
|
||||||
# - Sebastian Dziallas <sdz AT fedoraproject DOT org>
|
|
||||||
# - Mel Chua <mchua AT fedoraproject DOT org>
|
|
||||||
|
|
||||||
%include fedora-live-base.ks
|
%include fedora-live-base.ks
|
||||||
%include fedora-live-minimization.ks
|
%include fedora-live-minimization.ks
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
#
|
#
|
||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# – Christian Dersch <lupinix@fedoraproject.org>
|
# – Christian Dersch <lupinix@fedoraproject.org>
|
||||||
|
# – Zamir SUN <zsun@fedoraproject.org>
|
||||||
#
|
#
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@@ -26,6 +27,9 @@ pavucontrol-qt-l10n
|
|||||||
# MP3
|
# MP3
|
||||||
gstreamer1-plugin-mpg123
|
gstreamer1-plugin-mpg123
|
||||||
|
|
||||||
|
# Editor
|
||||||
|
enki
|
||||||
|
|
||||||
# remove unneeded stuff to get a lightweight system
|
# remove unneeded stuff to get a lightweight system
|
||||||
# fonts (we make no bones about admitting we're english-only)
|
# fonts (we make no bones about admitting we're english-only)
|
||||||
wqy-microhei-fonts # a compact CJK font, to replace:
|
wqy-microhei-fonts # a compact CJK font, to replace:
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ nss-mdns
|
|||||||
# Drop things for size
|
# Drop things for size
|
||||||
-@3d-printing
|
-@3d-printing
|
||||||
-brasero
|
-brasero
|
||||||
-colord
|
|
||||||
-fedora-icon-theme
|
-fedora-icon-theme
|
||||||
-gnome-icon-theme
|
-gnome-icon-theme
|
||||||
-gnome-icon-theme-symbolic
|
-gnome-icon-theme-symbolic
|
||||||
|
|||||||
@@ -3,6 +3,10 @@
|
|||||||
-initial-setup-gui
|
-initial-setup-gui
|
||||||
-generic-release*
|
-generic-release*
|
||||||
-glibc-all-langpacks
|
-glibc-all-langpacks
|
||||||
|
# recommended by iproute, we don't want it in minimal
|
||||||
|
-iproute-tc
|
||||||
|
# recommended by gnutls, we don't want it in minimal
|
||||||
|
-trousers
|
||||||
glibc-langpack-en
|
glibc-langpack-en
|
||||||
iw
|
iw
|
||||||
NetworkManager-wifi
|
NetworkManager-wifi
|
||||||
|
|||||||
@@ -56,8 +56,6 @@ dhcp-client
|
|||||||
%post
|
%post
|
||||||
|
|
||||||
# Setup Raspberry Pi firmware
|
# 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
|
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||||
|
|
||||||
releasever=$(rpm -q --qf '%{version}\n' fedora-modular-release)
|
releasever=$(rpm -q --qf '%{version}\n' fedora-modular-release)
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# Exactly one of the following should be uncommented
|
# Exactly one of the following should be uncommented
|
||||||
|
|
||||||
# For the master branch the following should be uncommented
|
# For the master branch the following should be uncommented
|
||||||
# %include fedora-repo-rawhide.ks
|
#%include fedora-repo-rawhide.ks
|
||||||
|
|
||||||
# For non-master branches the following should be uncommented
|
# For non-master branches the following should be uncommented
|
||||||
%include fedora-repo-not-rawhide.ks
|
%include fedora-repo-not-rawhide.ks
|
||||||
|
|||||||
160
fedora-scientific-common.ks
Normal file
160
fedora-scientific-common.ks
Normal file
@@ -0,0 +1,160 @@
|
|||||||
|
%packages
|
||||||
|
|
||||||
|
# Installing the default/mandatory packages from engineering & scientific
|
||||||
|
@engineering-and-scientific
|
||||||
|
|
||||||
|
# scilab
|
||||||
|
scilab
|
||||||
|
scilab-devel
|
||||||
|
scilab-doc
|
||||||
|
|
||||||
|
# Remove sagemath explicitly?
|
||||||
|
-sagemath
|
||||||
|
|
||||||
|
#Devel tools
|
||||||
|
|
||||||
|
#Install the mandatory packages from dev-tools and dev-libs
|
||||||
|
# C/C++ compiler, gdb, autotools, bison, flex, make, strace..
|
||||||
|
@development-tools
|
||||||
|
@development-libs
|
||||||
|
@c-development
|
||||||
|
@rpm-development-tools
|
||||||
|
#others, not included
|
||||||
|
# C++ libraries
|
||||||
|
blitz-devel
|
||||||
|
armadillo-devel
|
||||||
|
|
||||||
|
# Misc. related utils
|
||||||
|
ddd
|
||||||
|
valgrind
|
||||||
|
|
||||||
|
#python 2 tools/libraries not included from the groups
|
||||||
|
python2-tools
|
||||||
|
python-ipython
|
||||||
|
python-ipython-console
|
||||||
|
python-ipython-notebook
|
||||||
|
sympy
|
||||||
|
python-networkx
|
||||||
|
python-pandas
|
||||||
|
|
||||||
|
#python 3 and tools/libraries not included from the groups
|
||||||
|
python3
|
||||||
|
python3-tools
|
||||||
|
python3-matplotlib
|
||||||
|
python3-scipy
|
||||||
|
python3-numpy
|
||||||
|
python3-ipython
|
||||||
|
python3-ipython-console
|
||||||
|
python3-ipython-notebook
|
||||||
|
python3-sympy
|
||||||
|
python3-networkx
|
||||||
|
python3-pandas
|
||||||
|
|
||||||
|
# matplotlib backends
|
||||||
|
python-matplotlib-qt4
|
||||||
|
python-matplotlib-tk
|
||||||
|
python3-matplotlib-qt4
|
||||||
|
python3-matplotlib-tk
|
||||||
|
|
||||||
|
# Include Java development tools
|
||||||
|
@java-development
|
||||||
|
apache-commons-math
|
||||||
|
|
||||||
|
#fortran compiler
|
||||||
|
gcc-gfortran
|
||||||
|
|
||||||
|
# GUI for R
|
||||||
|
rkward
|
||||||
|
|
||||||
|
# GUI for Octave
|
||||||
|
qtoctave
|
||||||
|
|
||||||
|
# julia
|
||||||
|
# Comment out till https://koji.fedoraproject.org/koji/buildinfo?buildID=1135023 is fixed
|
||||||
|
# julia
|
||||||
|
# julia-doc
|
||||||
|
|
||||||
|
# IDEs for the IDE folks
|
||||||
|
@eclipse
|
||||||
|
# Workaround for: https://pagure.io/releng/issue/7814
|
||||||
|
-eclipse-linuxtools-vagrant
|
||||||
|
spyder
|
||||||
|
|
||||||
|
#writing & publishing
|
||||||
|
emacs
|
||||||
|
emacs-color-theme
|
||||||
|
vim
|
||||||
|
scribus
|
||||||
|
#scite
|
||||||
|
lyx
|
||||||
|
kile
|
||||||
|
|
||||||
|
#Presentation, Bibliography & Document arrangement
|
||||||
|
#tools
|
||||||
|
BibTool
|
||||||
|
pdfshuffler
|
||||||
|
|
||||||
|
# Parallel/Distributed computing libraries/tools
|
||||||
|
openmpi
|
||||||
|
openmpi-devel
|
||||||
|
valgrind-openmpi
|
||||||
|
libgomp
|
||||||
|
python-pp
|
||||||
|
mpi4py-openmpi
|
||||||
|
python3-mpi4py-openmpi
|
||||||
|
|
||||||
|
#Version control- a GUI for each as well
|
||||||
|
|
||||||
|
# Installing rapidsvn will also install subversion package
|
||||||
|
rapidsvn
|
||||||
|
git
|
||||||
|
git-gui
|
||||||
|
# Mercurial
|
||||||
|
mercurial
|
||||||
|
mercurial-hgk
|
||||||
|
|
||||||
|
#Backup Utilities
|
||||||
|
backintime-kde
|
||||||
|
|
||||||
|
#needs to install this specifically because of some conflict between openmpi
|
||||||
|
#and emacs (http://lists.fedoraproject.org/pipermail/devel/2011-July/153812.html)
|
||||||
|
libotf
|
||||||
|
|
||||||
|
#root
|
||||||
|
root
|
||||||
|
root-gui-fitpanel
|
||||||
|
root-python
|
||||||
|
|
||||||
|
#Multiple jobs/clustering system
|
||||||
|
# torque
|
||||||
|
# torque-server
|
||||||
|
# torque-scheduler
|
||||||
|
# torque-gui
|
||||||
|
# torque-libs
|
||||||
|
# torque-mom
|
||||||
|
# python-pbs
|
||||||
|
|
||||||
|
#Drawing, Picture viewing tools, Visualization tools
|
||||||
|
dia
|
||||||
|
inkscape
|
||||||
|
xzgv
|
||||||
|
gimp
|
||||||
|
ggobi
|
||||||
|
ggobi-devel
|
||||||
|
#g3data
|
||||||
|
#Mayavi
|
||||||
|
|
||||||
|
#Misc. Utils
|
||||||
|
screen
|
||||||
|
tmux
|
||||||
|
rlwrap
|
||||||
|
hexchat
|
||||||
|
shutter
|
||||||
|
fig2ps
|
||||||
|
bibtex2html
|
||||||
|
hevea
|
||||||
|
|
||||||
|
#Include Mozilla Firefox
|
||||||
|
firefox
|
||||||
|
|
||||||
|
%end
|
||||||
12
fedora-scientific-vagrant.ks
Normal file
12
fedora-scientific-vagrant.ks
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# Fedora Scientific Vagrant box
|
||||||
|
|
||||||
|
# Fedora Scientific: For researchers in Science and Engineering
|
||||||
|
# Fedora-Scientific aims to create a Fedora which has the generic
|
||||||
|
# toolset for the researcher
|
||||||
|
# Web: https://labs.fedoraproject.org/en/scientific/
|
||||||
|
|
||||||
|
# Maintainer: Amit Saha <amitksaha@fedoraproject.org>
|
||||||
|
# https://fedoraproject.org/wiki/User:Amitksaha
|
||||||
|
|
||||||
|
%include fedora-cloud-base-vagrant.ks
|
||||||
|
%include fedora-scientific-common.ks
|
||||||
@@ -76,6 +76,10 @@ pulseaudio-utils
|
|||||||
# http://bugs.sugarlabs.org/ticket/1951
|
# http://bugs.sugarlabs.org/ticket/1951
|
||||||
rp-pppoe
|
rp-pppoe
|
||||||
|
|
||||||
|
# Useful for SoaS duplication from:
|
||||||
|
# http://bugs.sugarlabs.org/ticket/74
|
||||||
|
livecd-tools
|
||||||
|
|
||||||
# Get the Sugar boot screen
|
# Get the Sugar boot screen
|
||||||
-plymouth-system-theme
|
-plymouth-system-theme
|
||||||
-plymouth-theme-charge
|
-plymouth-theme-charge
|
||||||
@@ -88,7 +92,7 @@ sugar-logos
|
|||||||
# Rebuild initrd for Sugar boot screen
|
# Rebuild initrd for Sugar boot screen
|
||||||
KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
|
KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
|
||||||
/usr/sbin/plymouth-set-default-theme sugar
|
/usr/sbin/plymouth-set-default-theme sugar
|
||||||
/sbin/dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
||||||
|
|
||||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||||
rm -f /var/lib/rpm/__db*
|
rm -f /var/lib/rpm/__db*
|
||||||
@@ -159,6 +163,16 @@ show-logout=false
|
|||||||
[org.sugarlabs.power]
|
[org.sugarlabs.power]
|
||||||
automatic=true
|
automatic=true
|
||||||
EOF
|
EOF
|
||||||
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/sugar.soas.gschema.override
|
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||||
|
|
||||||
|
# For lorax/livemedia-creator builds.
|
||||||
|
sed -i '
|
||||||
|
/## make boot.iso/ i\
|
||||||
|
# Add livecd-iso-to-disk script to .iso filesystem at /LiveOS/\
|
||||||
|
<% f = "usr/bin/livecd-iso-to-disk" %>\
|
||||||
|
%if exists(f):\
|
||||||
|
install ${f} ${LIVEDIR}/${f|basename}\
|
||||||
|
%endif\
|
||||||
|
' /usr/share/lorax/templates.d/99-generic/live/x86.tmpl
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -38,6 +38,5 @@ system-config-printer
|
|||||||
-desktop-backgrounds-basic
|
-desktop-backgrounds-basic
|
||||||
-aspell-* # dictionaries are big
|
-aspell-* # dictionaries are big
|
||||||
-xfce4-sensors-plugin
|
-xfce4-sensors-plugin
|
||||||
-foomatic-db-ppds
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
40
l10n/fedora-live-workstation-ja_JP.ks
Normal file
40
l10n/fedora-live-workstation-ja_JP.ks
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# fedora-live-workstation-ja_JP.ks
|
||||||
|
#
|
||||||
|
# Description:
|
||||||
|
# - Japanese Fedora Live Spin with the Gnome Desktop Environment
|
||||||
|
#
|
||||||
|
# Maintainer(s):
|
||||||
|
# - Shintaro Fujiwara <shintaro.fujiwara@miraclelinux.com>
|
||||||
|
|
||||||
|
%include ../fedora-live-workstation.ks
|
||||||
|
|
||||||
|
lang ja_JP.UTF-8
|
||||||
|
keyboard jp
|
||||||
|
timezone Asia/Tokyo
|
||||||
|
|
||||||
|
%packages
|
||||||
|
@japanese-support
|
||||||
|
# exclude input methods except ibus:
|
||||||
|
-m17n*
|
||||||
|
-scim*
|
||||||
|
-iok
|
||||||
|
# ibus stuff
|
||||||
|
ibus-kkc
|
||||||
|
imsettings
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post
|
||||||
|
cat > /etc/X11/xorg.conf.d/00-keyboard.conf << "EOF"
|
||||||
|
# Read and parsed by systemd-localed. It's probably wise not to edit this file
|
||||||
|
# manually too freely.
|
||||||
|
Section "InputClass"
|
||||||
|
Identifier "system-keyboard"
|
||||||
|
MatchIsKeyboard "on"
|
||||||
|
Option "XkbLayout" "jp"
|
||||||
|
Option "XkbModel" "jp106"
|
||||||
|
EndSection
|
||||||
|
EOF
|
||||||
|
|
||||||
|
gsettings set org.gnome.desktop.input-sources sources "[('ibus', 'kkc'), ('xkb', 'jp')]"
|
||||||
|
|
||||||
|
%end
|
||||||
40
l10n/fedora-livecd-kde-ja_JP.ks
Normal file
40
l10n/fedora-livecd-kde-ja_JP.ks
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# fedora-livecd-kde-ja_JP.ks
|
||||||
|
#
|
||||||
|
# Description:
|
||||||
|
# - Japanese Fedora Live Spin with the KDE Desktop Environment
|
||||||
|
#
|
||||||
|
# Maintainer(s):
|
||||||
|
# - Shintaro Fujiwara <shintaro.fujiwara@miraclelinux.com>
|
||||||
|
|
||||||
|
%include ../fedora-live-kde.ks
|
||||||
|
|
||||||
|
lang ja_JP.UTF-8
|
||||||
|
keyboard jp
|
||||||
|
timezone Asia/Tokyo
|
||||||
|
|
||||||
|
%packages
|
||||||
|
@japanese-support
|
||||||
|
# exclude input methods except ibus:
|
||||||
|
-m17n*
|
||||||
|
-scim*
|
||||||
|
-iok
|
||||||
|
# ibus-stuff
|
||||||
|
fcitx-qt5
|
||||||
|
ibus-kkc
|
||||||
|
ibus-mozc
|
||||||
|
ibus-qt
|
||||||
|
kcm-fcitx
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post
|
||||||
|
cat > /etc/X11/xorg.conf.d/00-keyboard.conf << "EOF"
|
||||||
|
# Read and parsed by systemd-localed. It's probably wise not to edit this file
|
||||||
|
# manually too freely.
|
||||||
|
Section "InputClass"
|
||||||
|
Identifier "system-keyboard"
|
||||||
|
MatchIsKeyboard "on"
|
||||||
|
Option "XkbLayout" "jp"
|
||||||
|
Option "XkbModel" "jp106"
|
||||||
|
EndSection
|
||||||
|
EOF
|
||||||
|
%end
|
||||||
@@ -14,10 +14,9 @@ timezone Asia/Tokyo
|
|||||||
|
|
||||||
%packages
|
%packages
|
||||||
@japanese-support
|
@japanese-support
|
||||||
# exclude input methods:
|
# exclude input methods except ibus:
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
-ibus*
|
|
||||||
-iok
|
-iok
|
||||||
# Better more popular browser
|
# Better more popular browser
|
||||||
firefox
|
firefox
|
||||||
|
|||||||
Reference in New Issue
Block a user