Skip to content

Commit

Permalink
mkiso,pkgr - added kde livecd
Browse files Browse the repository at this point in the history
  • Loading branch information
nemasu committed Aug 8, 2016
1 parent 9c8a2d7 commit 0b587be
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mkiso
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
#Prereqs
pkgr -i dosfstools cpio squashfs-tools xorriso mtools &> /dev/null

#Current options: core, mate, xfce4, enlightenment
#Current options: core, mate, xfce4, enlightenment, kde
export NOOP_ISO_CREATE=$1

#Yes this is bad, but ISO creation is done in a VM anyways.
Expand Down
17 changes: 15 additions & 2 deletions pkgr
Original file line number Diff line number Diff line change
Expand Up @@ -2337,7 +2337,17 @@ if [ $1 = "-init" ]; then

if [ "core" != "$NOOP_ISO_CREATE" ];
then
for i in xorg-meta ${NOOP_ISO_CREATE}-meta gvfs chromium chromium-plugins firefox thunderbird inkscape pidgin libreoffice alsa-utils alsa-plugins pulseaudio vlc gparted ntfs_3g samba cifs-utils nfs-utils tigervnc x11vnc filezilla gimp otf-ipafont ttf-sazanami ttf-noto virtualbox-guest-additions virtualbox-modules gnome-keyring network-manager-applet lxdm;
pkgr -i xorg-meta

if [ "$NOOP_ISO_CREATE" == "kde" ]; then
for i in kde-framework-meta kde-plasma-meta kde-applications-meta; do
pkgr -i $i
done
else
pkgr -i ${NOOP_ISO_CREATE}-meta
fi

for i in gvfs chromium chromium-plugins firefox thunderbird inkscape pidgin libreoffice alsa-utils alsa-plugins pulseaudio vlc gparted ntfs_3g samba cifs-utils nfs-utils tigervnc x11vnc filezilla gimp otf-ipafont ttf-sazanami ttf-noto virtualbox-guest-additions virtualbox-modules gnome-keyring network-manager-applet lxdm;
do
pkgr -i $i;
done
Expand All @@ -2358,7 +2368,10 @@ if [ $1 = "-init" ]; then
then
sed -i -e 's/# autologin=dgod/autologin=livecd/g; s/# session=\/usr\/bin\/startlxde/session=\/usr\/bin\/enlightenment_start/g' /etc/lxdm/lxdm.conf
fi

if [ "$NOOP_ISO_CREATE" == "kde" ];
then
sed -i -e 's/# autologin=dgod/autologin=livecd/g; s/# session=\/usr\/bin\/startkde/session=\/usr\/bin\/enlightenment_start/g' /etc/lxdm/lxdm.conf
fi

systemctl enable lxdm.service

Expand Down

0 comments on commit 0b587be

Please sign in to comment.