summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initscripts
Commit message (Collapse)AuthorAgeFilesLines
* initscripts: test whether /etc/init.d/hwclock.sh existsAndreas Oberritter2012-03-132-3/+3
| | | | | | | | | | * bootmisc.sh executes /etc/init.d/hwclock.sh, which is optional (depends on CONFIG_HWCLOCK in busybox). (From OE-Core rev: 9c8300f030b69652ad39e1bc2979f5d9a03adf1e) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Create the volatiles cache atomically.James Limbouris2012-03-022-5/+7
| | | | | | | | | | | If a machine loses power while building the volatiles cache, it will continue to operate with an incomplete set of volatiles. Fix this by updating atomically. (From OE-Core rev: a60432ff4588390f5f955a6da234298e958546e6) Signed-off-by: James Limbouris <james@digitalmatter.com.au> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Properly format date when set from timestampGary Thomas2012-03-012-2/+2
| | | | | | | | | Reformat date, as stored in /etc/timestamp, to match CLI format. (From OE-Core rev: 7aa4c51089cc4a2811bd11842647839d1e4b1e95) Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: mount and unmount cifs network filesystemsAndreas Oberritter2012-02-243-3/+9
| | | | | | | | | * Added cifs to mountnfs.sh and umountnfs.sh. (From OE-Core rev: c44e51f281101c8933679f679e3d4a75a41bedf7) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Make /etc/timestamp consistent again.Gary Thomas2012-02-233-4/+4
| | | | | | | | | | | | | | | | | Commit cc8695 changed the way timestamps were handled and added some extra munging to be able to compare them reliably. This change makes the timestamp value the same everywhere and simplifies how the check to set the system clock based on the timestamp is done. Also, if the value stored in /etc/timestamp is newer [at all] than the current system time, set the system clock from the stored value, down to the minute, not just the day. (From OE-Core rev: 5aab6653c9afa05e7c1b3ccd6bd34aec05c2a6f8) Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: remove space from shebang, just cosmeticsMartin Jansa2012-01-2410-10/+10
| | | | | | | | | * at least in initscripts it's consistent now (From OE-Core rev: 20d5effcf192d469883b5ac899cbd2340b71bd2c) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: add shebang where it was missing completelyMartin Jansa2012-01-247-0/+7
| | | | | | | (From OE-Core rev: d58fc7a3ccede8706bf6a6aa7f7301f716128db8) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: avoid mounting /sys if it is already mountedOtavio Salvador2012-01-062-3/+3
| | | | | | | (From OE-Core rev: fdb3d74458cd36a0fe53ee097394acc37d658ce9) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: fix timestamp checking at bootmisc.shLauri Hintsala2011-12-151-4/+3
| | | | | | | | | | | | Timestamp checking has been broken by the commit 2078af333d704fd894a2dedbc19cef5775cdadbb. Currently the RTC time is always overwritten with the time from /etc/timestmap. Fix timestamp checking and clean the code. (From OE-Core rev: cc8695f22bc70ef958f81d0d3da73dece5f4700a) Signed-off-by: Lauri Hintsala <lauri.hintsala@bluegiga.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* The Skeleton initscript doesn't work on minimal imageRobert Yang2011-08-151-2/+3
| | | | | | | | | | | | | Fixes bug [YOCTO #1165] The /etc/init.d/skeleton doesn't work on minimal image, this is because of the pidofproc doesn't return "$?" correctly, so store $? in the variable status would fix it. (From OE-Core rev: 4d31193a6969df25bb85a9862b7295e85dcec04b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop PRIORITY variableRichard Purdie2011-07-011-1/+0
| | | | | | | | | | | | | | | | As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. (From OE-Core rev: d122343362669c683acc4af295971a62cbc823fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscript: Change some order of init scriptsDongxiao Xu2011-06-291-3/+3
| | | | | | | | | | | | Move udev script to execute ealier since module autoload needs it to create device nodes. Also move sysfs before udev which has dependency on it. (From OE-Core rev: fe7cef6febdb938b535259b09690192b17074314) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: makedevs is no longer used anywhere so drop dependency. Also ↵Richard Purdie2011-06-131-3/+3
| | | | inhibit compiler/libc dependencies as they're unused
* Add pidofproc to ${sysconfdir}/init.d/functionsRobert Yang2011-05-181-2/+30
| | | | | | | | | | | Add pidofproc to ${sysconfdir}/init.d/functions, this is used for getting the pid of the process. It uses pidof to implement currently, it may also use the pidfile or ps to implement in the future. (From OE-Core rev: 114a11628fb04c30cc96c9fd23db7a7fbc4fd02e) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Cleanup the whitespace in functionsRobert Yang2011-05-181-5/+6
| | | | | | | | | | Cleanup the whitespace in functions, replace the 4 whitespaces indent with tab. (From OE-Core rev: 60df57a54ebfe8fa1c1574bcd7900c58810aa2d2) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upstream-Status update for several recipesYu Ke2011-05-171-0/+2
| | | | | | | | | | | | | | | | - modutils - module-init-tools - libacpi - keymaps - initscripts - console-tools - mesa-demos - xserver-xf86-lite (From OE-Core rev: 46ea0444276c67b1489004e959bcf34970cd6c60) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: remove -i from halt/reboot arguments and allow overridePaul Eggleton2011-05-053-3/+10
| | | | | | | | | | | | | | Introduces a variable HALTARGS which specifies the arguments sent to halt and reboot, and sets the default value to "-d -f", dropping the previous -i (shut down all network interfaces before halt/reboot, which causes a freeze with NFS root.) Fixes [YOCTO #997]. (From OE-Core rev: ace183894a5319cd73c94fd2653bbe52f29dca0b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Drop outdated machine specific filesRichard Purdie2011-04-216-557/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Make umountfs a bit more robust, bump PRTom Rini2011-03-182-4/+4
| | | | | | | | | | | Avoids error messages on shutdown. Imported from OE commit 072cad0100fd828e7fee8f3fa3ade23e4306b394 (From OE-Core rev: 5188687660f5aa37014aac50c43e141f032455d7) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* RDEPENDS, RRECOMMENDS -> RDPEPENDS_${PN}, RRECOMMENDS_${PN}Koen Kooi2010-12-301-2/+2
| | | | | | | For these recipes the dependencies listed in RDEPENDS and RRECOMMENDS only apply to ${PN} Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* initscripts:Add a patch of GPLv2 license and its checksum to bb fileMei Lei2010-12-062-1/+348
| | | | | | Add this GPLv2 patch for local recipes license checksum Signed-off-by: Mei Lei <lei.mei@intel.com>
* image.bbclass/initscripts: Make /etc/timestamp usage consistent.Gary Thomas2010-11-142-5/+5
| | | | | | | | | | | | Timestamp is kept in UTC Remove superfluous 'create_etc_timestamp()' function - seems to be a duplicate of 'rootfs_update_timestamp()' Remove External function reference [sgw@linux.intel.com: merged 2 patches and cleanup commit message] Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* recipes-core: Cleanup package descriptions and summariesMark Hatle2010-10-111-1/+2
| | | | | | | | | [BUGID #281] Evaluate and update each package in recipes-core to ensure they have a consistent summary and description. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* bootmisc.h: use "date -s" to set timeKevin Tian2010-09-031-1/+1
| | | | | | | | | | without "-s", 201009031653 would be interpreted incorrectly by date and then we saw below warning: date: invalid date 165320100903 Fix [BUGID #265] Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* Major layout change to the packages directoryRichard Purdie2010-08-2732-0/+1850
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>