Changeset 466


Ignore:
Timestamp:
03/16/09 15:32:35 (3 years ago)
Author:
tschmitt
Message:
  • Paket:
    • Fix: Syntaxfehler in debian/rules
    • Link zu /usr/sbin/update-linbofs fuer share/update-linbofs.sh hinzugefuegt
    • Grub4dos: preset_menu.lst diff aktualisiert
  • Serverside scripting:
    • update-linbofs.sh: Server-IP in start.conf wird nun aktualisiert (schließt #53)
  • Kernel:
    • Neuer Upstream 2.6.29-rc8
  • Linbofs:
    • grub4dos 0.4.4-2009-03-15
    • rsync 3.0.5
    • ntfs-3g 2009.2.1
    • Wartezeit vor Windows-Reboot verkuerzt
Location:
main/linuxmuster-linbo/trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • main/linuxmuster-linbo/trunk/conf/initramfs.conf

    r450 r466  
    127127file /usr/lib/grub/grldr ../../src/grub4dos/stage2/grldr 755 0 0 
    128128file /usr/sbin/bootlace.com ../../src/grub4dos/stage2/bootlace.com 755 0 0 
     129#file /usr/lib/grub.exe ../../src/grub4dos/grub.exe 755 0 0 
     130#file /usr/lib/badgrub.exe ../../src/grub4dos/badgrub.exe 755 0 0 
     131#file /usr/lib/grub/grldr ../../src/grub4dos/grldr 755 0 0 
     132#file /usr/sbin/bootlace.com ../../src/grub4dos/bootlace.com 755 0 0 
    129133 
    130134# rsync 
  • main/linuxmuster-linbo/trunk/conf/kernel.conf

    r450 r466  
    11# 
    22# Automatically generated make config: don't edit 
    3 # Linux kernel version: 2.6.29-rc5 
    4 # Mon Feb 16 18:24:42 2009 
     3# Linux kernel version: 2.6.29-rc8 
     4# Fri Mar 13 13:05:12 2009 
    55# 
    66# CONFIG_64BIT is not set 
     
    9191CONFIG_CC_OPTIMIZE_FOR_SIZE=y 
    9292CONFIG_SYSCTL=y 
     93CONFIG_ANON_INODES=y 
    9394CONFIG_EMBEDDED=y 
    9495CONFIG_UID16=y 
     
    100101# CONFIG_ELF_CORE is not set 
    101102CONFIG_PCSPKR_PLATFORM=y 
    102 CONFIG_COMPAT_BRK=y 
    103103CONFIG_BASE_FULL=y 
    104104CONFIG_FUTEX=y 
    105 CONFIG_ANON_INODES=y 
    106105CONFIG_EPOLL=y 
    107106CONFIG_SIGNALFD=y 
     
    112111CONFIG_VM_EVENT_COUNTERS=y 
    113112CONFIG_PCI_QUIRKS=y 
     113CONFIG_COMPAT_BRK=y 
    114114CONFIG_SLAB=y 
    115115# CONFIG_SLUB is not set 
     
    325325# CONFIG_ACPI_DEBUG is not set 
    326326# CONFIG_ACPI_PCI_SLOT is not set 
    327 CONFIG_ACPI_SYSTEM=y 
    328327CONFIG_X86_PM_TIMER=y 
    329328CONFIG_ACPI_CONTAINER=y 
     
    933932CONFIG_ATL1=m 
    934933CONFIG_ATL1E=m 
     934CONFIG_ATL1C=m 
    935935CONFIG_JME=m 
    936936CONFIG_NETDEV_10000=y 
     
    15291529# CONFIG_ASUS_OLED is not set 
    15301530# CONFIG_ALTERA_PCIE_CHDMA is not set 
    1531 # CONFIG_RTL8187SE is not set 
    15321531# CONFIG_INPUT_MIMIO is not set 
    15331532# CONFIG_TRANZPORT is not set 
     
    17711770# CONFIG_4KSTACKS is not set 
    17721771CONFIG_DOUBLEFAULT=y 
     1772CONFIG_HAVE_MMIOTRACE_SUPPORT=y 
    17731773CONFIG_IO_DELAY_TYPE_0X80=0 
    17741774CONFIG_IO_DELAY_TYPE_0XED=1 
  • main/linuxmuster-linbo/trunk/debian/changelog

    r450 r466  
     1linuxmuster-linbo (1.1.13-1) unstable; urgency=low 
     2 
     3  * package: 
     4    - fix syntax error in debian/rules 
     5    - added link to /usr/sbin/update-linbofs for share/update-linbofs.sh 
     6    - updated grub4dos preset_menu.lst diff 
     7  * serverside scripting: 
     8    - some improvements concerning to config file updates in update-linbofs.sh 
     9  * kernel: 
     10    - new upstream version 2.6.29-rc8 
     11  * linbofs: 
     12    - grub4dos 0.4.4-2009-03-15 
     13    - rsync 3.0.5 
     14    - ntfs-3g 2009.2.1 
     15    - decreased sleep time before rebooting for windows 
     16 
     17 -- Thomas Schmitt <schmitt@lmz-bw.de>  Mon, 16 Mar 15:15:59 +0100 
     18 
    119linuxmuster-linbo (1.1.12-1) unstable; urgency=low 
    220 
  • main/linuxmuster-linbo/trunk/debian/control

    r450 r466  
    55Build-Depends: debhelper (>= 4), build-essential, fakeroot, qt3-dev-tools, flex, wget, gcc-4.1, g++-4.1, ncurses-base, 
    66               coreutils, sysvinit-utils, util-linux, libstdc++6, reiserfsprogs, e2fsprogs, dosfstools, unzip, tar, gzip, 
    7                gettext, zlib1g-dev, libncurses5-dev, tetex-base, tetex-bin, tetex-extra, udpcast, libdbus-1-dev, 
     7               gettext, zlib1g-dev, libncurses5-dev, tetex-base, tetex-bin, tetex-extra, udpcast, libdbus-1-dev, 
    88               libhal-dev, doxygen, libdbus-1-3, libhal1 
    99Standards-Version: 3.6.1 
  • main/linuxmuster-linbo/trunk/debian/links

    r329 r466  
    22etc/linuxmuster/linbo/pxelinux.cfg.default      var/linbo/pxelinux.cfg/default 
    33usr/share/doc/linuxmuster-linbo/examples        var/linbo/examples 
     4usr/share/linuxmuster-linbo/repack-cloop.sh usr/sbin/repack-cloop 
     5usr/share/linuxmuster-linbo/update-linbofs.sh usr/sbin/update-linbofs 
    46var/log/linuxmuster/linbo                       var/linbo/log 
     7 
  • main/linuxmuster-linbo/trunk/debian/md5sums.src

    r452 r466  
    2209addfe7ae469677da39ed66d83858d3  chntpw-source-080526.zip 
    33b44b62af69863fc74f2946a56466d19d  cloop_2.628-2.tar.gz 
    4 dbd1afa4f96862af39497da78701a2e7  grub4dos-0.4.4-2009-02-09-src.zip 
     4a98b3e2dabef2103fc97615a9d54c1e6  grub4dos-0.4.4-2009-03-15-src.zip 
    557bd0f333fea8124cc83769b3f453efc0  hwinfo_15.3.orig.tar.gz 
    66d9f2ecd3c3307905f24130a25816e6cc  kexec-tools-2.0.0.tar.bz2 
    7 62ec6b1e52b4d12ea5ae782130585955  linux-2.6.29-rc5.tar.bz2 
     700ff913a194a5f6c3c1ed3347e346ab3  linux-2.6.29-rc8.tar.bz2 
    886fad0a69ac89440ad4f696dbbbf11497  ms-sys-2.1.3.tgz 
    9 601db52936011902206dfe1be05e4756  ntfs-3g-1.5012.tgz 
     9455d20b8e6960bad3311b72bec335737  ntfs-3g-2009.2.1.tgz 
    10102b39dece8897bc748f4ab4c40ec7699e  ntfsprogs-2.0.0.tar.bz2 
    1111e649dc2587954e1a55c4acf6667a96fc  qt-embedded-free-3.3.7.tar.bz2 
    12 2b2d159c9bd1b5f8adfd8b13da3a1f3f  rsync-3.0.4.tar.gz 
     12a130e736c011572cb423b6245e97fc4b  rsync-3.0.5.tar.gz 
    1313257ac04e62ab7e3616e220333a1140cb  ssmtp_2.62.orig.tar.gz 
  • main/linuxmuster-linbo/trunk/debian/rules

    r450 r466  
    1717KVERS=$(shell echo $(KERNEL_ARCHIVE) | sed -e 's/linux-//' | sed -e 's/.tar.bz2//') 
    1818KERNEL_DIR=kernel/linux-$(KVERS) 
    19 KERNEL_URL=http://www.kernel.org/pub/linux/kernel/v2.6/testing 
     19#KERNEL_URL=http://www.kernel.org/pub/linux/kernel/v2.6/testing 
     20KERNEL_URL=$(LML_URL) 
    2021 
    2122# cloop 
     
    4748# grub4dos 
    4849GRUB4DOS_ARCHIVE=$(shell grep grub4dos- debian/md5sums.src | awk '{ print $$2 }') 
     50#GRUB4DOS_DIR=src/grub4dos-$(shell echo $(GRUB4DOS_ARCHIVE) | awk -F\- '{ print $$2 }') 
    4951GRUB4DOS_DIR=src/$(shell echo $(GRUB4DOS_ARCHIVE) | sed -e 's/.zip//') 
    5052GRUB4DOS_URL=http://nufans.net/grub4dos 
     
    206208                echo "[1mUnpacking $(CLOOP_ARCHIVE)...[0m" ; \ 
    207209                tar xf cache/$(CLOOP_ARCHIVE) -C kernel; \ 
    208                 #echo "[1mPatching cloop sources...[0m" ; \ 
    209                 #( cd $(CLOOP_DIR) && for i in ../../patches/cloop/*; do patch -p1 <$$i; done ); \ 
    210210                ln -sf ../$(CLOOP_DIR) kernel/cloop; \ 
     211        fi 
    211212 
    212213        # kernel 
     
    216217                echo "[1mUnpacking $(KERNEL_ARCHIVE)...[0m" ; \ 
    217218                tar xf cache/$(KERNEL_ARCHIVE) -C kernel; \ 
    218                 #echo "[1mPatching kernel sources...[0m" ; \ 
    219                 #( cd $(KERNEL_DIR) && for i in ../../patches/linux/*; do patch -p1 <$$i; done ); \ 
    220219                cp conf/kernel.conf $(KERNEL_DIR)/.config; \ 
    221220        fi 
  • main/linuxmuster-linbo/trunk/linbo/linbo_cmd.sh

    r450 r466  
    623623  # We basically do a quick shutdown here. 
    624624  killall5 -15 
    625   sleep 2 
     625  [ -z "$WINDOWS" ] && sleep 2 
    626626  echo -n "c" >/dev/console 
    627627  if [ -z "$WINDOWS" ]; then 
     
    630630   sleep 10 
    631631  else 
    632    sleep 2 
     632   #sleep 2 
    633633   reboot -f 
    634634   #sleep 10 
  • main/linuxmuster-linbo/trunk/patches/grub4dos/preset_menu.lst.diff

    r329 r466  
    11--- grub4dos/preset_menu.lst    2008-11-17 07:35:10.000000000 +0100 
    22+++ grub4dos/preset_menu.lst.linbo      2008-11-17 07:32:48.000000000 +0100 
    3 @@ -1,5 +1,5 @@ 
     3@@ -1,7 +1,7 @@ 
     4 pxe detect 
     5 configfile 
    46 default 0 
    57-timeout 1 
    68+timeout 0 
    7  fallback 1 
    89  
    9  title find /menu.lst 
     10 title find /menu.lst, /boot/grub/menu.lst, /grub/menu.lst 
     11        errorcheck off 
  • main/linuxmuster-linbo/trunk/share/update-linbofs.sh

    r337 r466  
    44# 
    55# Thomas Schmitt <schmitt@lmz-bw.de> 
    6 # 19.11.2008 
     6# 
     7# last change: 24.02.2009 
    78# 
    89 
     
    1011. /usr/share/linuxmuster/config/dist.conf || exit 1 
    1112. $HELPERFUNCTIONS || exit 1 
     13 
     14groups="$@" 
     15 
     16# sets serverip in start.conf 
     17set_serverip(){ 
     18        local conf=$1 
     19        grep -q ^"Server = $serverip" $conf && return 0 
     20        if grep -q ^Server $conf; then 
     21                sed -e "s/^Server.*/Server = $serverip/" -i $conf 
     22        else 
     23                sed -e "/^\[LINBO\]/a\ 
     24Server = $serverip" -i $conf 
     25        fi 
     26} 
     27 
     28# sets group in start.conf 
     29set_group(){ 
     30        local conf=$1 
     31        local group=$2 
     32        grep -q ^"Group = $group" $conf && return 0 
     33        if grep -q ^Group $conf; then 
     34                sed -e "s/^Group.*/Group = $group/" -i $conf 
     35        else 
     36                sed -e "/^Server/a\ 
     37Group = $group" -i $conf 
     38        fi 
     39} 
     40# sets pxe config file 
     41set_pxeconfig(){ 
     42        local group=$1 
     43        local conf="$LINBODIR/pxelinux.cfg/$group" 
     44        local linbofs=linbofs.$group.gz 
     45        [ -e "$conf" ] || cp $PXELINUXCFG $conf 
     46        grep -q $linbofs $conf && return 0 
     47        sed -e "s|initrd=linbofs[.a-zA-Z0-9_-]*.gz|initrd=$linbofs|g" -i $conf 
     48} 
    1249 
    1350# this script makes only sense if imaging=linbo 
     
    6299[ $RC -ne 0 ] && bailout " Failed to unpack linbofs.gz!" 
    63100 
    64 # begin with default linbofs.gz 
    65 echo -n "  * default ... " 
    66  
    67101# store linbo md5 password 
    68102[ -n "$linbo_md5passwd" ] && echo -n "$linbo_md5passwd" > etc/linbo_passwd 
     
    72106echo "mailhub=$serverip:25" > etc/ssmtp/ssmtp.conf 
    73107 
    74 # copy default start.conf 
    75 cp -f $LINBODIR/start.conf . 
     108if [ -z "$groups" ] || stringinstring default "$groups"; then 
     109        # begin with default linbofs.gz 
     110        echo -n "  * default ... " 
    76111 
    77 # pack default linbofs.gz again 
    78 find . | cpio --quiet -o -H newc | gzip -9c > $LINBODIR/linbofs.gz ; RC="$?" 
    79 [ $RC -ne 0 ] && bailout "failed!" 
    80 echo -e "[LINBOFS]\ntimestamp=`date +%Y\%m\%d\%H\%M`\nimagesize=`ls -l $LINBODIR/linbofs.gz | awk '{print $5}'`" > $LINBODIR/linbofs.gz.info 
    81 echo "Ok!" 
     112        # check and copy default start.conf 
     113        set_serverip $LINBODIR/start.conf 
     114        cp -f $LINBODIR/start.conf . 
     115 
     116        # pack default linbofs.gz again 
     117        find . | cpio --quiet -o -H newc | gzip -9c > $LINBODIR/linbofs.gz ; RC="$?" 
     118        [ $RC -ne 0 ] && bailout "failed!" 
     119        echo -e "[LINBOFS]\ntimestamp=`date +%Y\%m\%d\%H\%M`\nimagesize=`ls -l $LINBODIR/linbofs.gz | awk '{print $5}'`" > $LINBODIR/linbofs.gz.info 
     120        echo "Ok!" 
     121fi 
     122 
     123# if no groups are given on cmdline then take all groups from workstations file 
     124[ -z "$groups" ] && groups=`grep -v ^# $WIMPORTDATA | awk -F\; '{ print $3 " " $11 }' | grep -v -w 0 | awk '{ print $1 }' | sort -u` 
    82125 
    83126# now process all groups found in $WIMPORTDATA 
    84 for i in `grep -v ^# $WIMPORTDATA | awk -F\; '{ print $3 " " $11 }' | grep -v -w 0 | awk '{ print $1 }' | sort -u`; do 
     127for i in $groups; do 
     128 
     129        # skip group default 
     130        [ "$group" = "default" ] && continue 
    85131 
    86132        # do nothing if there is no start.conf for this group 
     
    90136        echo -n "  * $i ... " 
    91137 
    92         # adding group name to start.conf 
    93         if grep -q ^Group $LINBODIR/start.conf.$i; then 
    94                 sed -e "s/^Group.*/Group = $i/" -i $LINBODIR/start.conf.$i 
    95         else 
    96                 sed -e "/^Server/a\ 
    97 Group = $i" -i $LINBODIR/start.conf.$i 
    98         fi 
     138        # check and repair necessary conf files 
     139        set_serverip $LINBODIR/start.conf.$i 
     140        set_group $LINBODIR/start.conf.$i $i 
     141        set_pxeconfig $i 
    99142 
    100143        # copy group specific start.conf 
Note: See TracChangeset for help on using the changeset viewer.