From 7339ae4d183c1eae2b9a6fda4e084af58e6e67cf Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Wed, 24 May 2017 16:55:48 +0100 Subject: Add deployment target for devel-system BuildStream is soon going to gain built-in support for deploying images so this should be considered a temporary x86_64 only hack. It's based on instructions in the defs2bst README: https://gitlab.com/BuildStream/defs2bst/blob/master/README.rst --- files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf (limited to 'files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf') diff --git a/files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf b/files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf new file mode 100644 index 00000000..174f1f03 --- /dev/null +++ b/files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf @@ -0,0 +1,4 @@ +# If /usr/lib/shutdownramfs has been populated, copy it into /run/initramfs so +# /run/initramfs/shutdown will be executed on shut-down, so that it may unmount +# the rootfs. +C /run/initramfs - - - - /usr/lib/shutdownramfs -- cgit v1.2.1