summaryrefslogtreecommitdiffstats
path: root/package/skeleton-init-systemd
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2018-03-31 11:06:00 +0200
committerPeter Korsgaard <peter@korsgaard.com>2018-03-31 20:53:06 +0200
commitfcdf58cad101528345b88529763f430af5ee94dd (patch)
tree7e3e66a4dc46e1050512beed907d7e8e91b9681d /package/skeleton-init-systemd
parentbb2a57a17a71a53f823e2609ba08fa8c6bebe24a (diff)
downloadbuildroot-fcdf58cad101528345b88529763f430af5ee94dd.tar.gz
buildroot-fcdf58cad101528345b88529763f430af5ee94dd.zip
fs: get rid of package-provided post-fs hooks
Now that the pre-fs ones are run on a transient copy of target/, the post-fs hooks are no longer needed because we no longer need to restore the target/ directory as it is only a internal copy. Remove support for the post-fs hooks, and update the sole package using them. We do not add a legacy check because this was mostly a purely-internal detail that was never really exposed nor documented. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/skeleton-init-systemd')
-rw-r--r--package/skeleton-init-systemd/skeleton-init-systemd.mk6
1 files changed, 0 insertions, 6 deletions
diff --git a/package/skeleton-init-systemd/skeleton-init-systemd.mk b/package/skeleton-init-systemd/skeleton-init-systemd.mk
index ff64205cbe..5d6b716f7a 100644
--- a/package/skeleton-init-systemd/skeleton-init-systemd.mk
+++ b/package/skeleton-init-systemd/skeleton-init-systemd.mk
@@ -55,12 +55,6 @@ define SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR
endef
SKELETON_INIT_SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR
-define SKELETON_INIT_SYSTEMD_POST_ROOTFS_VAR
- rm -rf $(TARGET_DIR)/var
- mv $(TARGET_DIR)/usr/share/factory/var $(TARGET_DIR)/var
-endef
-SKELETON_INIT_SYSTEMD_ROOTFS_POST_CMD_HOOKS += SKELETON_INIT_SYSTEMD_POST_ROOTFS_VAR
-
endif
define SKELETON_INIT_SYSTEMD_INSTALL_TARGET_CMDS
OpenPOWER on IntegriCloud