public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, thirteen, updated. e5713a7e2109cd38a64a2d752495a735a8ac4453
@ 2012-11-25 11:48 git
  0 siblings, 0 replies; only message in thread
From: git @ 2012-11-25 11:48 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 2263 bytes --]

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, thirteen has been updated
       via  e5713a7e2109cd38a64a2d752495a735a8ac4453 (commit)
      from  330e81cd9d08d47699032b5eb972c72a0c150ab5 (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 e5713a7e2109cd38a64a2d752495a735a8ac4453
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date:   Sun Nov 25 12:48:00 2012 +0100

    firstsetup: initiate linux-pae installation.

-----------------------------------------------------------------------

Summary of changes:
 src/initscripts/init.d/firstsetup | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

Difference in files:
diff --git a/src/initscripts/init.d/firstsetup b/src/initscripts/init.d/firstsetup
index b658cfa..0d3f448 100644
--- a/src/initscripts/init.d/firstsetup
+++ b/src/initscripts/init.d/firstsetup
@@ -1,4 +1,10 @@
 #!/bin/bash
+
+# Exit if firstsetup was already done...
+if [ -e /var/ipfire/main/firstsetup_ok ]; then
+	exit 0;
+fi
+
 # Edit the serial console entry at /etc/inittab matching to console parameter.
 ser_console() {
 	while test x"$1" != x
@@ -27,10 +33,19 @@ if [ "${?}" == "1" ]; then
 	echo Setup not finished. Rebooting ...
 	reboot -f
 fi
+
+# plan install pae kernel at next pakfire update if pae is supported
+rm -rf /opt/pakfire/db/*/meta-linux-pae
+if [ ! "$(grep "^flags.* pae " /proc/cpuinfo)" == "" ]; then
+	echo "Name: linux-pae" > /opt/pakfire/db/installed/meta-linux-pae
+	echo "ProgVersion: 0" >> /opt/pakfire/db/installed/meta-linux-pae
+	echo "Release: 0"     >> /opt/pakfire/db/installed/meta-linux-pae
+fi
+
 echo Restarting udev...
 killall udevd
 /sbin/udevd --daemon
 /sbin/udevadm trigger
 /sbin/udevadm settle
 /etc/init.d/sysklogd stop
-rm -f /etc/rc.d/rcsysinit.d/S75firstsetup
+touch /var/ipfire/main/firstsetup_ok


hooks/post-receive
--
IPFire 2.x development tree

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-25 11:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-25 11:48 [git.ipfire.org] IPFire 2.x development tree branch, thirteen, updated. e5713a7e2109cd38a64a2d752495a735a8ac4453 git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox