Changeset 499
- Timestamp:
- 06/26/09 20:30:09 (3 years ago)
- Location:
- main/linuxmuster-linbo/trunk
- Files:
-
- 7 edited
-
conf/initramfs.conf (modified) (3 diffs)
-
conf/kernel.conf (modified) (4 diffs)
-
debian/changelog (modified) (2 diffs)
-
debian/control (modified) (1 diff)
-
debian/md5sums.src (modified) (1 diff)
-
linbo/etc/udev/links.conf (modified) (1 diff)
-
linbo/linbo_cmd.sh (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
main/linuxmuster-linbo/trunk/conf/initramfs.conf
r495 r499 35 35 file /lib/libnss_compat.so.2 /lib/libnss_compat.so.2 755 0 0 36 36 file /lib/libnss_files.so.2 /lib/libnss_files.so.2 755 0 0 37 file /lib/libselinux.so.1 /lib/libselinux.so.1 755 0 0 37 38 file /lib/libuuid.so.1 /lib/libuuid.so.1 755 0 0 38 39 file /lib/terminfo/l/linux /lib/terminfo/l/linux 755 0 0 … … 88 89 file /lib/libblkid.so.1 /lib/libblkid.so.1 755 0 0 89 90 file /lib/libe2p.so.2 /lib/libe2p.so.2 755 0 0 91 slink /sbin/mkfs.ext2 ../bin/mke2fs 755 0 0 92 slink /sbin/mkfs.ext3 ../bin/mke2fs 755 0 0 93 slink /sbin/mkfs.ext4 ../bin/mke2fs 755 0 0 94 95 # mount 96 file /bin/mount /bin/mount 755 0 0 97 file /bin/umount /bin/umount 755 0 0 98 file /lib/libvolume_id.so.1 /lib/libvolume_id.so.1 755 0 0 99 file /lib/libsepol.so.1 /lib/libsepol.so.1 755 0 0 90 100 91 101 # mkdosfs … … 160 170 161 171 # udev 162 file /lib/libselinux.so.1 /lib/libselinux.so.1 755 0 0163 172 file /sbin/insmod /sbin/insmod 755 0 0 164 173 file /sbin/modprobe /sbin/modprobe 755 0 0 -
main/linuxmuster-linbo/trunk/conf/kernel.conf
r495 r499 2 2 # Automatically generated make config: don't edit 3 3 # Linux kernel version: 2.6.30 4 # Fri Jun 12 14:46:3120094 # Wed Jun 24 19:13:52 2009 5 5 # 6 6 # CONFIG_64BIT is not set … … 153 153 CONFIG_STOP_MACHINE=y 154 154 CONFIG_BLOCK=y 155 # CONFIG_LBD is not set 155 CONFIG_LBD=y 156 156 # CONFIG_BLK_DEV_BSG is not set 157 # CONFIG_BLK_DEV_INTEGRITY is not set 157 CONFIG_BLK_DEV_INTEGRITY=y 158 158 159 159 # … … 1738 1738 CONFIG_FILE_LOCKING=y 1739 1739 # CONFIG_XFS_FS is not set 1740 # CONFIG_GFS2_FS is not set 1740 1741 # CONFIG_OCFS2_FS is not set 1741 1742 # CONFIG_BTRFS_FS is not set … … 2074 2075 CONFIG_CRC_CCITT=y 2075 2076 CONFIG_CRC16=y 2076 # CONFIG_CRC_T10DIF is not set 2077 CONFIG_CRC_T10DIF=y 2077 2078 # CONFIG_CRC_ITU_T is not set 2078 2079 CONFIG_CRC32=y -
main/linuxmuster-linbo/trunk/debian/changelog
r496 r499 1 1 linuxmuster-linbo (1.1.21-1) unstable; urgency=low 2 2 3 * package: removed kexec-tools from build dependencies 3 4 * linbofs: 4 - improved menu.lst handling in linbo_cmd, custom menu.lsts were not touched anymore, 5 computing menu.lst entry number for windows systems with reboot workaround to be able 6 to set the grub default accordingly. 5 - changed from busybox mount/unount to Ubuntu's mount/umount 6 - added ext4 support for linux clients. 7 - updated to rsync 3.0.6 8 - linbo_cmd: 9 o improved menu.lst handling in linbo_cmd, custom menu.lsts were not 10 touched anymore, computing menu.lst entry number for windows systems 11 with reboot workaround to be able to set the grub default accordingly. 12 o improved linux client fstab patching: 13 fstab will be patched only on synchronized start not on every start, 14 if fstype of root partition differs it will be corrected. 7 15 8 -- Thomas Schmitt <schmitt@lmz-bw.de> Tue, 23 Jun 2009 18:35:05+020016 -- Thomas Schmitt <schmitt@lmz-bw.de> Fri, 26 Jun 2009 20:00:14 +0200 9 17 10 18 linuxmuster-linbo (1.1.20-1) unstable; urgency=low … … 33 41 o removed insmod and modprobe 34 42 - grub4dos: new upstream version 0.4.4-2009-06-11 35 - kexec now taken from Jaunty43 - kexec, insmod and modprobe now taken from Ubuntu 36 44 37 45 -- Thomas Schmitt <schmitt@lmz-bw.de> Sat, 13 Jun 2009 18:05:05 +0200 -
main/linuxmuster-linbo/trunk/debian/control
r495 r499 4 4 Maintainer: Thomas Schmitt <schmitt@lmz-bw.de> 5 5 Build-Depends: debhelper (>=7.0.17ubuntu4), build-essential (>=11.4), fakeroot, wget, udev (>=141-1.1), udev-extras, 6 nasm, syslinux, ncurses-base, kexec-tools (>=20090000-2.0.0ubuntu3),coreutils, sysvinit-utils, util-linux,6 nasm, syslinux, ncurses-base, coreutils, sysvinit-utils, util-linux, 7 7 tetex-base, libstdc++6, reiserfsprogs, e2fsprogs, dosfstools, unzip, tar, gzip, gettext, zlib1g-dev, 8 8 libncurses5-dev, tetex-bin, tetex-extra, udpcast, perl, libpopt-dev, libacl1-dev, libattr1-dev, -
main/linuxmuster-linbo/trunk/debian/md5sums.src
r495 r499 4 4 82476af067f5325ebb8be30e5350f839 grub4dos-0.4.4-2009-06-11-src.zip 5 5 d9f2ecd3c3307905f24130a25816e6cc kexec-tools-2.0.0.tar.bz2 6 d5bb5a59bc26337cc8b93a430ff407a1linux-2.6.30.tar.bz26 7a80058a6382e5108cdb5554d1609615 linux-2.6.30.tar.bz2 7 7 6fad0a69ac89440ad4f696dbbbf11497 ms-sys-2.1.3.tgz 8 8 e0b5c170f088a8d82968f0a6b34d31da ntfs-3g-2009.4.4.tgz 9 9 2b39dece8897bc748f4ab4c40ec7699e ntfsprogs-2.0.0.tar.bz2 10 10 e649dc2587954e1a55c4acf6667a96fc qt-embedded-free-3.3.7.tar.bz2 11 46183b8ba930c846551e04736eec9515 rsync-3.0.6pre1.tar.gz11 e9865d093a18e4668b9d31b635dc8e99 rsync-3.0.6.tar.gz 12 12 257ac04e62ab7e3616e220333a1140cb ssmtp_2.62.orig.tar.gz 13 13 c9f4e73e385c86b3a8faf9b615a04836 syslinux-3.82.tar.bz2 -
main/linuxmuster-linbo/trunk/linbo/etc/udev/links.conf
r495 r499 7 7 M null c 1 3 8 8 M ppp c 108 0 9 M cloop0 b 240 0 10 M cloop1 b 240 1 11 M cloop2 b 240 2 12 M cloop3 b 240 3 13 M cloop4 b 240 4 14 M cloop5 b 240 5 15 M cloop6 b 240 6 16 M cloop7 b 240 7 17 L cloop cloop0 9 18 L core /proc/kcore 10 19 L fd /proc/self/fd -
main/linuxmuster-linbo/trunk/linbo/linbo_cmd.sh
r496 r499 271 271 # fix vanished cloop device 272 272 if [ "$1" = "/dev/cloop" ]; then 273 [ -e "/dev/cloop" ] || ln -s /dev/cloop0 /dev/cloop273 [ -e "/dev/cloop" ] || ln -sf /dev/cloop0 /dev/cloop 274 274 fi 275 275 for i in 1 2 3 4 5; do … … 315 315 swap) mkswap "$1" ;; 316 316 reiserfs) mkreiserfs -f -f "$1" ;; 317 ext2) mke2fs -b 4096 -f 4096 -m 0 "$1" ;; 318 ext3) mke2fs -b 4096 -f 4096 -m 0 -j "$1" ;; 317 ext2|ext3|ext4) mkfs."$2" "$1" ;; 319 318 [Nn][Tt][Ff][Ss]*) mkfs.ntfs -Q "$1" ;; 320 319 *[Ff][Aa][Tt]*) mkdosfs -F 32 "$1" ;; … … 516 515 } 517 516 518 # tschmitt 519 # patch fstab with root partition 520 patch_fstab(){ 521 echo -n "patch_fstab " ; printargs "$@" 522 local appendstr="$1" 523 local line="" 524 local rootpart="" 525 local found="" 526 local item="" 527 for item in $appendstr; do 528 echo $item | grep -q ^root && rootpart=`echo $item | awk -F\= '{ print $2 }'` 529 done 530 [ -z "$rootpart" ] && return 1 531 [ -e /tmp/fstab ] && rm -f /tmp/fstab 532 while read line; do 533 mntpnt=`echo $line | awk '{ print $2 }'` 534 if [ "$mntpnt" = "/" -a "$found" = "" ] && ! echo "$line" | grep ^#; then 535 echo "$line" | sed -e 's,.* /,'"$rootpart"' /,' - >> /tmp/fstab 536 found=yes 537 else 538 echo "$line" >> /tmp/fstab 539 fi 540 done </mnt/etc/fstab 541 if [ -n "$found" ]; then 542 echo "Setze Rootpartition in fstab -> $rootpart." 543 mv -f /mnt/etc/fstab /mnt/etc/fstab.bak 544 mv -f /tmp/fstab /mnt/etc 545 fi 546 } 547 548 # compute grub menu.lst entry number: boot 517 # compute grub menu.lst entry number: grubnr boot 549 518 grubnr(){ 550 519 [ -s /cache/boot/grub/menu.lst ] || return 1 … … 630 599 # change bootloader for win98 systems 631 600 APPEND="$(echo $APPEND | sed -e 's/ntldr/io.sys/')" 632 elif [ -e /mnt/etc/fstab ]; then633 # tschmitt: patch fstab with root device634 patch_fstab "$APPEND"635 601 fi 636 602 else … … 1008 974 } 1009 975 976 # tschmitt 977 # patch fstab with root partition and root fstype: patch_fstab rootdev 978 patch_fstab(){ 979 echo -n "patch_fstab " ; printargs "$@" 980 local rootdev="$1" 981 local line="" 982 local found="" 983 local fstype_mount="" 984 local fstype_fstab="" 985 local mntpnt="" 986 local changed="" 987 local rootdev_fstab="" 988 local options="" 989 local dump="" 990 local pass="" 991 [ -z "$rootdev" ] && return 1 992 [ -e "$rootdev" ] || return 1 993 [ -e /tmp/fstab ] && rm -f /tmp/fstab 994 while read line; do 995 if [ -n "$line" -a "${line:0:1}" != "#" ]; then 996 mntpnt="$(echo "$line" | awk '{ print $2 }')" 997 if [ "$mntpnt" = "/" -a -z "$found" ]; then 998 found=yes 999 rootdev_fstab="$(echo "$line" | awk '{ print $1 }')" 1000 [ -z "$rootdev_fstab" ] && return 1 1001 fstype_fstab="$(echo "$line" | awk '{ print $3 }')" 1002 [ -z "$fstype_fstab" ] && return 1 1003 options="$(echo "$line" | awk '{ print $4 }')" 1004 [ -z "$options" ] && return 1 1005 dump="$(echo "$line" | awk '{ print $5 }')" 1006 [ -z "$dump" ] && return 1 1007 pass="$(echo "$line" | awk '{ print $6 }')" 1008 [ -z "$pass" ] && return 1 1009 if [ "$rootdev_fstab" != "$rootdev" ]; then 1010 # change root partition if necessary 1011 echo "Setze Rootpartition: $rootdev." 1012 rootdev_fstab="$rootdev" 1013 line="$rootdev_fstab $mntpnt $fstype_fstab $options $dump $pass" 1014 changed=yes 1015 fi # rootdev 1016 # check for changed filesytem type if partition was formatted 1017 fstype_mount="$(cat /proc/mounts | grep "^$rootdev" | awk '{ print $3 }')" 1018 [ -z "$fstype_mount" ] && return 1 1019 if [ "$fstype_fstab" != "$fstype_mount" ]; then 1020 # change filesystem 1021 echo "Setze Dateisystem: $fstype_mount." 1022 fstype_fstab="$fstype_mount" 1023 line="$rootdev_fstab $mntpnt $fstype_fstab $options $dump $pass" 1024 changed=yes 1025 fi # fstype 1026 fi # mntpnt 1027 fi # line 1028 echo "$line" >> /tmp/fstab 1029 done </mnt/etc/fstab # reading fstab 1030 if [ -n "$changed" ]; then 1031 mv -f /mnt/etc/fstab /mnt/etc/fstab.bak 1032 mv -f /tmp/fstab /mnt/etc 1033 fi 1034 } 1035 1010 1036 # syncl cachedev baseimage image bootdev rootdev kernel initrd append [force] 1011 1037 syncl(){ 1012 1038 local RC=1 1013 1039 local patchfile="" 1040 local rootdev="$5" 1014 1041 echo -n "syncl " ; printargs "$@" 1015 1042 mountcache "$1" || return "$?" … … 1064 1091 rm -f "$TMP" 1065 1092 fi 1093 # patching for linux systems 1094 # hostname 1066 1095 if [ -f /mnt/etc/hostname ]; then 1067 1096 if [ -n "$HOSTNAME" ]; then … … 1070 1099 fi 1071 1100 fi 1101 # fstab 1102 [ -f /mnt/etc/fstab ] && patch_fstab "$rootdev" 1072 1103 sync; sync; sleep 1 1073 1104 umount /mnt || umount -l /mnt
Note: See TracChangeset
for help on using the changeset viewer.
