From a79d327e34014de39f8eec9aafcd53b754b264b5 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Wed, 12 Nov 2008 20:21:15 -0600 Subject: update quickstart portion of README to include kmsync --- README | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README b/README index 5918e84..939efe8 100644 --- a/README +++ b/README @@ -113,14 +113,16 @@ git clone ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD cd LinHES-dev/ ./setup_env.sh i686 cd .. - ./enter_dev_chroot.i686.sh + ./enter_dev_chroot.i686.sh Build and iso from knoppmyth.net cdb <= alias ./go.sh - (select i686-testing-REMOTE) + (select i686-testing-REMOTE) commands used to build a package (tar in this example), and update knoppmyth.net +Before building ANY packages you __MUST__ run "kmsync.sh testing" at least once while the local package directories are still empty.. +Doing this step now will avoid sync headaches down the road. cdl <= alias that takes you the the top level PKGBUILD directory cd core-testing @@ -128,7 +130,7 @@ cd tar vi PKGBUILD <= bump the pkgrel line by 1 mp # at this point you should test the package, either by building -# a new iso or installing the package) +# a new iso or installing the package) kmsync.sh testing <= this will pull down all changes from knoppmyth.net and upload the new tar package -- cgit v0.12 From ae97132b16daa7a13acff3268809bd177ed52b8e Mon Sep 17 00:00:00 2001 From: James Meyer Date: Wed, 12 Nov 2008 20:26:14 -0600 Subject: Add a little extra info about the initial checkout. Also remove my user from the directions. --- README | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README b/README index 939efe8..6f29290 100644 --- a/README +++ b/README @@ -107,9 +107,16 @@ Quick start showing typical process ############ Create the chroot for i686 +First checkout the repo +- Restricted dev accounts should use + git clone $user@knoppmyth.net:LinHES-PKGBUILD + git clone $user@knoppmyth.net:LinHES-dev + +- Unresticted dev account should use + git clone ssh://$user@knoppmyth.net/mount/repository/LinHES-dev + git clone ssh://$user@knoppmyth.net/mount/repository/LinHES-PKGBUILD + -git clone ssh://jams@knoppmyth.net/mount/repository/LinHES-dev -git clone ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD cd LinHES-dev/ ./setup_env.sh i686 cd .. -- cgit v0.12 From 9d16357bc2f365efa96cbe0186a4e8f04686d728 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 15 Nov 2008 21:50:12 -0600 Subject: add telnet to list of installed --- build_tools/clarch/larch/profiles/i686-testing-REMOTE/addedpacks | 1 + build_tools/clarch/larch/profiles/i686-testing-local-httpd/addedpacks | 1 + build_tools/clarch/larch/profiles/i686-testing-local/addedpacks | 1 + 3 files changed, 3 insertions(+) diff --git a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/addedpacks b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/addedpacks index 72b0c2d..ed7f324 100644 --- a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/addedpacks +++ b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/addedpacks @@ -179,3 +179,4 @@ media_dirs tweaker ethtool nfs-utils +netkit-telnet diff --git a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/addedpacks b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/addedpacks index 72b0c2d..ed7f324 100644 --- a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/addedpacks +++ b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/addedpacks @@ -179,3 +179,4 @@ media_dirs tweaker ethtool nfs-utils +netkit-telnet diff --git a/build_tools/clarch/larch/profiles/i686-testing-local/addedpacks b/build_tools/clarch/larch/profiles/i686-testing-local/addedpacks index 72b0c2d..ed7f324 100644 --- a/build_tools/clarch/larch/profiles/i686-testing-local/addedpacks +++ b/build_tools/clarch/larch/profiles/i686-testing-local/addedpacks @@ -179,3 +179,4 @@ media_dirs tweaker ethtool nfs-utils +netkit-telnet -- cgit v0.12 From 2b1ef4ece4d24c22730ce0dc864fe3ac68156569 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 15 Nov 2008 21:51:01 -0600 Subject: modify mp so that it builds src packages. src packages will end up in /data/pkg/src_packages --- build_tools/bin/mp | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/build_tools/bin/mp b/build_tools/bin/mp index 76c08ea..49dfb1b 100755 --- a/build_tools/bin/mp +++ b/build_tools/bin/mp @@ -6,9 +6,10 @@ . /etc/makepkg.conf . PKGBUILD PKGHOME=/data/pkg_repo/packages +SRCPKGHOME=/data/pkg_repo/src_packages mydir=`pwd` TOTALPKG="$pkgname"-"$pkgver"-"$pkgrel"-"$CARCH".pkg.tar.gz - +SRCPKG="$pkgname"-"$pkgver"-"$pkgrel".src.tar.gz if [ x`basename $0` = xmpr ] then @@ -20,6 +21,7 @@ fi + function find_repo { echo $mydir|grep -q "extra" if [ $? = 0 ] @@ -67,6 +69,18 @@ function update-repo { } +function update-src-pkg { + DELPKG="$pkgname"-"$pkgver"-*.src.tar.gz + echo "Removing old src pkg" + if [ ! -d $PKGHOME/$REPO/$SRCPKG ] + then + echo "Creating src_pkg directory" + mkdir -p $SRCPKGHOME/$REPO + fi + rm -vf $SRCPKGHOME/$REPO/$DELPKG + echo "copying src_pkg to $SRCPKGHOME/$REPO" + cp -f $PKGHOME/$SRCPKG $SRCPKGHOME/$REPO +} @@ -76,4 +90,9 @@ find_repo makepkg --holdver --asroot $@ || exit 1 echo "---------updating database ----------" update-repo #&& pacman -Sy +echo "----------creating source package---------" +makepkg -f --holdver --asroot --source && update-src-pkg + + + -- cgit v0.12 From fde3965309dff69f63d057c575a5b25d606dcdf9 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 15 Nov 2008 22:04:57 -0600 Subject: add option to create local private repos running mpl works exactly like mp, except it forces the repo to "local" --- build_tools/bin/mp | 10 +++++++++- build_tools/bin/mpl | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) create mode 120000 build_tools/bin/mpl diff --git a/build_tools/bin/mp b/build_tools/bin/mp index 49dfb1b..102454e 100755 --- a/build_tools/bin/mp +++ b/build_tools/bin/mp @@ -42,7 +42,15 @@ function find_repo { REPO=mv-core fi + if [ x`basename $0` = xmpl ] + then + REPO="local" + fi DOCROOT=/data/pkg_repo/$CARCH/$REPO + if [ ! -e $DOCROOT ] + then + mkdir -p $DOCROOT + fi } @@ -83,7 +91,7 @@ function update-src-pkg { } - +#MAIN PROGRAM find_repo diff --git a/build_tools/bin/mpl b/build_tools/bin/mpl new file mode 120000 index 0000000..691afc3 --- /dev/null +++ b/build_tools/bin/mpl @@ -0,0 +1 @@ +mp \ No newline at end of file -- cgit v0.12 From 1cf40ec3af8d03a31523c3d57690230772eb7e0c Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sun, 16 Nov 2008 14:49:40 -0600 Subject: modify kmsync to include sync of source packages. --- README | 30 +++++++++++++++--------- build_tools/bin/kmsync.sh | 58 +++++++++++++++++++++++++++++++++++++++++++++-- setup_env.sh | 2 ++ 3 files changed, 77 insertions(+), 13 deletions(-) diff --git a/README b/README index 6f29290..e1f52d1 100644 --- a/README +++ b/README @@ -63,9 +63,12 @@ a) mp be called from the same directory that contains the PKGBUILD. This script takes all the same arguments that makepkg takes. -b) mpr - Symlink to mp that does the same thing as mp except it copies the - package to the release repo +b) mpr | mpl + mpr) Symlink to mp that does the same thing as mp except it copies the + package to the release repo + + mpr) Symlink to mp that does the same thing as mp except it copies the + package to a local repo c) update_db_repo Used to completely regenerate the the local package database. @@ -73,19 +76,24 @@ c) update_db_repo the repository. Example: update_db_repo /data/pkg_repo/i686/core-testing core-testing -d) kmsync.sh (testing|release|chroot-devel +d) kmsync.sh (testing|release|chroot-devel|source[testing|release|chroot-devel] This script is used to synchronize the contents of the compiled packages on knoppmyth.net and the ones on your local machine. - The script takes 1 argument telling it which repository with which + The script takes 1 or 2 arguments telling it which repository with which to sync up. The first time it's run with any given option the local directory (/data/pkg_repo/i686/core|extra|chroot-devel) MUST MUST MUST be empty. Please use this script with care, any changes that are made in the local mirror will be copied to the knoppmyth server. This includes the possibility to completely erase all the packages. + Normally the source packages are synced when the binary packages are synced. The + source option is present to force an update, and isn't not normally required to be run. + Finally this script uses a shared user account on knoppmyth.net that is a locked account. SSH keys must be setup for this script to work. + + e) build_tools/go.sh Menu driven fronted to create an ISO with selected profile The following profiles are available to create an iso. @@ -103,7 +111,7 @@ e) build_tools/go.sh location of the resulting ISO. For any of the local profiles to work, it requires that kmsync be run at least once to populate the local mirror. -Quick start showing typical process +Quick start showing typical process to create the chroot and build an ISO. ############ Create the chroot for i686 @@ -116,7 +124,6 @@ First checkout the repo git clone ssh://$user@knoppmyth.net/mount/repository/LinHES-dev git clone ssh://$user@knoppmyth.net/mount/repository/LinHES-PKGBUILD - cd LinHES-dev/ ./setup_env.sh i686 cd .. @@ -127,8 +134,9 @@ cdb <= alias ./go.sh (select i686-testing-REMOTE) -commands used to build a package (tar in this example), and update knoppmyth.net -Before building ANY packages you __MUST__ run "kmsync.sh testing" at least once while the local package directories are still empty.. +#--------- +Commands used to build a package (tar in this example), and update knoppmyth.net +Before building ANY packages you __MUST__ run "kmsync.sh testing" at least once while the local package directories are still empty. Doing this step now will avoid sync headaches down the road. cdl <= alias that takes you the the top level PKGBUILD directory @@ -138,8 +146,8 @@ vi PKGBUILD <= bump the pkgrel line by 1 mp # at this point you should test the package, either by building # a new iso or installing the package) -kmsync.sh testing <= this will pull down all changes from knoppmyth.net - and upload the new tar package +kmsync.sh testing <= this will pull down all new packages from knoppmyth.net + and upload the new tar package. This will also sync up the src packages. ----------------------- Misc. diff --git a/build_tools/bin/kmsync.sh b/build_tools/bin/kmsync.sh index 4308786..c15bef4 100755 --- a/build_tools/bin/kmsync.sh +++ b/build_tools/bin/kmsync.sh @@ -27,6 +27,7 @@ function sync_dirs { #first bring down new changes from knoppmyth.net unison km-down -logfile /tmp/unison-down.log -auto -batch -numericids ssh://reposync@knoppmyth.net/$REMOTE $LOCAL + if [ ! $? = 0 ] then echo "#######################################################" @@ -43,11 +44,50 @@ function sync_dirs { echo "-------------------------------------------------------" echo "----------- Finished with $3 -----------" echo "-------------------------------------------------------" +} +function source_sync () { + src_repo=$1 + case $1 in + testing ) + echo "updating source packages" + REMOTE_DIR=/mount/repository/repo/src_packages/core-testing + LOCAL=/data/pkg_repo/src_packages/core-testing + unison km-down -logfile /tmp/unison-down.log -auto -batch -numericids ssh://reposync@knoppmyth.net/$REMOTE_DIR $LOCAL + + REMOTE_DIR=/mount/repository/repo/src_packages/extra-testing + LOCAL=/data/pkg_repo/src_packages/extra-testing + unison km-down -logfile /tmp/unison-down.log -auto -batch -numericids ssh://reposync@knoppmyth.net/$REMOTE_DIR $LOCAL + ;; + + release ) + echo "updating source packages" + REMOTE_DIR=/mount/repository/repo/src_packages/core + LOCAL=/data/pkg_repo/src_packages/core + unison km-down -logfile /tmp/unison-down.log -auto -batch -numericids ssh://reposync@knoppmyth.net/$REMOTE_DIR $LOCAL + + REMOTE_DIR=/mount/repository/repo/src_packages/extra + LOCAL=/data/pkg_repo/src_packages/extra + unison km-down -logfile /tmp/unison-down.log -auto -batch -numericids ssh://reposync@knoppmyth.net/$REMOTE_DIR $LOCAL + ;; + chroot-devel ) + echo "updating source packages" + REMOTE_DIR=/mount/repository/repo/src_packages/chroot-devel + LOCAL=/data/pkg_repo/src_packages/chroot-devel + unison km-down -logfile /tmp/unison-down.log -auto -batch -numericids ssh://reposync@knoppmyth.net/$REMOTE_DIR $LOCAL + ;; + + + + *) + echo "need to know the source repository [testing|release|chroot-devel]" + exit 1 + ;; +esac +} -} #--------------------------------------------------------------- if [ ! -d $UNISON ] then @@ -66,26 +106,40 @@ fi + + clear case $1 in testing) #sync_dirs $REMOTE $LOCAL sync_dirs $REMOTE_DIR/$CARCH/core-testing $DOCROOT/core-testing core-testing sync_dirs $REMOTE_DIR/$CARCH/extra-testing $DOCROOT/extra-testing extra-testing + source_sync testing ;; release) sync_dirs $REMOTE_DIR/$CARCH/core $DOCROOT/core core sync_dirs $REMOTE_DIR/$CARCH/extra $DOCROOT/extra extra + source_sync release ;; chroot-devel) echo "will update chroot-devel" sync_dirs $REMOTE_DIR/$CARCH/chroot-devel $DOCROOT/chroot-devel chroot-devel + source_sync chroot-devel + ;; + + source) + if [ x = x$2 ] + then + echo "need to know the source repository [testing|release|chroot-devel]" + exit 1 + fi + source_sync $2 ;; *) echo "invalid options" - echo "kmsync.sh (testing|release|chroot-devel) " + echo "kmsync.sh (testing|release|chroot-devel|source[testing|release|chroot-devel]) " echo echo "EX: kmsync.sh testing <= will sync the testing repo with km.net update the local database and resync with km.net" #echo "kmsync.sh testing oneway <= will syncthe testing repo with km.net update the local database" diff --git a/setup_env.sh b/setup_env.sh index 6867b04..6c4af4f 100755 --- a/setup_env.sh +++ b/setup_env.sh @@ -77,8 +77,10 @@ do for y in core extra core-testing extra-testing chroot-devel mv-core do [ -e $MIRROR_DIR/$i/$y ] || mkdir -p $MIRROR_DIR/$i/$y + [ -e $MIRROR_DIR/src_packages/$y ] || mkdir -p $MIRROR_DIR/src_packages/$y done done + [ -e $MIRROR_DIR/sources ] || mkdir -p $MIRROR_DIR/sources [ -e $MIRROR_DIR/packages ] || mkdir -p $MIRROR_DIR/packages -- cgit v0.12 From e86e7916e555a03aab521810fa3e6d1aaabf0c9e Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sun, 16 Nov 2008 15:52:21 -0600 Subject: add "local" to ignore file --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 1904290..0561371 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,5 @@ overlay.xpk *.swp .directory .viminfo +build_tools/clarch/profiles/local +local -- cgit v0.12 From f8bce00e29487019adc68f46b8a243ec625fbd41 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 22 Nov 2008 20:42:34 -0600 Subject: remove linhes-live as a listed _requirement_ --- build_tools/clarch/larch/buildlive | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build_tools/clarch/larch/buildlive b/build_tools/clarch/larch/buildlive index 4fe1a90..8b734d2 100644 --- a/build_tools/clarch/larch/buildlive +++ b/build_tools/clarch/larch/buildlive @@ -87,8 +87,9 @@ mklive () echo "ERROR: No aufs or unionfs module found" fail=1 fi - - mustpacs="linhes-live lzop tar squashfs-tools" + #a live package of some sort needs to be installed, but not specificly linhes-live + #mustpacs="linhes-live lzop tar squashfs-tools" + mustpacs="lzop tar squashfs-tools" if [ -z "${GRUB}" ]; then mustpacs="${mustpacs} syslinux" fi -- cgit v0.12 From 0c725775ccb93f1900e89ea74d4d29ebb8e9ce46 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 22 Nov 2008 20:42:47 -0600 Subject: add mythvantage-live --- build_tools/clarch/larch/profiles/MV-local/addedpacks | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/build_tools/clarch/larch/profiles/MV-local/addedpacks b/build_tools/clarch/larch/profiles/MV-local/addedpacks index f518409..b1b6a2a 100644 --- a/build_tools/clarch/larch/profiles/MV-local/addedpacks +++ b/build_tools/clarch/larch/profiles/MV-local/addedpacks @@ -1,5 +1,6 @@ # These are needed to build a live CD -linhes-live +#linhes-live +mythvantage-live squashfs-tools lzop @@ -121,14 +122,14 @@ syslog-ng ttf-bitstream-vera xine-lib -#syth-lacquer-wide -#Midnight-wide -#Midnight-blue -#basic-blue -#basic-green -#basic-amber -#basic-purple -#basic-red +syth-lacquer-wide +Midnight-wide +Midnight-blue +basic-blue +basic-green +basic-amber +basic-purple +basic-red MythVantage-system -- cgit v0.12 From 425f22923e460616df35ff7874ef428bffe8b12a Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 22 Nov 2008 20:53:58 -0600 Subject: patch for rc.sysinit --- .../profiles/MV-local/post_process/rc.sysinit.patch | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/build_tools/clarch/larch/profiles/MV-local/post_process/rc.sysinit.patch b/build_tools/clarch/larch/profiles/MV-local/post_process/rc.sysinit.patch index 69a1ce0..4bdc25f 100644 --- a/build_tools/clarch/larch/profiles/MV-local/post_process/rc.sysinit.patch +++ b/build_tools/clarch/larch/profiles/MV-local/post_process/rc.sysinit.patch @@ -1,14 +1,14 @@ ---- rc.sysinit.orig 2008-07-06 19:39:36.000000000 -0500 -+++ rc.sysinit 2008-07-06 19:40:28.000000000 -0500 -@@ -9,10 +9,7 @@ - source_functions +--- rc.sysinit.orig 2008-11-22 20:47:41.000000000 -0600 ++++ rc.sysinit 2008-11-22 20:48:07.000000000 -0600 +@@ -7,9 +7,8 @@ + . /etc/rc.d/functions echo " " --printhl "Arch Linux $C_OTHER(${C_H2}Core Dump$C_OTHER)\n" --printhl "${C_H2}http://www.archlinux.org" --printhl "Copyright 2002-2007 Judd Vinet" --printhl "Copyright 2007-2008 Aaron Griffin" -+printhl "MythVantage \n" +-printhl "LinHES" +-printhl "The Linux Home Entertainment System" +-printhl "${C_H2}http://www.knoppmyth.net" ++printhl "MythVantage" ++printhl "${C_H2}http://www.mythvantage.com" printhl "Distributed under the GNU General Public License (GPL)" printsep -- cgit v0.12 From ac60bb6e91bb906fa7535c91ee8181ea83b3bc77 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 22 Nov 2008 21:10:21 -0600 Subject: add back the missing Kernel line --- .../clarch/larch/profiles/MV-local/cd-root/isolinux/isolinux.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_tools/clarch/larch/profiles/MV-local/cd-root/isolinux/isolinux.cfg b/build_tools/clarch/larch/profiles/MV-local/cd-root/isolinux/isolinux.cfg index 6686db4..a4c7998 100644 --- a/build_tools/clarch/larch/profiles/MV-local/cd-root/isolinux/isolinux.cfg +++ b/build_tools/clarch/larch/profiles/MV-local/cd-root/isolinux/isolinux.cfg @@ -24,6 +24,7 @@ KERNEL vmlinuz APPEND vga=normal initrd=larch.img noauto ip=dhcp netdev=eth0 LABEL MythVantage-remote +KERNEL vmlinuz APPEND vga=normal initrd=larch.img noauto ip=dhcp remote=MX-500-jams remoteport=ttyS0 LABEL MythVantage-static-ip @@ -33,6 +34,5 @@ APPEND vga=normal initrd=larch.img noauto vnc ip=192.168.1.222 netmask=255.255. LABEL Boot_from_hardrive localboot 0xffff - MENU ROWS 6 -- cgit v0.12 From 214e936ce58851fbf3865668be6565e7685fb9ce Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 22 Nov 2008 21:46:47 -0600 Subject: fix noX option --- .../profiles/i686-testing-REMOTE/cd-root/isolinux/isolinux.cfg | 2 +- .../profiles/i686-testing-REMOTE/rootoverlay/etc/rc.local | 10 ++++++++-- .../i686-testing-local-httpd/cd-root/isolinux/isolinux.cfg | 2 +- .../profiles/i686-testing-local-httpd/rootoverlay/etc/rc.local | 10 ++++++++-- .../profiles/i686-testing-local/cd-root/isolinux/isolinux.cfg | 2 +- .../larch/profiles/i686-testing-local/rootoverlay/etc/rc.local | 10 ++++++++-- 6 files changed, 27 insertions(+), 9 deletions(-) diff --git a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/cd-root/isolinux/isolinux.cfg b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/cd-root/isolinux/isolinux.cfg index a1a306d..fb26dae 100644 --- a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/cd-root/isolinux/isolinux.cfg +++ b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/cd-root/isolinux/isolinux.cfg @@ -30,7 +30,7 @@ append initrd=larch.img i810 label linux-nox MENU LABEL Boot to console (without X windowing) kernel vmlinuz -append initrd=larch.img noX +append initrd=larch.img NoX label linux-c2r MENU LABEL LinHES: copy-to-ram (also activates swap) diff --git a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/etc/rc.local b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/etc/rc.local index cdd7966..fe7cfa6 100755 --- a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/etc/rc.local +++ b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/etc/rc.local @@ -16,8 +16,14 @@ pacman -S --noconfirm mythdb-initial 2>/dev/null #search for remote init_remote -/root/startx & - +echo $CMDLINE | grep -qi NoX +if [ $? = 0 ] +then + echo "No auto X option found" + # /usr/bin/chvt 2 +else + /root/startx & +fi # Set up automatically logged in user (larch live system only) diff --git a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/cd-root/isolinux/isolinux.cfg b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/cd-root/isolinux/isolinux.cfg index a1a306d..fb26dae 100644 --- a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/cd-root/isolinux/isolinux.cfg +++ b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/cd-root/isolinux/isolinux.cfg @@ -30,7 +30,7 @@ append initrd=larch.img i810 label linux-nox MENU LABEL Boot to console (without X windowing) kernel vmlinuz -append initrd=larch.img noX +append initrd=larch.img NoX label linux-c2r MENU LABEL LinHES: copy-to-ram (also activates swap) diff --git a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay/etc/rc.local b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay/etc/rc.local index cdd7966..fe7cfa6 100755 --- a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay/etc/rc.local +++ b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay/etc/rc.local @@ -16,8 +16,14 @@ pacman -S --noconfirm mythdb-initial 2>/dev/null #search for remote init_remote -/root/startx & - +echo $CMDLINE | grep -qi NoX +if [ $? = 0 ] +then + echo "No auto X option found" + # /usr/bin/chvt 2 +else + /root/startx & +fi # Set up automatically logged in user (larch live system only) diff --git a/build_tools/clarch/larch/profiles/i686-testing-local/cd-root/isolinux/isolinux.cfg b/build_tools/clarch/larch/profiles/i686-testing-local/cd-root/isolinux/isolinux.cfg index a1a306d..fb26dae 100644 --- a/build_tools/clarch/larch/profiles/i686-testing-local/cd-root/isolinux/isolinux.cfg +++ b/build_tools/clarch/larch/profiles/i686-testing-local/cd-root/isolinux/isolinux.cfg @@ -30,7 +30,7 @@ append initrd=larch.img i810 label linux-nox MENU LABEL Boot to console (without X windowing) kernel vmlinuz -append initrd=larch.img noX +append initrd=larch.img NoX label linux-c2r MENU LABEL LinHES: copy-to-ram (also activates swap) diff --git a/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/rc.local b/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/rc.local index cdd7966..fe7cfa6 100755 --- a/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/rc.local +++ b/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/rc.local @@ -16,8 +16,14 @@ pacman -S --noconfirm mythdb-initial 2>/dev/null #search for remote init_remote -/root/startx & - +echo $CMDLINE | grep -qi NoX +if [ $? = 0 ] +then + echo "No auto X option found" + # /usr/bin/chvt 2 +else + /root/startx & +fi # Set up automatically logged in user (larch live system only) -- cgit v0.12 From e48b32c975f14150879c332ebbe92dd6bec024fe Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 29 Nov 2008 15:43:41 -0600 Subject: add option to force vesa driver to isolinux boot menu --- .../profiles/i686-testing-REMOTE/cd-root/isolinux/isolinux.cfg | 7 +++++++ .../i686-testing-local-httpd/cd-root/isolinux/isolinux.cfg | 7 +++++++ .../profiles/i686-testing-local/cd-root/isolinux/isolinux.cfg | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/cd-root/isolinux/isolinux.cfg b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/cd-root/isolinux/isolinux.cfg index fb26dae..4b41196 100644 --- a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/cd-root/isolinux/isolinux.cfg +++ b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/cd-root/isolinux/isolinux.cfg @@ -27,6 +27,13 @@ MENU LABEL with Intel i810 driver (DRI disabled) kernel vmlinuz append initrd=larch.img i810 + +label linux-vesa +MENU LABEL Force use of vesa driver +kernel vmlinuz +append initrd=larch.img forceXvesa + + label linux-nox MENU LABEL Boot to console (without X windowing) kernel vmlinuz diff --git a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/cd-root/isolinux/isolinux.cfg b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/cd-root/isolinux/isolinux.cfg index fb26dae..4b41196 100644 --- a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/cd-root/isolinux/isolinux.cfg +++ b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/cd-root/isolinux/isolinux.cfg @@ -27,6 +27,13 @@ MENU LABEL with Intel i810 driver (DRI disabled) kernel vmlinuz append initrd=larch.img i810 + +label linux-vesa +MENU LABEL Force use of vesa driver +kernel vmlinuz +append initrd=larch.img forceXvesa + + label linux-nox MENU LABEL Boot to console (without X windowing) kernel vmlinuz diff --git a/build_tools/clarch/larch/profiles/i686-testing-local/cd-root/isolinux/isolinux.cfg b/build_tools/clarch/larch/profiles/i686-testing-local/cd-root/isolinux/isolinux.cfg index fb26dae..4b41196 100644 --- a/build_tools/clarch/larch/profiles/i686-testing-local/cd-root/isolinux/isolinux.cfg +++ b/build_tools/clarch/larch/profiles/i686-testing-local/cd-root/isolinux/isolinux.cfg @@ -27,6 +27,13 @@ MENU LABEL with Intel i810 driver (DRI disabled) kernel vmlinuz append initrd=larch.img i810 + +label linux-vesa +MENU LABEL Force use of vesa driver +kernel vmlinuz +append initrd=larch.img forceXvesa + + label linux-nox MENU LABEL Boot to console (without X windowing) kernel vmlinuz -- cgit v0.12 From 699d87c76662d820f97a6c4b0ab151fac849770b Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sun, 30 Nov 2008 18:05:03 -0600 Subject: add ntp & syslog-ng --- build_tools/clarch/larch/profiles/i686-testing-REMOTE/addedpacks | 2 ++ build_tools/clarch/larch/profiles/i686-testing-local-httpd/addedpacks | 2 ++ build_tools/clarch/larch/profiles/i686-testing-local/addedpacks | 2 ++ 3 files changed, 6 insertions(+) diff --git a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/addedpacks b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/addedpacks index ed7f324..35a096d 100644 --- a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/addedpacks +++ b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/addedpacks @@ -180,3 +180,5 @@ tweaker ethtool nfs-utils netkit-telnet +ntp +syslog-ng diff --git a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/addedpacks b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/addedpacks index ed7f324..35a096d 100644 --- a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/addedpacks +++ b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/addedpacks @@ -180,3 +180,5 @@ tweaker ethtool nfs-utils netkit-telnet +ntp +syslog-ng diff --git a/build_tools/clarch/larch/profiles/i686-testing-local/addedpacks b/build_tools/clarch/larch/profiles/i686-testing-local/addedpacks index ed7f324..35a096d 100644 --- a/build_tools/clarch/larch/profiles/i686-testing-local/addedpacks +++ b/build_tools/clarch/larch/profiles/i686-testing-local/addedpacks @@ -180,3 +180,5 @@ tweaker ethtool nfs-utils netkit-telnet +ntp +syslog-ng -- cgit v0.12