From 61fc33132816781779b9519523cf1e7401f6cfc2 Mon Sep 17 00:00:00 2001 From: hackbard Date: Fri, 13 Aug 2004 11:34:10 +0000 Subject: [PATCH] documentation updated / fixed & updated cdrtools / fixed coreutils --- doc/BUILD | 1 + doc/CHANGELOG | 6 ++++++ doc/INSTALL | 4 +++- packages/base/coreutils/coreutils | 2 +- packages/hackbard/cdrtools/cdrtools | 4 ++-- packages/hackbard/cdrtools/u8.patch | 9 ++++++--- 6 files changed, 19 insertions(+), 7 deletions(-) diff --git a/doc/BUILD b/doc/BUILD index 3dcb36d..06f6b83 100644 --- a/doc/BUILD +++ b/doc/BUILD @@ -16,6 +16,7 @@ requirements: - wget, cvs - internet connection, or local server using -mirror option - kernel with devfs support for versions <= 0.2 +- at least kernel version 2.6 with hotplug support for versions > 0.2 - a not used partition (900mb-3gb) for building. 250-900mb for sources depending on the selected target - x86 hardware for default users, any hardware for development ;) diff --git a/doc/CHANGELOG b/doc/CHANGELOG index be9ce1c..124af63 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -1,3 +1,9 @@ +*) 2004-08-13 + +- cdrtools update/fix +- coreutils fixes (cut,tr got ot /bin) +- documentation update + *) 2004-08-12 - small fix to INSTALL documentation + build qt licq frontend diff --git a/doc/INSTALL b/doc/INSTALL index 54f52f4..c855d9a 100644 --- a/doc/INSTALL +++ b/doc/INSTALL @@ -15,6 +15,8 @@ offer the binaries of the latest stable release on hackdaworld.dyndns.org, mirrors appreciated! finally some configuration issues are discussed and the system is prepared for reboot. +for both ways you will need kernel 2.6 running to do the chroot later on! + here we go ... 1. way - hdw-distro ready @ $hdw_build_dir @@ -112,7 +114,7 @@ final steps | mount /proc ; mount /sys (when you think its needed) | |--------------------------------------------------------------------------| -- chroot to your new build system and compile a new kernel +- chroot to your new build system and compile a new kernel. (you have to do this if you are not booting via nfsroot!) example: diff --git a/packages/base/coreutils/coreutils b/packages/base/coreutils/coreutils index 6b4ae98..1d90999 100644 --- a/packages/base/coreutils/coreutils +++ b/packages/base/coreutils/coreutils @@ -17,7 +17,7 @@ if [ "$hdw_status" = "2" ] ; then dir dircolors du date echo false head \ install ln ls mkdir mkfifo mknod mv pwd \ rm rmdir shred sync sleep stty su test \ - touch true uname vdir; do + touch true uname vdir tr cut; do [ -f $prefix/bin/$i ] && \ mv $prefix/bin/$i $root/bin done diff --git a/packages/hackbard/cdrtools/cdrtools b/packages/hackbard/cdrtools/cdrtools index 247ea94..59dd0ec 100644 --- a/packages/hackbard/cdrtools/cdrtools +++ b/packages/hackbard/cdrtools/cdrtools @@ -2,9 +2,9 @@ # # author: hackbard@hackdaworld.dyndns.org # -# [V] 2.01a33 +# [V] 2.01a36 # [S] 3-1 -# [D] cdrtools-2.01a33.tar.bz2 ftp://ftp.berlios.de/pub/cdrecord/alpha/ +# [D] cdrtools-2.01a36.tar.bz2 ftp://ftp.berlios.de/pub/cdrecord/alpha/ make_conf="$make_conf INS_BASE=$prefix DEFINSUSR=root DEFINSGRP=root" install_conf="$install_conf INS_BASE=$prefix DEFINSUSR=root DEFINSGRP=root" diff --git a/packages/hackbard/cdrtools/u8.patch b/packages/hackbard/cdrtools/u8.patch index 6b1d873..5d39f47 100644 --- a/packages/hackbard/cdrtools/u8.patch +++ b/packages/hackbard/cdrtools/u8.patch @@ -1,11 +1,14 @@ ---- ./libscg/scsi-linux-sg.c.orig 2004-07-14 14:16:39.000000000 +0200 -+++ ./libscg/scsi-linux-sg.c 2004-07-14 14:18:21.000000000 +0200 -@@ -65,6 +65,9 @@ +--- ./libscg/scsi-linux-sg.c.orig 2004-08-13 14:21:18.092637976 +0200 ++++ ./libscg/scsi-linux-sg.c 2004-08-13 14:23:28.209857152 +0200 +@@ -65,6 +65,12 @@ #if LINUX_VERSION_CODE >= 0x01031a /* introduced in 1.3.26 */ #if LINUX_VERSION_CODE >= 0x020000 /* introduced somewhere. */ +#if LINUX_VERSION_CODE >= 0x020600 /* header changes for kernel >= 2.6 */ ++#define __KERNEL__ ++#include +#include ++#undef __KERNEL__ +#endif /* Need to fine tune the ifdef so we get the transition point right. */ #include -- 2.20.1