summaryrefslogtreecommitdiffstats
path: root/build_tools/larch8/larch0/profiles/oldprofiles/xmini/cd-root
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-12-02 22:37:23 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-12-02 22:37:34 (GMT)
commit8b94d7f39c71234712bead363526a0283efeb9fa (patch)
tree23f1dbd6458dc39a2c1b08bcdd4cbf768a60d84d /build_tools/larch8/larch0/profiles/oldprofiles/xmini/cd-root
parent338af567e74d08cbd357079941208e494463d61e (diff)
downloadlinhes_dev-8b94d7f39c71234712bead363526a0283efeb9fa.zip
larch8: first checkin, still needs some work
Diffstat (limited to 'build_tools/larch8/larch0/profiles/oldprofiles/xmini/cd-root')
-rw-r--r--build_tools/larch8/larch0/profiles/oldprofiles/xmini/cd-root/boot/bootlines19
-rw-r--r--build_tools/larch8/larch0/profiles/oldprofiles/xmini/cd-root/larch/delarch24
2 files changed, 43 insertions, 0 deletions
diff --git a/build_tools/larch8/larch0/profiles/oldprofiles/xmini/cd-root/boot/bootlines b/build_tools/larch8/larch0/profiles/oldprofiles/xmini/cd-root/boot/bootlines
new file mode 100644
index 0000000..07bd7f2
--- /dev/null
+++ b/build_tools/larch8/larch0/profiles/oldprofiles/xmini/cd-root/boot/bootlines
@@ -0,0 +1,19 @@
+# The information here will be adapted for the bootloader and inserted into its configuration
+# file at the place marked '###LARCH'
+# This header will be removed.
+# Each block must have an empty line before and after it.
+# There may be no empty lines within a block.
+
+comment:
+title: larch boot to xfce desktop
+options:
+
+comment:
+title: larch boot to xfce desktop, with vesa xorg driver
+options: nomodeset xvesa
+
+comment: Might be useful if there is some trouble with starting xorg
+title: larch boot to console
+options: nox
+
+# END OF FILE
diff --git a/build_tools/larch8/larch0/profiles/oldprofiles/xmini/cd-root/larch/delarch b/build_tools/larch8/larch0/profiles/oldprofiles/xmini/cd-root/larch/delarch
new file mode 100644
index 0000000..71babb8
--- /dev/null
+++ b/build_tools/larch8/larch0/profiles/oldprofiles/xmini/cd-root/larch/delarch
@@ -0,0 +1,24 @@
+# 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}/root/Desktop/Larch Documentation.desktop"
+
+sed "s|^autologin|#autologin|" -i "${INSTALL}/etc.schlim.conf"
+
+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