From f07be1bf45bb15a6affed098f732a2d23457e15a Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sun, 26 Dec 2010 12:43:15 +0100 Subject: [PATCH] Install a (auto)mount unit to mount /lib/init/rw early during boot. --- debian/changelog | 1 + debian/lib-init-rw.automount | 14 ++++++++++++++ debian/lib-init-rw.mount | 9 +++++++++ 3 files changed, 24 insertions(+) create mode 100644 debian/lib-init-rw.automount create mode 100644 debian/lib-init-rw.mount diff --git a/debian/changelog b/debian/changelog index 4d5d6143..a2cdceaa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,6 +11,7 @@ systemd (13-1) experimental; urgency=low * Revert upstream change which requires libnotify 0.7 (not yet available in Debian). * Use dh-autoreconf for updating the build system. + * Install a (auto)mount unit to mount /lib/init/rw early during boot. -- Tollef Fog Heen Sat, 20 Nov 2010 09:28:01 +0100 diff --git a/debian/lib-init-rw.automount b/debian/lib-init-rw.automount new file mode 100644 index 00000000..10040aed --- /dev/null +++ b/debian/lib-init-rw.automount @@ -0,0 +1,14 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +[Unit] +Description=Debian early rw Automount Point +DefaultDependencies=no +Before=basic.target + +[Automount] +Where=/lib/init/rw diff --git a/debian/lib-init-rw.mount b/debian/lib-init-rw.mount new file mode 100644 index 00000000..ee42e2b8 --- /dev/null +++ b/debian/lib-init-rw.mount @@ -0,0 +1,9 @@ +[Unit] +Description=Debian early rw mount +DefaultDependencies=no + +[Mount] +What=tmpfs +Where=/lib/init/rw +Type=tmpfs +Options=mode=0755,nosuid -- 2.39.5