summaryrefslogtreecommitdiff
path: root/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools')
-rw-r--r--recipes-devtools/e2fsprogs/e2fsprogs/e2fsck.conf2
-rw-r--r--recipes-devtools/e2fsprogs/e2fsprogs_%.bbappend9
2 files changed, 11 insertions, 0 deletions
diff --git a/recipes-devtools/e2fsprogs/e2fsprogs/e2fsck.conf b/recipes-devtools/e2fsprogs/e2fsprogs/e2fsck.conf
new file mode 100644
index 0000000..2bce8a7
--- /dev/null
+++ b/recipes-devtools/e2fsprogs/e2fsprogs/e2fsck.conf
@@ -0,0 +1,2 @@
+[options]
+broken_system_clock = true
diff --git a/recipes-devtools/e2fsprogs/e2fsprogs_%.bbappend b/recipes-devtools/e2fsprogs/e2fsprogs_%.bbappend
new file mode 100644
index 0000000..e767c2a
--- /dev/null
+++ b/recipes-devtools/e2fsprogs/e2fsprogs_%.bbappend
@@ -0,0 +1,9 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+SRC_URI += "file://e2fsck.conf"
+
+do_install_append() {
+ install -d ${D}${sysconfdir}
+ install -m 0644 ${WORKDIR}/e2fsck.conf ${D}${sysconfdir}/e2fsck.conf
+}
+
+FILES_e2fsprogs-e2fsck += "${sysconfdir}/e2fsck.conf"