This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, next has been updated
via cc03d52ee45e30af94e909f2bab4b4a838369cb6 (commit)
via 02d7d49c91b18b9f2086578fae8d26afdab8c8bb (commit)
from a0c4de46fa00a83ad5fde5c3c654b296fa012fde (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit cc03d52ee45e30af94e909f2bab4b4a838369cb6
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date: Tue May 24 08:22:51 2011 +0200
autoupdate kernel version at package install and core update scripts.
commit 02d7d49c91b18b9f2086578fae8d26afdab8c8bb
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date: Tue May 24 07:13:05 2011 +0200
kernel: missed kernel-version at linux-xen install script.
-----------------------------------------------------------------------
Summary of changes:
config/rootfiles/core/next/update.sh | 2 +-
lfs/Config | 1 +
lfs/core-updates | 5 ++++-
src/paks/linux-pae/install.sh | 2 +-
src/paks/linux-xen/install.sh | 2 +-
5 files changed, 8 insertions(+), 4 deletions(-)
Difference in files:
diff --git a/config/rootfiles/core/next/update.sh b/config/rootfiles/core/next/update.sh
index 444fcce..070a12b 100644
--- a/config/rootfiles/core/next/update.sh
+++ b/config/rootfiles/core/next/update.sh
@@ -24,7 +24,7 @@
. /opt/pakfire/lib/functions.sh
/usr/local/bin/backupctrl exclude >/dev/null 2>&1
#
-KVER="2.6.32.41"
+KVER="xxxKVERxxx"
MOUNT=`grep "kernel" /boot/grub/grub.conf | tail -n 1`
# Nur den letzten Parameter verwenden
echo $MOUNT > /dev/null
diff --git a/lfs/Config b/lfs/Config
index 01b9cf1..fac10eb 100644
--- a/lfs/Config
+++ b/lfs/Config
@@ -196,6 +196,7 @@ define PAK
fi
cp -v /usr/src/config/rootfiles/packages/$(PROG) /install/packages/package/ROOTFILES
sed -e 's/KVER/$(KVER)/g' -i /install/packages/package/ROOTFILES
+ sed -e 's/xxxKVERxxx/$(KVER)/g' -i /install/packages/package/install.sh
chmod 755 /install/packages/package/{{,un}install,update}.sh
cd / && tar cf /install/packages/package/files.tmp --files-from=/install/packages/package/ROOTFILES --exclude='#*' \
-p --numeric-owner
diff --git a/lfs/core-updates b/lfs/core-updates
index f7f50cf..0dd2ecc 100644
--- a/lfs/core-updates
+++ b/lfs/core-updates
@@ -63,7 +63,7 @@ core/%:
#Change KVER to Kernelversion
sed -e "s/KVER/$(KVER)/g" -i /tmp/ROOTFILES
-
+
#Remove doubled files with tar/untar/tar to save space
tar -c -C / --files-from=/tmp/ROOTFILES \
-f /$(SNAME).tar --exclude='#*' --exclude='dev/pts/*' \
@@ -80,6 +80,9 @@ core/%:
#build package
cp -f $(DIR_SRC)/config/rootfiles/$(a)/update.sh /install/packages/package
chmod 755 /install/packages/package/update.sh
+ #Change xxxKVERxxx to Kernelversion
+ sed -e "s/xxxKVERxxx/$(KVER)/g" -i /install/packages/package/update.sh
+
cd /install/packages/package && tar cf ../core-upgrade-$(VERSION)-$$(basename $(a)).ipfire \
update.sh files ROOTFILES
rm -rf /install/packages/package
diff --git a/src/paks/linux-pae/install.sh b/src/paks/linux-pae/install.sh
index 83e9f49..60f8bbb 100644
--- a/src/paks/linux-pae/install.sh
+++ b/src/paks/linux-pae/install.sh
@@ -24,7 +24,7 @@
. /opt/pakfire/lib/functions.sh
extract_files
#
-KVER=2.6.32.41
+KVER=xxxKVERxxx
ROOT=`mount | grep " / " | cut -d" " -f1`
ROOTUUID=`blkid -c /dev/null -sUUID $ROOT | cut -d'"' -f2`
if [ ! -z $ROOTUUID ]; then
diff --git a/src/paks/linux-xen/install.sh b/src/paks/linux-xen/install.sh
index 5e03a74..70efa9d 100644
--- a/src/paks/linux-xen/install.sh
+++ b/src/paks/linux-xen/install.sh
@@ -24,7 +24,7 @@
. /opt/pakfire/lib/functions.sh
extract_files
#
-KVER=2.6.32.40
+KVER=xxxKVERxxx
ROOT=`mount | grep " / " | cut -d" " -f1`
ROOTUUID=`blkid -c /dev/null -sUUID $ROOT | cut -d'"' -f2`
if [ ! -z $ROOTUUID ]; then
hooks/post-receive
--
IPFire 2.x development tree