mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-09 00:20:31 +08:00
Compare commits
75 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
40dbada72b | ||
|
|
1a67c48064 | ||
|
|
3e8cd74fc8 | ||
|
|
5b6b9e4d6a | ||
|
|
b95b0e11d0 | ||
|
|
4493473a0a | ||
|
|
41e571f0b0 | ||
|
|
7760932d53 | ||
|
|
ead98e05d6 | ||
|
|
6167c5112c | ||
|
|
119efae2f9 | ||
|
|
5a9491e5ad | ||
|
|
b668257940 | ||
|
|
057e710338 | ||
|
|
caafaa6c03 | ||
|
|
8c9a05ae16 | ||
|
|
ba79b12375 | ||
|
|
1b78636ab1 | ||
|
|
f15dd026fe | ||
|
|
e7742ffc33 | ||
|
|
007c54025d | ||
|
|
75d580c3fa | ||
|
|
0f69fe0d48 | ||
|
|
9e47cff172 | ||
|
|
d35eba9297 | ||
|
|
4393b884b3 | ||
|
|
30c4fddde7 | ||
|
|
32110a472e | ||
|
|
289081819e | ||
|
|
e9c9928c83 | ||
|
|
6338afb23c | ||
|
|
7243faa567 | ||
|
|
d38606ec42 | ||
|
|
1c64d4718a | ||
|
|
1b19a4c21b | ||
|
|
a8152f2e31 | ||
|
|
de0a80e24d | ||
|
|
fa047a1949 | ||
|
|
0c7d01ca5e | ||
|
|
e096cbed83 | ||
|
|
c8f435a6a0 | ||
|
|
00d0830aaf | ||
|
|
54d01cbd53 | ||
|
|
7e810e6fb7 | ||
|
|
09afeb926f | ||
|
|
34ce2e2165 | ||
|
|
d9fab6d0a9 | ||
|
|
d0ae69f8eb | ||
|
|
5571ec20dd | ||
|
|
685a19ff40 | ||
|
|
9bb254b865 | ||
|
|
f4a0c73bfe | ||
|
|
5bcdb60f13 | ||
|
|
88a9240267 | ||
|
|
407ca518cd | ||
|
|
b8a45187ae | ||
|
|
c6826272fc | ||
|
|
cf2a91f935 | ||
|
|
b49fdad2b6 | ||
|
|
f7dc6eacf4 | ||
|
|
2bbf715cd9 | ||
|
|
23b814089b | ||
|
|
19fb556f9f | ||
|
|
0996c4996e | ||
|
|
f7bef12438 | ||
|
|
4ed12a7027 | ||
|
|
d8b59962cd | ||
|
|
aefa165253 | ||
|
|
c8f098b393 | ||
|
|
839ef7acc0 | ||
|
|
1c70356e93 | ||
|
|
f1cac9d7b9 | ||
|
|
2a2faacda6 | ||
|
|
2094721562 | ||
|
|
8f0cb7faca |
24
README.md
24
README.md
@@ -11,18 +11,18 @@ and modify the kickstart files for their local needs.
|
|||||||
|
|
||||||
## To make a release ##
|
## To make a release ##
|
||||||
|
|
||||||
git clone ssh://git@pagure.io/fedora-kickstarts.git fedora-kickstarts
|
* git clone ssh://git@pagure.io/fedora-kickstarts.git fedora-kickstarts
|
||||||
cd fedora-kickstarts
|
* cd fedora-kickstarts
|
||||||
# If you need a specific branch other than master:
|
* # If you need a specific branch other than master:
|
||||||
git checkout BRANCHNAME
|
* git checkout BRANCHNAME
|
||||||
# No tag has been added yet tag HEAD with
|
* # No tag has been added yet tag HEAD with
|
||||||
git tag VERSION
|
* git tag VERSION
|
||||||
git push --tags
|
* git push --tags
|
||||||
make
|
* make
|
||||||
# Publish the released tar ball
|
* # Publish the released tar ball
|
||||||
make publish
|
* make publish
|
||||||
# Clean up the generated files:
|
* # Clean up the generated files:
|
||||||
make clean
|
* make clean
|
||||||
|
|
||||||
# bug reports #
|
# bug reports #
|
||||||
|
|
||||||
|
|||||||
8
atomic-installer/lorax-configure-repo.tmpl
Normal file
8
atomic-installer/lorax-configure-repo.tmpl
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
## Lorax template to configure Anaconda to use the local OSTree
|
||||||
|
## repository on disk.
|
||||||
|
|
||||||
|
<%page args="ostree_osname, ostree_ref"/>
|
||||||
|
append usr/share/anaconda/interactive-defaults.ks "ostreesetup --nogpg --osname=${ostree_osname} --remote=${ostree_osname} --url=file:////run/install/repo/content/repo --ref=${ostree_ref}\n"
|
||||||
|
append usr/share/anaconda/interactive-defaults.ks "services --disabled cloud-init,cloud-config,cloud-final,cloud-init-local\n"
|
||||||
|
append usr/share/anaconda/interactive-defaults.ks "%post --erroronfail\nrm -f /etc/ostree/remotes.d/${ostree_osname}.conf\nostree remote add --set=gpg-verify=false fedora-atomic 'https://dl.fedoraproject.org/pub/fedora/linux/atomic/22/'\n%end\n"
|
||||||
|
|
||||||
11
atomic-installer/lorax-embed-repo.tmpl
Normal file
11
atomic-installer/lorax-embed-repo.tmpl
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
## Lorax template to embed an OSTree repository into the installer.iso
|
||||||
|
## and configure an interactive installer use to look for it.
|
||||||
|
##
|
||||||
|
## Note that we pull with depth=0 to only get *one* commit into the
|
||||||
|
## ISO, because we obviously don't want the full history.
|
||||||
|
|
||||||
|
<%page args="workdir, ostree_osname, ostree_repo, ostree_ref"/>
|
||||||
|
runcmd mkdir -p ${workdir}/iso-graft/content/repo
|
||||||
|
runcmd ostree --repo=${workdir}/iso-graft/content/repo init --mode=archive-z2
|
||||||
|
runcmd ostree --repo=${workdir}/iso-graft/content/repo remote add ostree-mirror --set=gpg-verify=false ${ostree_repo}
|
||||||
|
runcmd ostree --repo=${workdir}/iso-graft/content/repo pull --mirror ostree-mirror ${ostree_ref}
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
part /boot --size=512 --fstype ext4
|
part /boot --size=512 --fstype ext4
|
||||||
part swap --size=256 --fstype swap
|
part swap --size=256 --fstype swap
|
||||||
part / --size=1256 --fstype ext4
|
part / --size=1250 --fstype ext4
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
-xkeyboard-config
|
-xkeyboard-config
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
%include fedora-arm-xbase.ks
|
%include fedora-arm-xbase.ks
|
||||||
%include fedora-xfce-common.ks
|
%include fedora-xfce-common.ks
|
||||||
|
|
||||||
part / --size=4500 --fstype ext4
|
part / --size=4000 --fstype ext4
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
|
|||||||
@@ -17,45 +17,31 @@ rootpw --lock --iscrypted locked
|
|||||||
|
|
||||||
firewall --disabled
|
firewall --disabled
|
||||||
|
|
||||||
# console=ttyAMA0 and console=hvc0 as kernel boot parameter to see
|
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0"
|
||||||
# kernel boot messages on serial console as well on aarch64 and
|
|
||||||
# ppc64le respectively.
|
|
||||||
# https://pagure.io/atomic-wg/issue/347
|
|
||||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 console=ttyAMA0 console=hvc0 net.ifnames=0"
|
|
||||||
|
|
||||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||||
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||||
|
|
||||||
zerombr
|
zerombr
|
||||||
clearpart --all
|
clearpart --all
|
||||||
# Implement: https://pagure.io/atomic-wg/issue/281
|
# Atomic differs from cloud - we want LVM
|
||||||
# The bare metal layout default is in http://pkgs.fedoraproject.org/cgit/rpms/fedora-productimg-atomic.git
|
part /boot --size=300 --fstype="ext4"
|
||||||
# However, the disk size is currently just 6GB for the cloud image (defined in pungi-fedora). So the
|
|
||||||
# "15GB, rest unallocated" model doesn't make sense. The Vagrant box is 40GB (apparently a number of
|
|
||||||
# Vagrant boxes come big and rely on thin provisioning).
|
|
||||||
# In both cases, it's simplest to just fill all the disk space.
|
|
||||||
#
|
|
||||||
# Use reqpart to create hardware platform specific partitions
|
|
||||||
# https://pagure.io/atomic-wg/issue/299
|
|
||||||
reqpart --add-boot
|
|
||||||
part pv.01 --grow
|
part pv.01 --grow
|
||||||
volgroup atomicos pv.01
|
volgroup atomicos pv.01
|
||||||
# Start from 3GB as we did before, since we just need a size. But we do --grow to fill all space.
|
logvol / --size=3000 --fstype="xfs" --name=root --vgname=atomicos
|
||||||
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
|
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/26/ --ref=fedora/26/x86_64/atomic-host
|
||||||
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/27/ --ref=fedora/27/${basearch}/atomic-host
|
|
||||||
|
|
||||||
reboot
|
reboot
|
||||||
|
|
||||||
%post --erroronfail
|
%post --erroronfail
|
||||||
# See https://github.com/projectatomic/rpm-ostree/issues/42
|
# See https://github.com/projectatomic/rpm-ostree/issues/42
|
||||||
# Set the ostree repo to the location we want users to upgrade from
|
# we only need this for before f26 release where we are using a
|
||||||
# This location is where the compose gets synced to after the compose
|
# temporary "dev" repo url above. We want to change the remote
|
||||||
# is done.
|
# we use to match where the repo will live for the entirety of f26.
|
||||||
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-27-primary fedora-atomic 'https://kojipkgs.fedoraproject.org/atomic/27/'
|
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
|
# 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
|
||||||
@@ -65,10 +51,8 @@ passwd -l root
|
|||||||
cp /etc/skel/.bash* /var/roothome
|
cp /etc/skel/.bash* /var/roothome
|
||||||
|
|
||||||
# Configure docker-storage-setup to resize the partition table on boot
|
# Configure docker-storage-setup to resize the partition table on boot
|
||||||
# and extend the root filesystem to fill it.
|
# https://github.com/projectatomic/docker-storage-setup/pull/25
|
||||||
# https://pagure.io/atomic-wg/issue/343
|
|
||||||
echo 'GROWPART=true' >> /etc/sysconfig/docker-storage-setup
|
echo 'GROWPART=true' >> /etc/sysconfig/docker-storage-setup
|
||||||
echo 'ROOT_SIZE=+100%FREE' >> /etc/sysconfig/docker-storage-setup
|
|
||||||
|
|
||||||
echo -n "Getty fixes"
|
echo -n "Getty fixes"
|
||||||
# although we want console output going to the serial console, we don't
|
# although we want console output going to the serial console, we don't
|
||||||
|
|||||||
@@ -13,12 +13,12 @@
|
|||||||
# http://worknotes.readthedocs.org/en/latest/cloudimages.html for some notes.
|
# http://worknotes.readthedocs.org/en/latest/cloudimages.html for some notes.
|
||||||
#
|
#
|
||||||
# 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://git.fedorahosted.org/cgit/fedora-atomic.git/tree/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://git.fedorahosted.org/cgit/fedora-atomic.git/plain/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}
|
||||||
# imagefactory --debug base_image --file-parameter install_script ${tempfile} fedora-atomic-rawhide.tdl
|
# imagefactory --debug base_image --file-parameter install_script ${tempfile} fedora-atomic-rawhide.tdl
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ network --bootproto=dhcp --device=link --activate
|
|||||||
rootpw --lock --iscrypted locked
|
rootpw --lock --iscrypted locked
|
||||||
shutdown
|
shutdown
|
||||||
|
|
||||||
bootloader --timeout=1
|
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||||
|
|
||||||
zerombr
|
zerombr
|
||||||
clearpart --all --initlabel --disklabel=msdos
|
clearpart --all --initlabel --disklabel=msdos
|
||||||
|
|||||||
@@ -14,13 +14,11 @@ sssd-client
|
|||||||
%end
|
%end
|
||||||
|
|
||||||
%post --erroronfail --log=/root/anaconda-post.log
|
%post --erroronfail --log=/root/anaconda-post.log
|
||||||
|
|
||||||
# remove some extraneous files
|
# remove some extraneous files
|
||||||
rm -rf /var/cache/dnf/*
|
rm -rf /var/cache/dnf/*
|
||||||
rm -rf /tmp/*
|
rm -rf /tmp/*
|
||||||
|
|
||||||
# https://pagure.io/atomic-wg/issue/308
|
|
||||||
printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf
|
|
||||||
|
|
||||||
#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
|
||||||
|
|
||||||
@@ -37,6 +35,5 @@ systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connec
|
|||||||
#
|
#
|
||||||
umount /run
|
umount /run
|
||||||
systemd-tmpfiles --prefix=/run/ --prefix=/var/run/ --create --boot || true
|
systemd-tmpfiles --prefix=/run/ --prefix=/var/run/ --create --boot || true
|
||||||
rm /run/nologin # https://pagure.io/atomic-wg/issue/316
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
# but you can run imagefactory locally too.
|
# but you can run imagefactory locally too.
|
||||||
#
|
#
|
||||||
# To do so, testing local changes, first you'll need a TDL file. I store one here:
|
# To do so, testing local changes, first you'll need a TDL file. I store one here:
|
||||||
# https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
|
# https://git.fedorahosted.org/cgit/fedora-atomic.git/tree/fedora-atomic-rawhide.tdl
|
||||||
#
|
#
|
||||||
# Then, once you have imagefactory and imagefactory-plugins installed, run:
|
# Then, once you have imagefactory and imagefactory-plugins installed, run:
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -42,6 +42,10 @@ k3b # ~15 megs
|
|||||||
fuse
|
fuse
|
||||||
mediawriter
|
mediawriter
|
||||||
|
|
||||||
|
# only include kdegames-minimal
|
||||||
|
-kdegames
|
||||||
|
kdegames-minimal
|
||||||
|
|
||||||
### space issues
|
### space issues
|
||||||
|
|
||||||
# fonts (we make no bones about admitting we're english-only)
|
# fonts (we make no bones about admitting we're english-only)
|
||||||
|
|||||||
@@ -24,13 +24,7 @@ part / --size 14500
|
|||||||
# Installing the default/mandatory packages from engineering & scientific
|
# Installing the default/mandatory packages from engineering & scientific
|
||||||
@engineering-and-scientific
|
@engineering-and-scientific
|
||||||
|
|
||||||
# Basic development
|
|
||||||
@development-tools
|
|
||||||
@c-development
|
|
||||||
|
|
||||||
# astronomical data analysis
|
# astronomical data analysis
|
||||||
astrometry
|
|
||||||
astrometry-tycho2
|
|
||||||
cdsclient
|
cdsclient
|
||||||
fpack
|
fpack
|
||||||
gcx
|
gcx
|
||||||
@@ -43,7 +37,7 @@ skyviewer
|
|||||||
swarp
|
swarp
|
||||||
wcstools
|
wcstools
|
||||||
|
|
||||||
# Observatory: KStars + INDI drivers
|
# Observatory: KStars + INDI drivers + Skychart
|
||||||
indi-aagcloudwatcher
|
indi-aagcloudwatcher
|
||||||
indi-apogee
|
indi-apogee
|
||||||
indi-eqmod
|
indi-eqmod
|
||||||
@@ -51,10 +45,10 @@ indi-gphoto
|
|||||||
indi-sx
|
indi-sx
|
||||||
indistarter
|
indistarter
|
||||||
kstars
|
kstars
|
||||||
|
stellarium
|
||||||
|
|
||||||
# misc. astronomy
|
# misc. astronomy
|
||||||
celestia
|
celestia
|
||||||
stellarium
|
|
||||||
virtualplanet
|
virtualplanet
|
||||||
|
|
||||||
# Some astro environment stuff
|
# Some astro environment stuff
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ if [ -n "\$configdone" ]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# add liveuser user with no passwd
|
# add fedora user with no passwd
|
||||||
action "Adding live user" useradd \$USERADDARGS -c "Live System User" liveuser
|
action "Adding live user" useradd \$USERADDARGS -c "Live System User" liveuser
|
||||||
passwd -d liveuser > /dev/null
|
passwd -d liveuser > /dev/null
|
||||||
usermod -aG wheel liveuser > /dev/null
|
usermod -aG wheel liveuser > /dev/null
|
||||||
|
|||||||
@@ -32,9 +32,6 @@ sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/li
|
|||||||
# set Cinnamon as default session, otherwise login will fail
|
# set Cinnamon as default session, otherwise login will fail
|
||||||
sed -i 's/^#user-session=.*/user-session=cinnamon/' /etc/lightdm/lightdm.conf
|
sed -i 's/^#user-session=.*/user-session=cinnamon/' /etc/lightdm/lightdm.conf
|
||||||
|
|
||||||
# no updater applet in live environment
|
|
||||||
rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
|
|
||||||
|
|
||||||
# Show harddisk install on the desktop
|
# Show harddisk install on the desktop
|
||||||
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
||||||
mkdir /home/liveuser/Desktop
|
mkdir /home/liveuser/Desktop
|
||||||
|
|||||||
@@ -16,26 +16,43 @@ part / --size 14336
|
|||||||
# Switch to groups for design suite
|
# Switch to groups for design suite
|
||||||
@design-suite
|
@design-suite
|
||||||
|
|
||||||
# Provides backup application
|
# Added addons to address rhbz#1336879 from dnf
|
||||||
deja-dup
|
gimp-data-extras
|
||||||
deja-dup-nautilus
|
gimp-dbp
|
||||||
|
gimp-dds-plugin
|
||||||
|
gimp-elsamuko
|
||||||
|
gimp-fourier-plugin
|
||||||
|
gimp-gap
|
||||||
|
gimp-help
|
||||||
|
gimp-high-pass-filter
|
||||||
|
gimp-layer-via-copy-cut
|
||||||
|
gimp-lensfun
|
||||||
|
gimp-lqr-plugin
|
||||||
|
gimp-normalmap
|
||||||
|
gimp-paint-studio
|
||||||
|
gimp-resynthesizer
|
||||||
|
gimp-save-for-web
|
||||||
|
gimp-separate+
|
||||||
|
gimp-wavelet-denoise-plugin
|
||||||
|
gimpfx-foundry
|
||||||
|
gmic-gimp
|
||||||
|
inkscape-psd
|
||||||
|
inkscape-sozi
|
||||||
|
inkscape-table
|
||||||
|
sane-backends-drivers-scanners
|
||||||
|
xsane-gimp
|
||||||
|
#YafaRay-blender
|
||||||
|
|
||||||
# Add extra gnome applications
|
# Add extra gnome applications
|
||||||
gnome-books
|
gnome-books
|
||||||
gnome-calendar
|
gnome-calendar
|
||||||
gnome-photos
|
gnome-photos
|
||||||
gnome-shell-extension-pomodoro
|
|
||||||
gnome-todo
|
|
||||||
|
|
||||||
# Add cosmetic for gnome-terminal
|
|
||||||
powerline
|
|
||||||
powerline-fonts
|
|
||||||
|
|
||||||
|
|
||||||
# Extra wallpapers
|
# Extra wallpapers
|
||||||
f26-backgrounds-extras-base
|
f26-backgrounds-extras-base
|
||||||
f26-backgrounds-extras-gnome
|
f26-backgrounds-extras-gnome
|
||||||
|
|
||||||
|
|
||||||
# removal of unneeded applications
|
# removal of unneeded applications
|
||||||
-gnome-boxes
|
-gnome-boxes
|
||||||
-eog
|
-eog
|
||||||
@@ -47,7 +64,7 @@ f26-backgrounds-extras-gnome
|
|||||||
#Override the favorite desktop application in Dash
|
#Override the favorite desktop application in Dash
|
||||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||||
[org.gnome.shell]
|
[org.gnome.shell]
|
||||||
favorite-apps=['firefox.desktop', 'shotwell.desktop', 'gimp.desktop', 'darktable.desktop','krita.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
|
FOE
|
||||||
|
|
||||||
# Add link to lists of tutorials
|
# Add link to lists of tutorials
|
||||||
|
|||||||
@@ -189,6 +189,7 @@ games-menus
|
|||||||
|
|
||||||
# No compilations of games as I want to only include games that at least
|
# No compilations of games as I want to only include games that at least
|
||||||
# someone thought were good within a genre.
|
# someone thought were good within a genre.
|
||||||
|
-kdegames
|
||||||
|
|
||||||
# Nothing should be downloading data to play.
|
# Nothing should be downloading data to play.
|
||||||
-autodownloader
|
-autodownloader
|
||||||
|
|||||||
@@ -40,9 +40,6 @@ if [ -f /etc/PackageKit/CommandNotFound.conf ]; then
|
|||||||
sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
|
sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# no updater applet in live environment
|
|
||||||
rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
|
|
||||||
|
|
||||||
# make sure to set the right permissions and selinux contexts
|
# make sure to set the right permissions and selinux contexts
|
||||||
chown -R liveuser:liveuser /home/liveuser/
|
chown -R liveuser:liveuser /home/liveuser/
|
||||||
restorecon -R /home/liveuser/
|
restorecon -R /home/liveuser/
|
||||||
|
|||||||
@@ -113,7 +113,6 @@ valgrind-openmpi
|
|||||||
libgomp
|
libgomp
|
||||||
python-pp
|
python-pp
|
||||||
mpi4py-openmpi
|
mpi4py-openmpi
|
||||||
python3-mpi4py-openmpi
|
|
||||||
|
|
||||||
#Version control- a GUI for each as well
|
#Version control- a GUI for each as well
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ gnome-keyring-pam
|
|||||||
-gimp-help
|
-gimp-help
|
||||||
-desktop-backgrounds-basic
|
-desktop-backgrounds-basic
|
||||||
-realmd # only seems to be used in GNOME
|
-realmd # only seems to be used in GNOME
|
||||||
-PackageKit* # we switched to dnfdragora, so we don't need this
|
-PackageKit* # we switched to yumex, so we don't need this
|
||||||
-aspell-* # dictionaries are big
|
-aspell-* # dictionaries are big
|
||||||
-gnumeric
|
-gnumeric
|
||||||
-foomatic-db-ppds
|
-foomatic-db-ppds
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ metacity
|
|||||||
-acpid
|
-acpid
|
||||||
-gimp-help
|
-gimp-help
|
||||||
-desktop-backgrounds-basic
|
-desktop-backgrounds-basic
|
||||||
-PackageKit* # we switched to dnfdragora, so we don't need this
|
-PackageKit* # we switched to yumex, so we don't need this
|
||||||
-foomatic-db-ppds
|
-foomatic-db-ppds
|
||||||
-foomatic
|
-foomatic
|
||||||
-stix-fonts
|
-stix-fonts
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
%packages
|
%packages
|
||||||
-PackageKit* # we switched to dnfdragora, so we don't need this
|
-PackageKit* # we switched to yumex, so we don't need this
|
||||||
firefox
|
firefox
|
||||||
@mate
|
@mate
|
||||||
compiz
|
compiz
|
||||||
|
|||||||
@@ -1,27 +0,0 @@
|
|||||||
%include fedora-arm-base.ks
|
|
||||||
|
|
||||||
# server defaults to xfs for / so lets do so on arm also
|
|
||||||
part / --size=2500 --fstype xfs
|
|
||||||
|
|
||||||
%packages
|
|
||||||
# install the default groups for the server evironment since installing the environment is not working
|
|
||||||
@server-product
|
|
||||||
@standard
|
|
||||||
@headless-management
|
|
||||||
@container-management
|
|
||||||
@domain-client
|
|
||||||
-initial-setup-gui
|
|
||||||
-generic-release*
|
|
||||||
fedora-modular-release
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post
|
|
||||||
|
|
||||||
# setup systemd to boot to the right runlevel
|
|
||||||
echo -n "Setting default runlevel to multiuser text mode"
|
|
||||||
rm -f /etc/systemd/system/default.target
|
|
||||||
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
|
||||||
echo .
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
@@ -1,70 +0,0 @@
|
|||||||
# See fedora-modular-container-common.ks for details on how to hack on container image kickstarts
|
|
||||||
# This base is a stripped back Fedora image without python3/dnf.
|
|
||||||
# If you need that use the standard base image.
|
|
||||||
|
|
||||||
%include fedora-modular-container-common.ks
|
|
||||||
|
|
||||||
%packages --excludedocs --instLangs=en --nocore --excludeWeakdeps
|
|
||||||
microdnf
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post --erroronfail --log=/root/anaconda-post.log
|
|
||||||
# remove some random help txt files
|
|
||||||
rm -fv usr/share/gnupg/help*.txt
|
|
||||||
|
|
||||||
# Pruning random things
|
|
||||||
rm usr/lib/rpm/rpm.daily
|
|
||||||
rm -rfv usr/lib64/nss/unsupported-tools/ # unsupported
|
|
||||||
|
|
||||||
# Statically linked crap
|
|
||||||
rm -fv usr/sbin/{glibc_post_upgrade.x86_64,sln}
|
|
||||||
ln usr/bin/ln usr/sbin/sln
|
|
||||||
|
|
||||||
# Remove some dnf info
|
|
||||||
rm -rfv /var/lib/dnf
|
|
||||||
|
|
||||||
# don't need icons
|
|
||||||
rm -rfv /usr/share/icons/*
|
|
||||||
|
|
||||||
#some random not-that-useful binaries
|
|
||||||
rm -fv /usr/bin/pinky
|
|
||||||
|
|
||||||
# we lose presets by removing /usr/lib/systemd but we do not care
|
|
||||||
rm -rfv /usr/lib/systemd
|
|
||||||
|
|
||||||
# if you want to change the timezone, bind-mount it from the host or reinstall tzdata
|
|
||||||
rm -fv /etc/localtime
|
|
||||||
mv /usr/share/zoneinfo/UTC /etc/localtime
|
|
||||||
rm -rfv /usr/share/zoneinfo
|
|
||||||
|
|
||||||
# Final pruning
|
|
||||||
rm -rfv /var/cache/* /var/log/* /tmp/*
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post --nochroot --erroronfail --log=/mnt/sysimage/root/anaconda-post-nochroot.log
|
|
||||||
set -eux
|
|
||||||
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1343138
|
|
||||||
# Fix /run/lock breakage since it's not tmpfs in container
|
|
||||||
# This unmounts /run (tmpfs) and then recreates the files
|
|
||||||
# in the /run directory on the root filesystem of the container
|
|
||||||
# NOTE: run this in nochroot because "umount" does not exist in chroot
|
|
||||||
umount /mnt/sysimage/run
|
|
||||||
# The file that specifies the /run/lock tmpfile is
|
|
||||||
# /usr/lib/tmpfiles.d/legacy.conf, which is part of the systemd
|
|
||||||
# rpm that isn't included in this image. We'll create the /run/lock
|
|
||||||
# file here manually with the settings from legacy.conf
|
|
||||||
# NOTE: chroot to run "install" because it is not in anaconda env
|
|
||||||
chroot /mnt/sysimage install -d /run/lock -m 0755 -o root -g root
|
|
||||||
|
|
||||||
|
|
||||||
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1051816
|
|
||||||
# NOTE: run this in nochroot because "find" does not exist in chroot
|
|
||||||
KEEPLANG=en_US
|
|
||||||
for dir in locale i18n; do
|
|
||||||
find /mnt/sysimage/usr/share/${dir} -mindepth 1 -maxdepth 1 -type d -not \( -name "${KEEPLANG}" -o -name POSIX \) -exec rm -rfv {} +
|
|
||||||
done
|
|
||||||
|
|
||||||
%end
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
# See fedora-modular-container-common.ks for details on how to hack on container image kickstarts
|
|
||||||
# This base is a standard Fedora image with python3 and dnf
|
|
||||||
|
|
||||||
%include fedora-modular-container-common.ks
|
|
||||||
|
|
||||||
%packages --excludedocs --instLangs=en --nocore
|
|
||||||
rootfiles
|
|
||||||
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
|
|
||||||
vim-minimal
|
|
||||||
dnf
|
|
||||||
dnf-yum # https://pagure.io/fesco/ticket/1312#comment:29
|
|
||||||
sssd-client
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post --erroronfail --log=/root/anaconda-post.log
|
|
||||||
# remove some extraneous files
|
|
||||||
rm -rf /var/cache/dnf/*
|
|
||||||
rm -rf /tmp/*
|
|
||||||
|
|
||||||
#Mask mount units and getty service so that we don't get login prompt
|
|
||||||
systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service
|
|
||||||
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1343138
|
|
||||||
# Fix /run/lock breakage since it's not tmpfs in container
|
|
||||||
# This unmounts /run (tmpfs) and then recreates the files
|
|
||||||
# in the /run directory on the root filesystem of the container
|
|
||||||
#
|
|
||||||
# We ignore the return code of the systemd-tmpfiles command because
|
|
||||||
# at this point we have already removed the /etc/machine-id and all
|
|
||||||
# tmpfiles lines with %m in them will fail and cause a bad return
|
|
||||||
# code. Example failure:
|
|
||||||
# [/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m
|
|
||||||
#
|
|
||||||
umount /run
|
|
||||||
systemd-tmpfiles --prefix=/run/ --prefix=/var/run/ --create --boot || true
|
|
||||||
|
|
||||||
%end
|
|
||||||
@@ -1,75 +0,0 @@
|
|||||||
# This is the common bits between Container base images based on Modular Fedora.
|
|
||||||
#
|
|
||||||
# To keep this image minimal it only installs English language. You need to change
|
|
||||||
# dnf configuration in order to enable other languages.
|
|
||||||
#
|
|
||||||
# ## Hacking on this image ###
|
|
||||||
# This kickstart is processed using Anaconda-in-ImageFactory (via Koji typically),
|
|
||||||
# but you can run imagefactory locally too.
|
|
||||||
#
|
|
||||||
# To do so, testing local changes, first you'll need a TDL file. I store one here:
|
|
||||||
# https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
|
|
||||||
#
|
|
||||||
# Then, once you have imagefactory and imagefactory-plugins installed, run:
|
|
||||||
#
|
|
||||||
# ksflatten -c fedora-modular-base[-minimal].ks -o fedora-modular-base-test.ks
|
|
||||||
# imagefactory --debug target_image --template /path/to/fedora-atomic-rawhide.tdl --parameter offline_icicle true --file-parameter install_script $(pwd)/fedora-modular-base-test.ks modular
|
|
||||||
#
|
|
||||||
|
|
||||||
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
|
|
||||||
bootloader --disabled
|
|
||||||
timezone --isUtc --nontp Etc/UTC
|
|
||||||
rootpw --lock --iscrypted locked
|
|
||||||
keyboard us
|
|
||||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
|
||||||
reboot
|
|
||||||
|
|
||||||
# boot partitions are irrelevant as the final container image is a tarball
|
|
||||||
zerombr
|
|
||||||
clearpart --all
|
|
||||||
autopart --noboot --nohome --noswap --nolvm
|
|
||||||
|
|
||||||
%packages --excludedocs --instLangs=en --nocore
|
|
||||||
fedora-modular-release
|
|
||||||
bash
|
|
||||||
coreutils-single
|
|
||||||
glibc-minimal-langpack
|
|
||||||
libcrypt
|
|
||||||
rpm
|
|
||||||
shadow-utils
|
|
||||||
sssd-client
|
|
||||||
util-linux
|
|
||||||
-kernel
|
|
||||||
-dosfstools
|
|
||||||
-e2fsprogs
|
|
||||||
-fuse-libs
|
|
||||||
-gnupg2-smime
|
|
||||||
-libss # used by e2fsprogs
|
|
||||||
-libusbx
|
|
||||||
-pinentry
|
|
||||||
-shared-mime-info
|
|
||||||
-trousers
|
|
||||||
-xkeyboard-config
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post --erroronfail --log=/root/anaconda-post.log
|
|
||||||
set -eux
|
|
||||||
|
|
||||||
# Set install langs macro so that new rpms that get installed will
|
|
||||||
# only install langs that we limit it to.
|
|
||||||
LANG="en_US"
|
|
||||||
echo "%_install_langs $LANG" > /etc/rpm/macros.image-language-conf
|
|
||||||
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1400682
|
|
||||||
echo "Import RPM GPG key"
|
|
||||||
releasever=$(rpm -q --qf '%{version}\n' fedora-modular-release)
|
|
||||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
|
|
||||||
|
|
||||||
echo "# fstab intentionally empty for containers" > /etc/fstab
|
|
||||||
|
|
||||||
# Remove machine-id on pre generated images
|
|
||||||
rm -f /etc/machine-id
|
|
||||||
touch /etc/machine-id
|
|
||||||
|
|
||||||
%end
|
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
text
|
|
||||||
lang en_US.UTF-8
|
|
||||||
keyboard us
|
|
||||||
timezone US/Eastern
|
|
||||||
auth --useshadow --passalgo=sha512
|
|
||||||
selinux --enforcing
|
|
||||||
# Disabled for modular compose (for now)
|
|
||||||
#firewall --enabled --service=mdns
|
|
||||||
# Disabled for modular compose (for now)
|
|
||||||
#services --enabled=sshd,NetworkManager,chronyd,initial-setup
|
|
||||||
network --bootproto=dhcp --device=link --activate
|
|
||||||
rootpw --lock --iscrypted locked
|
|
||||||
shutdown
|
|
||||||
|
|
||||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
|
|
||||||
|
|
||||||
zerombr
|
|
||||||
clearpart --all --initlabel --disklabel=msdos
|
|
||||||
autopart --type=plain
|
|
||||||
|
|
||||||
# make sure that initial-setup runs and lets us do all the configuration bits
|
|
||||||
firstboot --reconfig
|
|
||||||
|
|
||||||
%include fedora-repo.ks
|
|
||||||
|
|
||||||
%packages --excludedocs --excludeWeakdeps --nocore
|
|
||||||
bash
|
|
||||||
fedora-modular-release
|
|
||||||
filesystem
|
|
||||||
coreutils-single
|
|
||||||
util-linux
|
|
||||||
rpm
|
|
||||||
shadow-utils
|
|
||||||
microdnf
|
|
||||||
glibc-minimal-langpack
|
|
||||||
grubby
|
|
||||||
kernel
|
|
||||||
libcrypt
|
|
||||||
sssd-client
|
|
||||||
dhcp-client
|
|
||||||
-fedora-logos
|
|
||||||
-coreutils
|
|
||||||
-dosfstools
|
|
||||||
-e2fsprogs
|
|
||||||
-fuse-libs
|
|
||||||
-gnupg2-smime
|
|
||||||
-libss # used by e2fsprogs
|
|
||||||
-libusbx
|
|
||||||
-pinentry
|
|
||||||
-shared-mime-info
|
|
||||||
-trousers
|
|
||||||
-xkeyboard-config
|
|
||||||
-dracut
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post
|
|
||||||
|
|
||||||
# Setup Raspberry Pi firmware
|
|
||||||
#cp -Pr /usr/share/bcm283x-firmware/* /boot/efi/
|
|
||||||
mv -f /boot/efi/config-64.txt /boot/efi/config.txt
|
|
||||||
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
|
||||||
|
|
||||||
releasever=$(rpm -q --qf '%{version}\n' fedora-modular-release)
|
|
||||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
|
|
||||||
echo "Packages within this disk image"
|
|
||||||
rpm -qa
|
|
||||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
|
||||||
rm -f /var/lib/rpm/__db*
|
|
||||||
|
|
||||||
# remove random seed, the newly installed instance should make it's own
|
|
||||||
rm -f /var/lib/systemd/random-seed
|
|
||||||
|
|
||||||
# Disable network service here, as doing it in the services line
|
|
||||||
# fails due to RHBZ #1369794
|
|
||||||
/sbin/chkconfig network off
|
|
||||||
|
|
||||||
# Remove machine-id on pre generated images
|
|
||||||
rm -f /etc/machine-id
|
|
||||||
touch /etc/machine-id
|
|
||||||
|
|
||||||
%end
|
|
||||||
@@ -56,7 +56,6 @@ python3-pillow-tk
|
|||||||
|
|
||||||
# Dictionaries are big
|
# Dictionaries are big
|
||||||
-aspell-*
|
-aspell-*
|
||||||
-hunspell-*
|
|
||||||
-words
|
-words
|
||||||
|
|
||||||
# Help and art can be big, too
|
# Help and art can be big, too
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ firewall --enabled --service=mdns,presence
|
|||||||
-ibus*
|
-ibus*
|
||||||
-hyperv-daemons
|
-hyperv-daemons
|
||||||
-webkitgtk4-plugin-process-gtk2
|
-webkitgtk4-plugin-process-gtk2
|
||||||
|
webkitgtk3
|
||||||
|
|
||||||
# Add some extra fonts
|
# Add some extra fonts
|
||||||
dejavu-sans-fonts
|
dejavu-sans-fonts
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ system-config-printer
|
|||||||
-acpid
|
-acpid
|
||||||
-gimp-help
|
-gimp-help
|
||||||
-desktop-backgrounds-basic
|
-desktop-backgrounds-basic
|
||||||
-PackageKit* # we switched to dnfdragora, so we don't need this
|
-PackageKit* # we switched to yumex, so we don't need this
|
||||||
-aspell-* # dictionaries are big
|
-aspell-* # dictionaries are big
|
||||||
-xfce4-sensors-plugin
|
-xfce4-sensors-plugin
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user