Re: how to explicitly disable rawhide while building a spin/remix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Sorry for top-posting, but Yahoo! does not like inline replies, mixing up the response with the text being responded to.]

My apologies. I am running on Fedora 32. My kickstart file is as follows:



# fedora-live-shunya.ks
#
# Description:
# - Fedora Live Spin with the light-weight Shunya Zero Desktop Environment
#

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=MyBaseRepo --baseurl=file:///home/aarem/rpmbuild/RPMS/$basearch


%include /usr/share/spin-kickstarts/fedora-live-base.ks
%include /usr/share/spin-kickstarts/fedora-live-minimization.ks
%include /home/aarem/remix/fedora-shunya-common.ks


# added by aarem: enable slim
%post
systemctl enable slim

# added by aarem
# This is a huge file and things work ok without it #taken from fedora-livecd-xfce
rm -f /usr/share/icons/HighContrast/icon-theme.cache


# create /etc/sysconfig/desktop (needed for installation)
cat > /etc/sysconfig/desktop <<EOF
PREFERRED=/usr/bin/openbox-session
DISPLAYMANAGER=/usr/sbin/slim-dynwm
EOF

#added/edited by aarem
cat >> /etc/rc.d/init.d/livesys << EOF
# disable screensaver locking and make sure gamin gets started
cat >> /etc/xdg/openbox/autostart << FOE
/usr/libexec/gam_server
/usr/bin/thaali &
/usr/bin/pnmixer &
/usr/libexec/notification-daemon &
@nm-applet
#(sleep 5; /usr/bin/wbar -c /etc/wbar.d/wbar.cfg &)&
wbar&
conky&
FOE


# set up preferred apps
cat > /etc/xdg/libfm/pref-apps.conf << FOE
[Preferred Applications]
WebBrowser=firefox.desktop
MailClient=sylpheed.desktop
FOE

## set up auto-login for liveuser
#sed -i 's/# autologin=.*/autologin=liveuser/g' /etc/lxdm/lxdm.conf


sed '
/#default_user/a\
default_user  liveuser
' /etc/slim.conf
sed '
/#auto_login/a\
autologin  yes
' /etc/slim.conf


sed '
/sessions/ c\
sessions      openbox
' /etc/slim.conf

sed '
/exec/ c\
exec   openbox-session
' /etc/X11/xinit/xinitrc


# Show harddisk install on the desktop
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
mkdir /home/liveuser/Desktop
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop


# this goes at the end after all other changes.
chown -R liveuser:liveuser /home/liveuser
restorecon -R /home/liveuser

EOF

%end

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

And here is:


# fedora-shunya-common.ks
#
# Description:
# - Fedora Live Spin with the Shunya Zero Desktop Environment
#

%packages
slim
openbox
obconf
#obmenu
udisks2
spacefm
thaali
battray
wbar
aNu
leafpad
dillo
gpicview

fetchmail
procmail
xorg-x11-fonts-misc
@networkmanager-submodules
gnome-keyring

emacspeak
xdvi
R-devel
#lapack-devel
#fftw-devel
#octave-devel
libRmath-devel
#valgrind
#texlive-pdfjam
#okular

### internet
firefox
pidgin
sylpheed
sylfilter
### office
#libreoffice
abiword
gnumeric
osmo
conky
network-manager-applet
###xplanet
### graphics
zathura
zathura-ps
zathura-pdf-poppler
zathura-djvu
mtpaint
pdf-stapler

### audio & video
alsa-plugins-pulseaudio
#asunder
#gxine
#gxine-mozplugin
pavucontrol
#pnmixer
bitmap-fixed-fonts
ucs-miscfixed-fonts
blueman
#clipit
sylfilter
redshift

## font packages for blueman
-gtk2-engines
-gtk-nodoka-engine
-gtk-solidity-engine
-libwvstreams
-nano
lockdev
-wvdial


# pam-fprint causes a segfault in LXDM when enabled
-fprintd-pam


# LXDE has lxpolkit. Make sure no other authentication agents end up in the spin.
-polkit-gnome
-polkit-kde

# make sure xfce4-notifyd is not pulled in
dunst
#notification-daemon
-xfce4-notifyd
-audit
-abrt-cli
-abrt
libreport

# make sure xfwm4 is not pulled in for firstboot
# https://bugzilla.redhat.com/show_bug.cgi?id=643416
# metacity


# dictionaries are big
-man-pages-*
-words

# use ssmtp instead of sendmail
-sendmail
# ssmtp

# save some space
autofs
-acpid
-gimp-help
-f30-backgrounds-base
-f30-backgrounds-gnome
desktop-backgrounds-basic  # slim brings this in, so this will not be removed
realmd                     # only seems to be used in GNOME
-PackageKit*                # we switched to yumex, so we don't need this
-foomatic-db-ppds
-foomatic
-stix-fonts
-ibus-typing-booster
-xscreensaver
-wqy-zenhei-fonts
#-tigervnc*
#tigervnc-server-minimal

# drop some system-config things
# -system-config-boot
#-system-config-language
-system-config-network
-system-config-rootpassword
#-system-config-services
-policycoreutils-gui
-gnome-disk-utility

# Dial-up and Networking:
-@dial-up

# Guest Desktop Agents
-@guest-desktop-agents

# Printing
#-@printing

# we need UPower for suspend and hibernate
upower

%end







On Sunday, May 17, 2020, 1:49:10 PM CDT, Samuel Sieb <samuel@xxxxxxxx> wrote:


On 5/17/20 8:39 AM, Globe Trotter via devel wrote:

> I am trying to build a spin/remix but I keep running into the problem
> that rawhide is being pulled in. Nowhere do I include it. I simply use,
> in  my ks file:
>
> 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
>
> %include /usr/share/spin-kickstarts/fedora-live-base.ks
> %include /usr/share/spin-kickstarts/fedora-live-minimization.ks
>
> Nothing else. So what causes rawhide to be pulled in? More importantly,
> how do I disable it explicitly with effect?


What version are you running this on?  If you don't specify a release,
it will use the one from the current environment.  Can you provide the
command you're using to run this and possibly the rest of the kickstart?




_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux