@@ -1010,6 +1010,7 @@ F: package/pkg-perl.mk
F: package/pkg-luarocks.mk
F: package/quickjs/
F: package/rings/
+F: package/skeleton-init-portable
F: package/tekui/
F: package/wpebackend-fdo/
F: package/wpewebkit/
@@ -6,6 +6,7 @@ menu "Target packages"
source "package/skeleton-init-common/Config.in"
source "package/skeleton-init-none/Config.in"
source "package/skeleton-init-openrc/Config.in"
+ source "package/skeleton-init-portable/Config.in"
source "package/skeleton-init-systemd/Config.in"
source "package/skeleton-init-sysv/Config.in"
new file mode 100644
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_SKELETON_INIT_PORTABLE
+ bool
+ select BR2_PACKAGE_HAS_SKELETON
+ select BR2_PACKAGE_SKELETON_INIT_COMMON
+
+config BR2_PACKAGE_PROVIDES_SKELETON
+ default "skeleton-init-portable" if BR2_PACKAGE_SKELETON_INIT_PORTABLE
new file mode 100644
@@ -0,0 +1,23 @@
+################################################################################
+#
+# skeleton-init-portable
+#
+################################################################################
+
+# The skeleton can't depend on the toolchain, since all packages depends on the
+# skeleton and the toolchain is a target package, as is skeleton.
+# Hence, skeleton would depends on the toolchain and the toolchain would depend
+# on skeleton.
+SKELETON_INIT_PORTABLE_ADD_TOOLCHAIN_DEPENDENCY = NO
+SKELETON_INIT_PORTABLE_ADD_SKELETON_DEPENDENCY = NO
+
+SKELETON_INIT_PORTABLE_DEPENDENCIES = skeleton-init-common
+
+SKELETON_INIT_PORTABLE_PROVIDES = skeleton
+
+define SKELETON_INIT_PORTABLE_INSTALL_TARGET_CMDS
+ touch $(TARGET_DIR)/etc/machine-id
+ mkdir -p $(TARGET_DIR)/var/tmp
+endef
+
+$(eval $(generic-package))
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> --- DEVELOPERS | 1 + package/Config.in | 1 + package/skeleton-init-portable/Config.in | 7 ++++++ .../skeleton-init-portable.mk | 23 +++++++++++++++++++ 4 files changed, 32 insertions(+) create mode 100644 package/skeleton-init-portable/Config.in create mode 100644 package/skeleton-init-portable/skeleton-init-portable.mk