[Lunar-commits] CVS: moonbase/kernel/modutils-wrappers PRE_BUILD,
NONE, 1.1 BUILD, 1.1, 1.2 DETAILS, 1.1, 1.2 POST_INSTALL, 1.1, NONE
Jaime Buffery
nestu at lunar-linux.org
Fri Jan 21 15:42:37 UTC 2005
Update of /var/cvs/lunar/moonbase/kernel/modutils-wrappers
In directory espresso.foo-projects.org:/tmp/cvs-serv27626
Modified Files:
BUILD DETAILS
Added Files:
PRE_BUILD
Removed Files:
POST_INSTALL
Log Message:
0.2 -> 0.3.
Changes:
* Now all scripts are installed (before it depended on if you had m-i-t and/or modutils installed).
* Each script warns if it should not be called with this kernel version.
* Spits out a warning message to lin modutils or m-i-t, depending on your running kernel, if the
binary being called is valid, but is not there.
* With PRE_BUILD we make sure that modutils and m-i-t, are in the right location so they are not
overwritten (not done in POST_INSTALL anymore).
--- NEW FILE: PRE_BUILD ---
for mod in modutils module-init-tools
do
if module_installed ${mod} ; then
if [ ! -e /lib/${mod}/sbin/modprobe ]; then
message "Relinning ${mod} so modutils-wrappers doesn't overlap"
lin -c ${mod} || false
fi
fi
done &&
unpack ${SOURCE}
Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/kernel/modutils-wrappers/BUILD,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- BUILD 13 Jan 2005 12:43:44 -0000 1.1
+++ BUILD 21 Jan 2005 15:42:35 -0000 1.2
@@ -1,47 +1,40 @@
(
- prepare_install &&
+ prepare_install &&
- # shared scripts
+ # shared scripts
- message "Installing shared modutils/module-init-tools wrapper scripts" &&
-
- for wrapper in depmod insmod insmod.static \
- lsmod modinfo modprobe rmmod
- do
- install -m 755 shared /sbin/${wrapper} || false
- done &&
+ message "Installing shared modutils/module-init-tools wrapper scripts" &&
+
+ for wrapper in depmod insmod insmod.static \
+ lsmod modinfo modprobe rmmod
+ do
+ install -m 755 shared /sbin/${wrapper} || false
+ done &&
- # only modutils binaries
- if module_installed modutils ; then
-
- message "Installing modutils only wrapper scripts" &&
+ # only modutils binaries
- for wrapper in genksyms insmod_ksymoops_clean \
- kallsyms kallsyms.static kernelversion \
- ksyms ksyms.static lsmod.static \
- modprobe.static rmmod.static
- do
- install -m 755 modutils /sbin/${wrapper} || false
- done
+ message "Installing modutils only wrapper scripts" &&
- fi &&
+ for wrapper in genksyms insmod_ksymoops_clean \
+ kallsyms kallsyms.static kernelversion \
+ ksyms ksyms.static lsmod.static \
+ modprobe.static rmmod.static
+ do
+ install -m 755 modutils /sbin/${wrapper} || false
+ done &&
-
- # only module-init-tools binaries
- if module_installed module-init-tools ; then
-
- message "Installing module-init-tools only wrapper scripts" &&
- for wrapper in generate-modprobe.conf
- do
- install -m 755 module-init-tools /sbin/${wrapper} || false
- done
+ # only module-init-tools binaries
- fi &&
+ message "Installing module-init-tools only wrapper scripts" &&
+ for wrapper in generate-modprobe.conf
+ do
+ install -m 755 module-init-tools /sbin/${wrapper} || false
+ done &&
- install -m0700 $SCRIPT_DIRECTORY/init.d/modutils /etc/init.d &&
- ln -sf ../init.d/modutils /etc/rcS.d/S20modutils
+ install -m0700 $SCRIPT_DIRECTORY/init.d/modutils /etc/init.d &&
+ ln -sf ../init.d/modutils /etc/rcS.d/S20modutils
) > $C_FIFO 2>&1
Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/kernel/modutils-wrappers/DETAILS,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- DETAILS 13 Jan 2005 12:43:44 -0000 1.1
+++ DETAILS 21 Jan 2005 15:42:35 -0000 1.2
@@ -1,11 +1,11 @@
MODULE=modutils-wrappers
- VERSION=0.2
+ VERSION=0.3
SOURCE=${MODULE}-${VERSION}.tar.bz2
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${MODULE}
SOURCE_URL=http://www.lunar-linux.org/~nestu/
- SOURCE_VFY=sha1:2bd551e332911e787d38bda17f679c8ff97c6057
+ SOURCE_VFY=sha1:0d39a5d11894142d4012cc5118bf72db61f530ac
ENTERED=20050112
- UPDATED=20050112
+ UPDATED=20050121
SHORT="A set of wrapper scripts for modutils and module-init-tools"
cat << EOF
A set of wrapper scripts for modutils and module-init-tools, so
--- POST_INSTALL DELETED ---
More information about the Lunar-commits
mailing list