summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-09-25 18:30:26 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-09-25 18:30:26 +0200
commit316e70c1c55587e969a0426c62d664de3e4d3c5a (patch)
treec3fd32f73cbd0f8b35ef16c9763fb615a5808339 /examples
parent822e6f8e85ada9e9483fa2c984f7fe99315f23c0 (diff)
downloadrebel-316e70c1c55587e969a0426c62d664de3e4d3c5a.tar
rebel-316e70c1c55587e969a0426c62d664de3e4d3c5a.zip
examples: add rootfs recipe
Diffstat (limited to 'examples')
-rw-r--r--examples/rootfs.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/rootfs.yml b/examples/rootfs.yml
new file mode 100644
index 0000000..15f2bc6
--- /dev/null
+++ b/examples/rootfs.yml
@@ -0,0 +1,17 @@
+tasks:
+ install:
+ args:
+ host: 'platform'
+ depends:
+ - recipe: 'busybox'
+ task: 'install'
+ output:
+ default: {}
+ run: |
+ mkdir -p {{destdir}}/usr/bin {{destdir}}/usr/lib
+ ln -s bin {{destdir}}/usr/sbin
+ ln -s usr/bin {{destdir}}/bin
+ ln -s usr/bin {{destdir}}/sbin
+ ln -s usr/lib {{destdir}}/lib
+ rsync -aK {{sysroot}}/ {{destdir}}
+