On Sun, Apr 03, 2011 at 05:39:57PM +0200, Seblu wrote:
On Sun, Apr 3, 2011 at 5:04 PM, Dave Reisner d...@falconindy.com wrote:
On Sun, Apr 03, 2011 at 04:55:14PM +0200, Sebastien Luttringer wrote:
This job is done by recent version of udev in
/lib/udev/rules.d/64-md-raid.rules
On Fri, Apr 15, 2011 at 12:13:29AM +0200, Rémy Oudompheng wrote:
On Thu 14 April 2011 at 17:44 -0400, dave reisner wrote:
On Apr 14, 2011 5:28 PM, Thomas Bächler tho...@archlinux.org wrote:
I posted what I thought was a valid solution on FS#23467 from stack
overflow that seems
On Fri, Apr 15, 2011 at 10:06:55AM +0200, Thomas Bächler wrote:
Am 15.04.2011 02:24, schrieb Dave Reisner:
Yes, the idea is that the user is expected to escape their own
whitespace, just as they are expected to do so in /etc/fstab.
You don't understand the problem at all: We cannot simply
On Sun, Apr 24, 2011 at 09:44:48PM +0200, Seblu wrote:
On Sun, Apr 24, 2011 at 9:31 PM, Dave Reisner d...@falconindy.com wrote:
On Sun, Apr 24, 2011 at 09:28:00PM +0200, Seblu wrote:
On Sun, Apr 24, 2011 at 3:01 AM, Dave Reisner d...@falconindy.com wrote:
---
rc | 7 +--
1
cc199761f assumes that /etc/rc.d scripts will exit with a value of 0 or
1. Since this can't be guaranteed, clamp the return value to 0 or 1
before adding it to the exit value.
---
rc |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/rc b/rc
index 1e64119..54dc11c 100755
On Mon, Apr 25, 2011 at 12:07:07AM +0200, Seblu wrote:
On Sun, Apr 24, 2011 at 11:42 PM, Dave Reisner d...@falconindy.com wrote:
cc199761f assumes that /etc/rc.d scripts will exit with a value of 0 or
1. Since this can't be guaranteed, clamp the return value to 0 or 1
before adding
On Tue, Apr 26, 2011 at 12:52:30PM -0500, Dan McGee wrote:
On Tue, Apr 26, 2011 at 12:40 PM, Tom Gundersen t...@jklm.no wrote:
Here are some suggestions of what we can do (by order of preference),
feedback appreciated:
1) Make sure netcfg support all the usecases that initscripts does,
On Mon, May 02, 2011 at 03:16:56AM -0300, Gerardo Exequiel Pozzi wrote:
On 05/02/2011 01:22 AM, Dave Reisner wrote:
On Mon, May 02, 2011 at 12:40:14AM -0300, Gerardo Exequiel Pozzi wrote:
On 05/02/2011 12:39 AM, Gerardo Exequiel Pozzi wrote:
N0: udev= 168 is needed.
N1: I guess the order
On Mon, May 02, 2011 at 06:15:15AM -0400, Dave Reisner wrote:
On Mon, May 02, 2011 at 03:16:56AM -0300, Gerardo Exequiel Pozzi wrote:
On 05/02/2011 01:22 AM, Dave Reisner wrote:
On Mon, May 02, 2011 at 12:40:14AM -0300, Gerardo Exequiel Pozzi wrote:
On 05/02/2011 12:39 AM, Gerardo Exequiel
On Sun, May 08, 2011 at 04:50:32PM +0200, Pierre Schmitz wrote:
Hi all,
Looks like /run is writable by every user but also limited to 10MB.
This way you can run a dos attack on the system by filling this fs; even
by accident. Do we really need write access by every user?
Greetings,
On Tue, May 10, 2011 at 03:49:38PM +0200, Tom Gundersen wrote:
On Tue, May 10, 2011 at 3:02 PM, Dave Reisner d...@falconindy.com wrote:
Important: for your patchwork to be effective, we need to alter the udev
rules that reference load-modules.sh. If this isn't done for the
initcpio, you
On Wed, May 18, 2011 at 06:34:50PM +0200, Tom Gundersen wrote:
Hi guys,
Thanks to all of you who answered my many previous RFC's, I will
follow up on them with code soon :-)
In the last initscripts release I inedvertently introduced a bug where
/tmp is not cleared on boot if it is mounted
On Thu, May 19, 2011 at 12:53:13AM +0800, Auguste Pop wrote:
i have made a small patch to initscripts to allow for a simple bash
completion function.
i am not familiar with git, i made the patch by git clone, git branch,
git commit, and git show.
the patch is at
I'm resubmitting my work of migrating to iproute2 from net-tools at Tom's
request. It's pretty much the same, but with the feedback from Dan, I've added
some extremely simple deprecation logic to yell at the user when he or she is
still using the net-tools variables.
The new logic uses some
---
network|5 -
rc.sysinit |2 --
2 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/network b/network
index 5a261b4..9cd6109 100755
--- a/network
+++ b/network
@@ -210,11 +210,6 @@ case $1 in
fi
;;
stop)
- #if
On Sun, May 22, 2011 at 05:06:20PM +0200, Tom Gundersen wrote:
On Sun, May 22, 2011 at 4:43 PM, Dave Reisner d...@falconindy.com wrote:
I'm resubmitting my work of migrating to iproute2 from net-tools at Tom's
request. It's pretty much the same, but with the feedback from Dan, I've
added
On Sun, May 22, 2011 at 05:50:18PM +0200, Tom Gundersen wrote:
On Sun, May 22, 2011 at 4:43 PM, Dave Reisner d...@falconindy.com wrote:
Provide large warnings when net-tools functionality is used. Add
documentation in rc.conf for the new iproute2 based config.
Functionality looks great
On May 22, 2011 6:05 PM, Gaetan Bisson bis...@archlinux.org wrote:
[2011-05-22 10:43:17 -0400] Dave Reisner:
- yp-tools is currently in extra. we would need to bring this into core
in order
to support setting a domainname
I do not think yp-tools is really eligible to go to [core
On May 24, 2011 6:55 AM, Tom Gundersen t...@jklm.no wrote:
On Sun, May 22, 2011 at 4:43 PM, Dave Reisner d...@falconindy.com wrote:
I'm resubmitting my work of migrating to iproute2 from net-tools at
Tom's
request. It's pretty much the same, but with the feedback from Dan, I've
added
some
On Thu, May 26, 2011 at 10:07:23PM -0400, Eric Bélanger wrote:
Signed-off-by: Eric Bélanger snowmanisc...@gmail.com
---
rc.d |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/rc.d b/rc.d
index 55871b1..97f266a 100755
--- a/rc.d
+++ b/rc.d
@@ -52,7 +52,12 @@
Signed-off-by: Dave Reisner d...@falconindy.com
---
Sorry to sneak this in -- I should have noticed it earlier. This is simply a
continuation of my crusade against eval, which would happily go to town with
word splitting.
As this conflicts with Eric's patch, one of us will need to refactor
We already have /tmp and /dev/shm as world writeable directories with
exec permissions, so it doesn't necessarily make sense to inhibit exec
here. There also might be use cases where running one-off programs from
/run might make sense.
Signed-off-by: Dave Reisner d...@falconindy.com
Signed-off-by: Dave Reisner d...@falconindy.com
---
rc.d |4 ++--
rc.sysinit | 23 ---
2 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/rc.d b/rc.d
index 772f2c6..f0c5204 100755
--- a/rc.d
+++ b/rc.d
@@ -56,9 +56,9 @@ case $1 in
cd
.
This mirrors a commit to initscripts which makes the same change to
/etc/rc.sysinit
Signed-off-by: Dave Reisner d...@falconindy.com
---
init |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/init b/init
index a99940a..87ff187 100644
--- a/init
+++ b/init
@@ -17,7 +17,7 @@ else
blacklisting.
Signed-off-by: Dave Reisner d...@falconindy.com
---
This is some low hanging fruit I noticed after the last patch I submitted.
Requires module-init-tools 3.13.
init | 12 ++--
1 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/init b/init
index 87ff187..d2c2d9b
Hi all,
Sharing some wisdom from my adventures with geninit[1] -- the attached patches
refactor some of the more critical pieces of module discovery: all_modules,
checked_modules, and auto_modules. The last patch is just another bit of low
hanging froot I thought I'd knock off.
Using HOOKS=base
Signed-off-by: Dave Reisner d...@falconindy.com
---
mkinitcpio |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/mkinitcpio b/mkinitcpio
index 0ebf7c9..d6f3f04 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -275,9 +275,9 @@ if [ ${HAS_MODULES} = y ]; then
install
sanitize and print during module discovery. We also strip path names
during this process and null terminate path names for safety.
Signed-off-by: Dave Reisner d...@falconindy.com
---
functions | 13 +
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/functions b
Patches 1 and 2 are a rework of early patches that address concerns Thomas had.
The third patch is a change similar to patch 2 which loads all earlymodules=
at once, instead of looping. I don't notice any difference in runtime for
early userspace with the binary depmod files, but this definitely
This is no longer supported, as m-i-t supports modprobe.blacklist=
syntax on the kernel cmdline. We load all modules from the config at
once with --all and --use-blacklist flags in order to honor the cmdline
blacklisting.
Signed-off-by: Dave Reisner d...@falconindy.com
---
init | 14
We preserve TERM, but everything else can be destroyed from the
environment.
Signed-off-by: Dave Reisner d...@falconindy.com
---
init |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/init b/init
index 67039c8..db93e9b 100644
--- a/init
+++ b/init
@@ -112,4 +112,4
/sys/class/block contains all of our block devices, including the
partitions of each parent block device, so directly check for the
existance of the dev file rather than looping.
Signed-off-by: Dave Reisner d...@falconindy.com
---
init_functions | 14 +-
1 files changed, 5
Instead of dynamically creating variables to test against, simply remove
the read permission from the hook.
Signed-off-by: Dave Reisner d...@falconindy.com
---
init | 21 -
1 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/init b/init
index 1f6bc4e..67039c8
use blkid to resolve a tag name to a block device.
Signed-off-by: Dave Reisner d...@falconindy.com
---
init_functions |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/init_functions b/init_functions
index be3599e..f9f1742 100644
--- a/init_functions
+++ b
On Sat, Jun 04, 2011 at 01:17:58PM -0400, Dave Reisner wrote:
Instead of dynamically creating variables to test against, simply remove
the read permission from the hook.
Signed-off-by: Dave Reisner d...@falconindy.com
---
init | 21 -
1 files changed, 8 insertions
On Sat, Jun 04, 2011 at 07:34:37PM +0200, Tom Gundersen wrote:
On Sat, Jun 4, 2011 at 7:17 PM, Dave Reisner d...@falconindy.com wrote:
2/4: support identifying root by tag name. There's a bit of a conflict
here, though. The kernel will support mounting root when provided as
PARTUUID
Upstream already supports this via the loglevel= parameter on the kernel
cmdline, so we should support using this instead of our own homegrown
solution.
Signed-off-by: Dave Reisner d...@falconindy.com
---
This conflicts with one of the other patches I sent 2 days ago, but I guess I'd
rather see
On Sat, Jun 04, 2011 at 08:45:25PM +0200, Tom Gundersen wrote:
On Sat, Jun 4, 2011 at 8:22 PM, Dave Reisner d...@falconindy.com wrote:
Upstream already supports this via the loglevel= parameter on the kernel
cmdline, so we should support using this instead of our own homegrown
solution
On Sat, Jun 04, 2011 at 11:40:04PM +0200, Seblu wrote:
On Sat, Jun 4, 2011 at 8:22 PM, Dave Reisner d...@falconindy.com wrote:
Upstream already supports this via the loglevel= parameter on the kernel
cmdline, so we should support using this instead of our own homegrown
solution.
Hi Dave
On Sat, Jun 04, 2011 at 01:17:59PM -0400, Dave Reisner wrote:
use blkid to resolve a tag name to a block device.
Signed-off-by: Dave Reisner d...@falconindy.com
---
init_functions |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/init_functions b
cleanup the logical flow through this function and remove a lot
of cruft that would always return true, or that didn't quite make sense.
Signed-off-by: Dave Reisner d...@falconindy.com
---
functions | 48 +---
1 files changed, 17 insertions(+), 31 deletions
Signed-off-by: Dave Reisner d...@falconindy.com
---
mkinitcpio.conf |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/mkinitcpio.conf b/mkinitcpio.conf
index 52abd56..b1fd521 100644
--- a/mkinitcpio.conf
+++ b/mkinitcpio.conf
@@ -60,7 +60,8 @@ HOOKS=base udev autodetect
update the example.preset to show this syntax as an alternative
Signed-off-by: Dave Reisner d...@falconindy.com
---
mkinitcpio | 29 -
mkinitcpio.d/example.preset |2 +-
2 files changed, 29 insertions(+), 2 deletions(-)
diff --git a/mkinitcpio
On Mon, Jun 06, 2011 at 09:13:50PM +0200, Tom Gundersen wrote:
On Mon, Jun 6, 2011 at 5:30 PM, Dave Reisner d...@falconindy.com wrote:
This is a departure from using gen_init_cpio, which proved to be a huge
bottleneck in performance. Tests for existance change from being a call
to grep
Signed-off-by: Dave Reisner d...@falconindy.com
---
init |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/init b/init
index f63cbaf..1f6bc4e 100644
--- a/init
+++ b/init
@@ -46,9 +46,7 @@ if [ -n ${disablehooks} ]; then
fi
if [ -n ${earlymodules} ]; then
-for m
At Thomas's request, this is a resend of the patchwork that precedes the patch
series to kill off gen_init_cpio.
I've made some minor tweaks, the only notable one being that I've dropped
support for PARTUUID= out of patch 7. It's not right to use PARTUUID as a
synonym for UUID because PARTUUID
/sys/class/block contains all of our block devices, including the
partitions of each parent block device, so directly check for the
existance of the dev file rather than looping.
Signed-off-by: Dave Reisner d...@falconindy.com
---
init_functions | 14 +-
1 files changed, 5
On Wed, Jun 08, 2011 at 01:32:36PM +0200, Andrwe wrote:
Hi,
I've improved the bash-completion of rc.d.
I created a patch for latest git
(https://github.com/seblu/arch-initscripts/tree/).
The patched version extracts all actions of an initscript and adds
them to the list of possible
On Wed, Jun 08, 2011 at 01:32:36PM +0200, Andrwe wrote:
So here is a version which should satisfy your hints.
Why should I always use an array?
It's easier to manipulate a string using bash internals than
manipulating an array.
Because of that I had to remove a functionality of the script
This is never used by anything in the official repos. Kill it with
fire.
Signed-off-by: Dave Reisner d...@falconindy.com
---
functions | 10 --
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/functions b/functions
index dba647a..03be8cc 100644
--- a/functions
+++ b
This should be set via the loglevel= parameter on the kernel cmdline.
Signed-off-by: Dave Reisner d...@falconindy.com
---
hooks/dmesg |5 -
install/dmesg | 19 ---
2 files changed, 0 insertions(+), 24 deletions(-)
delete mode 100644 hooks/dmesg
delete mode 100644
On Tue, Jun 14, 2011 at 12:32:22AM +0200, Sebastien Luttringer wrote:
Function all_modules() doesn't correctly detect module extension.
It's a one char removing patch.
Signed-off-by: Sebastien Luttringer se...@seblu.net
---
functions |2 +-
1 files changed, 1 insertions(+), 1
On Sun, Jun 19, 2011 at 07:09:15PM +0200, Seblu wrote:
On Sun, Jun 19, 2011 at 6:59 PM, Tom Gundersen tome...@archlinux.org wrote:
commit fe48fab2c2c35ccbfa3eec436d40739bc4b486da
Author: Dave Reisner d...@falconindy.com
Date: Sun Jun 19 09:04:24 2011 -0400
rc.sysinit: avoid use
On Sat, Jun 25, 2011 at 03:17:40PM +0200, Kurt J. Bosch wrote:
From: Kurt J. Bosch kjb-temp-2...@alpenjodel.de
---
rc.sysinit |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/rc.sysinit b/rc.sysinit
index 4073fb9..75f8095 100755
--- a/rc.sysinit
+++
On Sat, Jun 25, 2011 at 12:15:54PM +0200, Kurt J. Bosch wrote:
---
rc.sysinit | 28
1 files changed, 16 insertions(+), 12 deletions(-)
diff --git a/rc.sysinit b/rc.sysinit
index 50a8faf..225790d 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -197,12 +197,14
On Sat, Jun 25, 2011 at 12:16:03PM +0200, Kurt J. Bosch wrote:
---
functions |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/functions b/functions
index 86b9602..2e4ba42 100644
--- a/functions
+++ b/functions
@@ -62,9 +62,7 @@ unset TERM_COLORS
unset TZ
On Sat, Jun 25, 2011 at 12:15:57PM +0200, Kurt J. Bosch wrote:
* run postfsck hook within stat block as for prefsck
* run prekillall hook out of stat blocks as for postkillall
(revert obsolete e39ec61b7d642b36368d84f240b96eeda3c43b2f)
---
functions |9 +
1 files changed, 5
From: Dave Reisner d...@falconindy.com
Signed-off-by: Dave Reisner d...@falconindy.com
---
functions |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/functions b/functions
index ab0f850..ee6921c 100644
--- a/functions
+++ b/functions
@@ -69,7 +69,7 @@ auto_modules
From: Dave Reisner d...@falconindy.com
This will force the doc to be regenerated if there is a version bump in
the Makefile.
Signed-off-by: Dave Reisner d...@falconindy.com
---
Makefile |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index b77e088
From: Dave Reisner d...@falconindy.com
Bashify and refactor to cut back on unnecessary churn. Since our
{all,checked}_modules functions always return clean module names, we can
add these directly to the autodetect file instead of aggregating them
during the autodetect hook and then cleansing one
On Sat, Jun 25, 2011 at 11:25:23PM +0200, Kurt J. Bosch wrote:
Dave Reisner, 2011-06-25 16:27:
On Sat, Jun 25, 2011 at 03:38:52PM +0200, Kurt J. Bosch wrote:
Dave Reisner, 2011-06-25 15:27:
On Sat, Jun 25, 2011 at 03:17:40PM +0200, Kurt J. Bosch wrote:
From: Kurt J. Boschkjb-temp-2
On Sun, Jun 26, 2011 at 07:18:07PM +0200, Seblu wrote:
On Sun, Jun 26, 2011 at 7:08 PM, Kurt J. Bosch
kjb-temp-2...@alpenjodel.de wrote:
---
rc.sysinit | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/rc.sysinit b/rc.sysinit
index a6a5fa5..2d0fdc1 100755
Had some amazing help from Gerardo to polish up $BASEDIR. He made a couple of
images from outside of a root and was able to boot off them. I've verified
on my end that after these changes we're still able make a useable image for
the simple testcase.
Yay teamwork!
Dave Reisner (5):
functions
Without this, we hit an infinte loop and crash when a legacy 'install'
function in a hook is encountered.
Thanks-to: Gerardo Exequiel Pozzi vmlinuz...@yahoo.com.ar
Signed-off-by: Dave Reisner dreis...@archlinux.org
---
functions |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff
Thanks-to: Gerardo Exequiel Pozzi vmlinuz...@yahoo.com.ar
Signed-off-by: Dave Reisner dreis...@archlinux.org
---
functions |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/functions b/functions
index 54442c8..9c095bc 100644
--- a/functions
+++ b/functions
@@ -182,7
The _add_dir call is all wrong. The necessary paths are created by
reversing the order of the _add_symlink and _add_file calls, as
_add_file will take care of creating parent directories.
Thanks-to: Gerardo Exequiel Pozzi vmlinuz...@yahoo.com.ar
Signed-off-by: Dave Reisner dreis...@archlinux.org
On Mon, Jun 27, 2011 at 07:11:13PM +0200, Kurt J. Bosch wrote:
---
functions |4
rc.sysinit | 12 ++--
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/functions b/functions
index cdb048a..0776ae4 100644
--- a/functions
+++ b/functions
@@ -210,6 +210,7
On Mon, Jun 27, 2011 at 07:11:09PM +0200, Kurt J. Bosch wrote:
---
rc.sysinit | 28
1 files changed, 16 insertions(+), 12 deletions(-)
diff --git a/rc.sysinit b/rc.sysinit
index c665787..0d94177 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -197,12 +197,14
compared to the previous implementation.
Signed-off-by: Dave Reisner dreis...@archlinux.org
---
This is one possible solution -- and it's basically what we relied on pre 0.7,
but
slightly cleaner. There _is_ a small loss of performance, but it's the price
we pay. I think this is a preferrably
Cut back to a single call to modinfo, instead of 3, which yields roughly
a 30% decrease in execution time for a single run of add_module. This of
course varies by module but it's an overall win.
Suggested-by: Dan McGee d...@archlinux.org
Signed-off-by: Dave Reisner dreis...@archlinux.org
On Thu, Jun 30, 2011 at 10:55:22PM -0400, Dave Reisner wrote:
On Thu, Jun 30, 2011 at 11:47:49PM -0300, Gerardo Exequiel Pozzi wrote:
Signed-off-by: Gerardo Exequiel Pozzi vmlinuz...@yahoo.com.ar
---
mkinitcpio |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git
On Sat, Jul 02, 2011 at 11:49:29PM +0200, Kurt J. Bosch wrote:
killall5 returns 2 if it didn't find any processes to send to. Using this
avoids sleeping longer than needed. This saves another up to six seconds of
reboot/shutdown/go-single time.
---
functions | 17 +++--
1
On Sun, Jul 10, 2011 at 06:27:48PM +0200, Florian Pritz wrote:
Signed-off-by: Florian Pritz bluew...@xinu.at
---
Makefile | 14 +-
1 files changed, 5 insertions(+), 9 deletions(-)
Ack.
dave
You've got large quantities of non-functional changes in here
(whitespace churn), mixed in with reverts to your previous attempts at
turning everything into a single line. Can we pick a direction and stick
with it? This all seems like a lot of cleverness to accomplish...
well... I'm not sure.
On Tue, Jul 12, 2011 at 10:58:36AM +0200, Kurt J. Bosch wrote:
The rules should be:
* Use quotes when literal strings are involved.
* Use quotes when ever using a substitution which might produce blanks
as a possitional parameter unless word splitting is intended.
* Don't use quotes for
On Fri, Jul 22, 2011 at 03:10:58PM +0200, Tom Gundersen wrote:
On Fri, Jul 22, 2011 at 2:58 PM, Tom Gundersen t...@jklm.no wrote:
On Fri, Jul 22, 2011 at 1:45 PM, Tom Gundersen t...@jklm.no wrote:
Enabling the shutdown hook and using systemd v31
(which is yet to be released), means that on
On Sat, Jul 23, 2011 at 01:23:41AM +0200, Tom Gundersen wrote:
Enabling the shutdown hook and using systemd v31
(which is yet to be released), means that on shutdown the root
will be pivoted to /run/initramfs, from where the rootfs and
all its submonuts (such as /usr) are unmounted cleanly.
This is a bunch of nitpicks, but there are a few new features thrown in.
Annotations along the way...
Dave Reisner (13):
install/consolefont: cleanup and refactor
keymap/consolefont: source rc.conf properly from $BASEDIR
keymap: simplify unicode detection
cleanup and bashify install hooks
* Provide support for uncompressed font files as well as compressed
* Avoiding using an unnecessary temp file
* Support $BASEDIR
* Warn when no font is found
* Only add the runtime hook if a font is added
Signed-off-by: Dave Reisner dreis...@archlinux.org
---
install/consolefont | 52
This is partially in response to FS#24685, which should hopefully cut
back on configuration duplication on non-sysvinit systems. This does,
however, also fix a bug with keymap/consolefont pulling the wrong
rc.conf when BASEDIR is not '/' or unset.
Signed-off-by: Dave Reisner dreis
Signed-off-by: Dave Reisner dreis...@archlinux.org
---
hooks/keymap | 11 +++
install/keymap |8 +++-
2 files changed, 6 insertions(+), 13 deletions(-)
diff --git a/hooks/keymap b/hooks/keymap
index 3593168..14f20a1 100644
--- a/hooks/keymap
+++ b/hooks/keymap
@@ -3,14 +3,9
Also make sure that simple variables are declared as null strings.
Signed-off-by: Dave Reisner dreis...@archlinux.org
---
functions | 12 +---
mkinitcpio |4 ++--
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/functions b/functions
index c7e167e..69a4aad 100644
From: Dave Reisner d...@falconindy.com
Make sure these are completely safe for user input. Use the same three
step process in both cases:
1) Strip any trailing slash
2) Trim the string according to base/dir request
3) Print the result, defaulting to / if step 2 yielded an empty string
Signed
Add in 'premount' and 'postmount' as trigger conditions, but also leave
in the old 'y' value as a synonym for premount.
Signed-off-by: Dave Reisner dreis...@archlinux.org
---
I'm not sold on the location of the post-mount break. Do we perhaps want to do
this absolutely last before we exec
Signed-off-by: Dave Reisner dreis...@archlinux.org
---
mkinitcpio |7 +--
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/mkinitcpio b/mkinitcpio
index 82faaaf..dd67030 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -108,12 +108,7 @@ while getopts ':c:k:sb:g:p:m:nvH:LMhS:t:z
We'll need this to do some shutdown magic of pivoting and umounting root
on shutdown. This is already done in initscripts.
Signed-off-by: Dave Reisner dreis...@archlinux.org
---
init |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/init b/init
index a0e082e..ff4917a
Signed-off-by: Dave Reisner dreis...@archlinux.org
---
I can see this being useful for one-off images made outside the context of a
preset, but this might also just be some oddball feature that never gets used.
mkinitcpio |8 +---
mkinitcpio.5.txt |5 +
2 files changed, 10
control, since we still check for the possibility of
these directories being symlinks and adjust accordingly.
Signed-off-by: Dave Reisner dreis...@archlinux.org
---
Tom and I talked about this tonight and I volunteered to hack it up. It's a
simple but fairly substantial framework for handling
Signed-off-by: Dave Reisner dreis...@archlinux.org
---
tmpfiles.conf |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tmpfiles.conf b/tmpfiles.conf
index f7db5a0..7dd1358 100644
--- a/tmpfiles.conf
+++ b/tmpfiles.conf
@@ -11,7 +11,7 @@ d /tmp/.XIM-unix1777 root root
On Tue, Jul 26, 2011 at 12:25:27AM -0400, Dave Reisner wrote:
Signed-off-by: Dave Reisner dreis...@archlinux.org
---
tmpfiles.conf |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tmpfiles.conf b/tmpfiles.conf
index f7db5a0..7dd1358 100644
--- a/tmpfiles.conf
We still default to listing all daemons if none are specified.
Signed-off-by: Dave Reisner dreis...@archlinux.org
---
rc.d |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/rc.d b/rc.d
index a7b214e..bfc4719 100755
--- a/rc.d
+++ b/rc.d
@@ -33,7 +33,12 @@ case $1
On Sun, Jul 31, 2011 at 03:04:05PM +0200, Lukas Fleischer wrote:
On Sun, Jul 31, 2011 at 08:35:01AM -0400, Dave Reisner wrote:
We still default to listing all daemons if none are specified.
Signed-off-by: Dave Reisner dreis...@archlinux.org
---
rc.d |7 ++-
1 files changed
On Tue, Aug 02, 2011 at 05:10:48PM +0200, Tom Gundersen wrote:
Hi guys,
I have been thinking about sorting out /usr being a separate
mountpoint. Mainly because I keep getting bug reports that turn out to
be caused by this.
The current status is that we move some tools from /usr to / in
On Tue, Aug 02, 2011 at 05:40:06PM +0200, Thomas Bächler wrote:
Am 02.08.2011 17:10, schrieb Tom Gundersen:
This website created by the systemd folks sums it up nicely (just
replace systemd with initscripts everywhere):
On Tue, Aug 09, 2011 at 10:53:44PM +0200, Lukas Fleischer wrote:
Local source files, as well as install and changelog files used to have
separate version control checks. Move them into a single loop.
Signed-off-by: Lukas Fleischer archli...@cryptocrack.de
---
commitpkg | 16
On Mon, Aug 15, 2011 at 03:33:28PM +0200, Lukas Fleischer wrote:
On Mon, Aug 15, 2011 at 03:27:27PM +0200, Lukas Fleischer wrote:
On Mon, Aug 15, 2011 at 03:12:45PM +0200, Pierre Schmitz wrote:
On Mon, 15 Aug 2011 09:47:16 +0200, Lukas Fleischer wrote:
Commit
From: Dave Reisner d...@falconindy.com
Signed-off-by: Dave Reisner d...@falconindy.com
---
commitpkg |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/commitpkg b/commitpkg
index bdc1fd6..d37babf 100755
--- a/commitpkg
+++ b/commitpkg
@@ -97,9 +97,9 @@ for i
Signed-off-by: Dave Reisner dreis...@archlinux.org
---
I'll cut the person who wants to commit an odd filename to svn (e.g. something
with whitespaces), but archrelease shouldn't care about this.
archrelease |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git
Signed-off-by: Dave Reisner dreis...@archlinux.org
---
Less forking, more bashing.
archrelease | 20 +++-
1 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/archrelease b/archrelease
index 20ccd50..24e950c 100755
--- a/archrelease
+++ b/archrelease
@@ -5,48 +5,50
Signed-off-by: Dave Reisner dreis...@archlinux.org
---
archrelease |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/archrelease b/archrelease
index 24e950c..af75b8f 100755
--- a/archrelease
+++ b/archrelease
@@ -46,13 +46,13 @@ if [[ ! -d repos/$1
1 - 100 of 539 matches
Mail list logo