diff options
author | John Bowler <jbowler@nslu2-linux.org> | 2006-02-06 08:30:48 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-02-06 08:30:48 +0000 |
commit | d2449f188c1d5b589a2e26dd044d3c717e36cb42 (patch) | |
tree | aeadae4152b1b4177e35ff7df0f6c03797629082 | |
parent | df9021a741b54e4504ba2e639b582b808994a2b4 (diff) | |
parent | 4228b12fbf49084eeaabec66c4785a0a091015f6 (diff) |
merge of ad980e031ab94ad3b8f2d1e29f2bbae35f47d710
and ae1272cefbd4147e462e255072a2484f4f9a7a1b
-rw-r--r-- | conf/distro/debianslug.conf | 2 | ||||
-rw-r--r-- | conf/distro/openslug.conf | 2 | ||||
-rw-r--r-- | conf/distro/slugos-bag.conf | 2 | ||||
-rw-r--r-- | conf/distro/slugos-bau.conf | 2 | ||||
-rw-r--r-- | conf/distro/slugos-btu.conf | 2 | ||||
-rw-r--r-- | conf/distro/slugos-lag.conf | 2 | ||||
-rw-r--r-- | conf/distro/slugos-lau.conf | 2 | ||||
-rw-r--r-- | conf/distro/slugos-ltu.conf | 4 | ||||
-rw-r--r-- | conf/distro/slugos.conf | 7 | ||||
-rw-r--r-- | conf/distro/ucslugc.conf | 2 | ||||
-rw-r--r-- | packages/initscripts/initscripts-1.0/slugos/checkroot.sh | 16 | ||||
-rw-r--r-- | packages/initscripts/initscripts-slugos_1.0.bb | 2 |
12 files changed, 20 insertions, 25 deletions
diff --git a/conf/distro/debianslug.conf b/conf/distro/debianslug.conf index 16c54c77da..88be1c516c 100644 --- a/conf/distro/debianslug.conf +++ b/conf/distro/debianslug.conf @@ -6,7 +6,7 @@ # STANDARD DebianSlug DEFINITIONS #---------------------------------------------------------------------------------- DISTRO_NAME = "DebianSlug" -DISTRO_VERSION = "3.2-beta" +# DISTRO_VERSION = "${SLUGOS_VERSION}${DISTRO_REVISION}-${DISTRO_TYPE}" DISTRO_FEED = "unstable" DISTRO_TYPE = "beta" SLUGOS_IMAGENAME = "debianslug" diff --git a/conf/distro/openslug.conf b/conf/distro/openslug.conf index 8c1a16c77f..80b650dce0 100644 --- a/conf/distro/openslug.conf +++ b/conf/distro/openslug.conf @@ -6,7 +6,7 @@ # STANDARD OpenSlug DEFINITIONS #---------------------------------------------------------------------------------- DISTRO_NAME = "OpenSlug" -DISTRO_VERSION = "3.2-beta" +# DISTRO_VERSION = "${SLUGOS_VERSION}${DISTRO_REVISION}-${DISTRO_TYPE}" DISTRO_FEED = "unstable" DISTRO_TYPE = "beta" SLUGOS_IMAGENAME = "openslug" diff --git a/conf/distro/slugos-bag.conf b/conf/distro/slugos-bag.conf index 3710243dab..9da0eb0707 100644 --- a/conf/distro/slugos-bag.conf +++ b/conf/distro/slugos-bag.conf @@ -6,7 +6,7 @@ # This slugos variant corresponds to OpenSlug DISTRO_NAME ?= "slugos-bag" -DISTRO_VERSION ?= "3.2-beta" +# DISTRO_VERSION = "${SLUGOS_VERSION}${DISTRO_REVISION}-${DISTRO_TYPE}" DISTRO_FEED ?= "unstable" DISTRO_TYPE ?= "beta" diff --git a/conf/distro/slugos-bau.conf b/conf/distro/slugos-bau.conf index 9a025d1bbd..b9070cb234 100644 --- a/conf/distro/slugos-bau.conf +++ b/conf/distro/slugos-bau.conf @@ -7,7 +7,7 @@ # This slugos variant is not supported - there are no nslu2-linux.org # regular builds and there is no feed. DISTRO_NAME ?= "slugos-bau" -DISTRO_VERSION ?= "3.2-beta" +# DISTRO_VERSION = "${SLUGOS_VERSION}${DISTRO_REVISION}-${DISTRO_TYPE}" DISTRO_FEED ?= "unstable" DISTRO_TYPE ?= "alpha" diff --git a/conf/distro/slugos-btu.conf b/conf/distro/slugos-btu.conf index 33f5d0a952..12a9553197 100644 --- a/conf/distro/slugos-btu.conf +++ b/conf/distro/slugos-btu.conf @@ -6,7 +6,7 @@ # This slugos variant corresponds to UcSlugC DISTRO_NAME ?= "slugos-btu" -DISTRO_VERSION ?= "3.2-beta" +# DISTRO_VERSION = "${SLUGOS_VERSION}${DISTRO_REVISION}-${DISTRO_TYPE}" DISTRO_FEED ?= "unstable" DISTRO_TYPE ?= "beta" diff --git a/conf/distro/slugos-lag.conf b/conf/distro/slugos-lag.conf index ddfeba3c59..b5d069dc34 100644 --- a/conf/distro/slugos-lag.conf +++ b/conf/distro/slugos-lag.conf @@ -5,7 +5,7 @@ # This slugos variant is not supported - there are no nslu2-linux.org # regular builds and there is no feed. DISTRO_NAME ?= "slugos-lag" -DISTRO_VERSION ?= "3.2-beta" +# DISTRO_VERSION = "${SLUGOS_VERSION}${DISTRO_REVISION}-${DISTRO_TYPE}" DISTRO_FEED ?= "unstable" DISTRO_TYPE ?= "alpha" diff --git a/conf/distro/slugos-lau.conf b/conf/distro/slugos-lau.conf index 6dc2c1f77b..c83cdff881 100644 --- a/conf/distro/slugos-lau.conf +++ b/conf/distro/slugos-lau.conf @@ -5,7 +5,7 @@ # This slugos variant is not supported - there are no nslu2-linux.org # regular builds and there is no feed. DISTRO_NAME ?= "slugos-lau" -DISTRO_VERSION ?= "3.2-beta" +# DISTRO_VERSION = "${SLUGOS_VERSION}${DISTRO_REVISION}-${DISTRO_TYPE}" DISTRO_FEED ?= "unstable" DISTRO_TYPE ?= "alpha" diff --git a/conf/distro/slugos-ltu.conf b/conf/distro/slugos-ltu.conf index 9e02bd1bb9..652be9d481 100644 --- a/conf/distro/slugos-ltu.conf +++ b/conf/distro/slugos-ltu.conf @@ -5,9 +5,9 @@ # This slugos variant is not supported - there are no nslu2-linux.org # regular builds and there is no feed. DISTRO_NAME ?= "slugos-ltu" -DISTRO_VERSION ?= "3.2-beta" +# DISTRO_VERSION = "${SLUGOS_VERSION}${DISTRO_REVISION}-${DISTRO_TYPE}" DISTRO_FEED ?= "unstable" -DISTRO_TYPE ?= "alpha" +DISTRO_TYPE ?= "beta" ARCH_BYTE_SEX = "le" ARM_INSTRUCTION_SET = "thumb" diff --git a/conf/distro/slugos.conf b/conf/distro/slugos.conf index 16a5999738..964176a270 100644 --- a/conf/distro/slugos.conf +++ b/conf/distro/slugos.conf @@ -33,10 +33,14 @@ # The following must be set in the top level distro file: # #DISTRO_NAME -#DISTRO_VERSION #DISTRO_FEED #DISTRO_TYPE +# The following may be overridden to make sub-versions +SLUGOS_VERSION = "3.4" +DISTRO_REVISION ?= "" +DISTRO_VERSION ?= "${SLUGOS_VERSION}${DISTRO_REVISION}-${DISTRO_TYPE}" + # The following must also be set, they define the basic format of the build # #ARCH_BYTE_SEX "be" or "le" @@ -50,7 +54,6 @@ USE_NLS ?= "no" # To make errors easier to identify: DISTRO_NAME ?= "INVALID-${ARCH_BYTE_SEX}-${ARM_INSTRUCTION_SET}-${TARGET_OS}" -DISTRO_VERSION ?= "INVALID" DISTRO_FEED ?= "INVALID" DISTRO_TYPE ?= "INVALID" diff --git a/conf/distro/ucslugc.conf b/conf/distro/ucslugc.conf index 45daeb6632..52cc4ab106 100644 --- a/conf/distro/ucslugc.conf +++ b/conf/distro/ucslugc.conf @@ -4,7 +4,7 @@ # This is SLUGOS-BTU with a different name... DISTRO_NAME = "UcSlugC" -DISTRO_VERSION = "3.2-beta" +# DISTRO_VERSION = "${SLUGOS_VERSION}${DISTRO_REVISION}-${DISTRO_TYPE}" DISTRO_FEED = "unstable" DISTRO_TYPE = "beta" SLUGOS_IMAGENAME = "ucslugc" diff --git a/packages/initscripts/initscripts-1.0/slugos/checkroot.sh b/packages/initscripts/initscripts-1.0/slugos/checkroot.sh index c70855ee43..be640fd254 100644 --- a/packages/initscripts/initscripts-1.0/slugos/checkroot.sh +++ b/packages/initscripts/initscripts-1.0/slugos/checkroot.sh @@ -130,22 +130,14 @@ else echo "CONTROL-D will exit from this shell and REBOOT the system." echo leds system panic - beep -r 5 + leds beep -r 5 # Start a single user shell on the console if single_user_ok then - sulogin -t 600 $CONSOLE - # if this exits with SIGALRM (which happens to be 142) the - # timeout happened, do not, then, reboot! - if test $? -ne 142 - then - reboot -f - else - echo "/etc/init.d/checkroot.sh: sulogin timeout, continuing boot" - fi - else - echo "/etc/init.d/checkroot.sh: fsck failed, continuing boot" + sulogin -t 300 $CONSOLE + # assume the system is ok now... fi + echo "... continuing boot" fi else echo "*** ERROR! Cannot fsck root fs because it is not mounted read-only!" diff --git a/packages/initscripts/initscripts-slugos_1.0.bb b/packages/initscripts/initscripts-slugos_1.0.bb index df89fd161b..7a4f79c20b 100644 --- a/packages/initscripts/initscripts-slugos_1.0.bb +++ b/packages/initscripts/initscripts-slugos_1.0.bb @@ -11,7 +11,7 @@ RCONFLICTS = "initscripts" # All other standard definitions inherited from initscripts # Except the PR which is hacked here. The format used is # a suffix -PR := "${PR}.8" +PR := "${PR}.9" FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/${P}', '${FILE_DIRNAME}/initscripts-${PV}', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" |