summaryrefslogtreecommitdiffstats
path: root/build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-09-19 02:12:09 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-09-19 02:12:09 (GMT)
commit2e5bbabf1f5e0f341be196f2f5575d91859bd2d0 (patch)
treea34146680fb449c61fa50fe1b1dcc3bbd598f204 /build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy
parent43a158579d6c32f069fbc287a55227552276f808 (diff)
downloadlinhes_dev-2e5bbabf1f5e0f341be196f2f5575d91859bd2d0.zip
larch7: cleanup up profiles.
l7 is not working yet, but still working on it. Signed-off-by: James Meyer <james.meyer@operamail.com>
Diffstat (limited to 'build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy')
-rw-r--r--build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy/actions.rc3
-rw-r--r--build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy/autologin1
-rw-r--r--build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy/bash_profile1
-rw-r--r--build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy/delarch63
4 files changed, 0 insertions, 68 deletions
diff --git a/build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy/actions.rc b/build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy/actions.rc
deleted file mode 100644
index dd95b26..0000000
--- a/build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy/actions.rc
+++ /dev/null
@@ -1,3 +0,0 @@
-type=0
-orientation=1
-
diff --git a/build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy/autologin b/build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy/autologin
deleted file mode 100644
index 93ca142..0000000
--- a/build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy/autologin
+++ /dev/null
@@ -1 +0,0 @@
-root \ No newline at end of file
diff --git a/build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy/bash_profile b/build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy/bash_profile
deleted file mode 100644
index c49349b..0000000
--- a/build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy/bash_profile
+++ /dev/null
@@ -1 +0,0 @@
-. $HOME/.bashrc
diff --git a/build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy/delarch b/build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy/delarch
deleted file mode 100644
index 108c1a4..0000000
--- a/build_tools/l7/larch0/profiles/xmini/cd-root/larch/copy/delarch
+++ /dev/null
@@ -1,63 +0,0 @@
-# This is a script called from the installation script fix-system2.
-# Its purpose is to remove custom live-only stuff from a just-installed
-# system.
-
-# $1 is the path to the installed system root directory.
-
-INSTALL=$1
-if [ -z "${INSTALL}" ] || [ ! -f /etc/rc.conf ]; then
- echo "ERROR: delarch installation adjustments failed:"
- echo " Please check installation mount point (${INSTALL})"
- exit 1
-fi
-
-rm -f "${INSTALL}/root/Desktop/Install Arch Linux.desktop"
-rm -f "${INSTALL}/etc/rc.d/functions.d/larch-autologin"
-
-if [ -f ${INSTALL}/etc/rc.local.orig ]; then
- mv ${INSTALL}/etc/rc.local.orig ${INSTALL}/etc/rc.local
-fi
-if [ -f ${INSTALL}/etc/rc.local.shutdown.orig ]; then
- mv ${INSTALL}/etc/rc.local.shutdown.orig ${INSTALL}/etc/rc.local.shutdown
-fi
-
-# start gdm from rc.conf
-sed -i '/^DAEMONS=/ s|!gdm|@gdm|' ${INSTALL}/etc/rc.conf
-
-#***************************************************#
-# Replace uses of larchquit in xfce panels and menu.#
-#***************************************************#
-### Unfortunately this isn't very simple. If anyone has a better way of
-### providing different Quit actions in the live version and the version
-### installed to disk from it, please let me know!
-### Maybe it would be better just to provide a special live quit desktop
-### icon which can be removed on installation, like the installation icon.
-
-defaultquit='<builtin name="Quit" cmd="Quit" icon="gnome-logout"/>'
-
-replacequit ()
-{
- for f in ${INSTALL}$1/.config/xfce4/panel/*; do
- if grep "^Exec=larchquit" ${f}; then
- n=$( echo ${f} | sed "s|^.*-\([0-9]\+\).*|\1|" )
- cp /.livesys/actions.rc \
- ${INSTALL}$1/.config/xfce4/panel/actions-${n}.rc
- rm ${f}
-
- sed -i "s|=\"launcher\" id=\"${n}\"|=\"actions\" id=\"${n}\"|" \
- ${INSTALL}$1/.config/xfce4/panel/panels.xml
- fi
- done
-
- if [ -f ${INSTALL}$1/.bash_profile ]; then
- rm -f ${INSTALL}$1/.local/share/applications/xfce4-logout.desktop
-
- cp /.livesys/bash_profile ${INSTALL}$1/.bash_profile
- fi
-}
-
-for hd in $( cat ${INSTALL}/etc/passwd | cut -d':' -f6 | grep '^/home/' ) \
- /root /etc/skel; do
- replacequit ${hd} &>/dev/null
-done
-#***************************************************#