summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-09-21 10:46:05 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-09-21 10:46:09 +0200
commit6ae025205b60ec2d27f4599d82751eb9c6aa57a8 (patch)
treef7f2b938b91a8009469733522a94281cbc01a3de
parent208a3352d9da2a7defa73ce07c39322251d823d6 (diff)
downloadptxdist-6ae025205b60ec2d27f4599d82751eb9c6aa57a8.tar.gz
ptxdist-6ae025205b60ec2d27f4599d82751eb9c6aa57a8.tar.xz
image-root-ext: use mke2fs by default
Images created by genext2fs are a bit strange. For some reason, readdir() returns d_type == DT_UNKNOWN. This breaks systemd unit parsing, specifically alias (symlink) detection. As a result. 'default.target' is detected as a 'normal' unit, not an alias ans strange things happen. It looks like only 'basic.target' is started and not 'multi-user.target' so gettys and other services are not started. Just use mke2fs to create the image to avoid this. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--config/images/ext.config4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/images/ext.config b/config/images/ext.config
index 85e4520fa..0ba21fc72 100644
--- a/config/images/ext.config
+++ b/config/images/ext.config
@@ -1,6 +1,8 @@
image @IMAGE@ {
- @EXT_TYPE@ {}
+ @EXT_TYPE@ {
+ use-mke2fs = true
+ }
size = @SIZE@
mountpoint = "/"
}