summaryrefslogtreecommitdiff
path: root/packages/openslug-init/openslug-init_0.10.bb
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-06-11 00:06:10 +0000
committerJohn Bowler <jbowler@nslu2-linux.org>2005-06-11 00:06:10 +0000
commit7ff6b6a715852b1c7f56d6a30d42d54105bcc0a4 (patch)
tree338e32aa62856742cf73c97bd7dbd5b9940e882a /packages/openslug-init/openslug-init_0.10.bb
parent38adae358e41cd43d6c8c79a317e37e4a360af2b (diff)
Implementation of reflash without RedBoot/upslug.
Very limited testing. To try it run 'reflash help'. BKrev: 42aa2af2mr4JkjqtkaV8hSbfxSC9bw
Diffstat (limited to 'packages/openslug-init/openslug-init_0.10.bb')
-rw-r--r--packages/openslug-init/openslug-init_0.10.bb14
1 files changed, 8 insertions, 6 deletions
diff --git a/packages/openslug-init/openslug-init_0.10.bb b/packages/openslug-init/openslug-init_0.10.bb
index 576fbb587d..7b366b2173 100644
--- a/packages/openslug-init/openslug-init_0.10.bb
+++ b/packages/openslug-init/openslug-init_0.10.bb
@@ -3,7 +3,7 @@ SECTION = "console/network"
LICENSE = "GPL"
DEPENDS = "base-files devio"
RDEPENDS = "busybox devio"
-PR = "r28"
+PR = "r29"
SRC_URI = "file://linuxrc \
file://boot/flash \
@@ -21,17 +21,18 @@ SRC_URI = "file://linuxrc \
file://initscripts/sysconfsetup \
file://initscripts/umountinitrd.sh \
file://functions \
+ file://conffiles \
file://turnup \
+ file://reflash \
file://modprobe.conf \
file://leds.h \
file://leds.c \
- file://kern_header.c \
- file://update-kernel"
+ "
SBINPROGS = "leds"
-USRSBINPROGS = "kern_header"
+USRSBINPROGS = ""
CPROGS = "${USRSBINPROGS} ${SBINPROGS}"
-SCRIPTS = "turnup update-kernel"
+SCRIPTS = "turnup reflash"
BOOTSCRIPTS = "flash disk nfs ram network udhcpc.script"
INITSCRIPTS = "syslog.buffer syslog.file syslog.network zleds\
leds_startup rmrecovery sysconfsetup umountinitrd.sh"
@@ -97,6 +98,7 @@ do_install() {
done
# Configuration files
+ install -m 0644 conffiles ${D}${sysconfdir}/default
install -m 0644 modprobe.conf ${D}${sysconfdir}/
set +ex
@@ -137,4 +139,4 @@ FILES_${PN} = "/"
# It is bad to overwrite /linuxrc as it puts the system back to
# a flash boot (and the flash has potentially not been upgraded!)
-CONFFILES_${PN} = "${sysconfdir}/modprobe.conf /linuxrc"
+CONFFILES_${PN} = "${sysconfdir}/modprobe.conf /linuxrc ${sysconfdir}/default/conffiles"