[Lunar-commits] <lunar-iso> Properly register the linux kernel as installed

Stefan Wold ratler at lunar-linux.org
Sat Nov 16 20:18:12 CET 2013


commit 7de294f948186818b3740aa273cea84e2aa8499e
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sat, 16 Nov 2013 06:45:21 -0800
URL: https://github.com/lunar-linux/lunar-iso/commit/7de294f948186818b3740aa273cea84e2aa8499e

Properly register the linux kernel as installed
---
  lunar-install/sbin/lunar-install | +2/-2     
  1 file changed, 2 insertions(+), 2 deletions(-)

--- a/lunar-install/sbin/lunar-install
+++ b/lunar-install/sbin/lunar-install
@@ -1490,8 +1490,8 @@ install_kernels()
 					KVER_FULL=$(echo $KVER | cut -d . -f 1,2).${KVER_PATCH:-0}
 
 					# Register the kernel module as installed
-					if ! grep -q "^linux" $TARGET/var/state/lunar/packages; then
-						echo "linux:%DATE%:installed:$KVER:37000KB" >> $TARGET/var/state/lunar/packages
+					if ! grep -q "^linux:" $TARGET/var/state/lunar/packages; then
+						echo "linux:%DATE%:installed:$KVER:101500KB" >> $TARGET/var/state/lunar/packages
 					fi
 
 					# Generate kernel install log




More information about the Lunar-commits mailing list