blob: bfcb7d910c73d7c53df1c1f3c4b8ee8673edce11 (
plain) (
tree)
|
|
#!/usr/bin/env bash
check() {
return 255
}
depends() {
echo dnbd3-rootfs slx-tools
}
install() {
# gzip and mktemp provided by busybox
# tar is needed for some more advanced args
inst_multiple tar
slx_service "s3-fetch-config" "Download text-based config" \
--wafter "s3-setup-bootif-network.service" \
--wafter "s3-get-system-uuid.service"
slx_service "s3-copy-openslx-config" "Copy final /opt/openslx/config to /sysroot" \
--wafter "initrd-root-fs.target" \
--wafter "s3-fetch-config.service"
slx_service "s3-fetch-config-tgz" "Download config.tgz" \
--after "s3-fetch-config.service" \
--requires "s3-fetch-config.service"
slx_service "s3-unpack-config-tgz" "Unpack config.tgz to stage 4" \
--after "initrd-root-fs.target" \
--after "s3-fetch-config-tgz.service" \
--requires "s3-fetch-config-tgz.service"
}
|