diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2014-03-19 18:48:05 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2014-04-01 10:11:35 +0200 |
commit | c03638566d14fbd094f3a5d02655b3c1046c4108 (patch) | |
tree | e0cf0dae09af98912bf3c3648f789cf90c0b934f /recipes-core/util-linux/util-linux_2.23.2.bbappend | |
parent | 264c28e605862dab376e8ef06940520847dc0846 (diff) |
util-linux bbappend: update to match bb version
Diffstat (limited to 'recipes-core/util-linux/util-linux_2.23.2.bbappend')
-rw-r--r-- | recipes-core/util-linux/util-linux_2.23.2.bbappend | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-core/util-linux/util-linux_2.23.2.bbappend b/recipes-core/util-linux/util-linux_2.23.2.bbappend new file mode 100644 index 0000000..d3f8ca2 --- /dev/null +++ b/recipes-core/util-linux/util-linux_2.23.2.bbappend @@ -0,0 +1,12 @@ +#backport from master, util-linux: Add fstrim utility, commit ee3599472d7c5ccbf259312c7622b982941b6b1e + +PRINC := "${@int(PRINC) + 2}" + +PACKAGES =+ "util-linux-fstrim" +FILES_util-linux-fstrim = "${base_sbindir}/fstrim" + +do_install_append () { + if [ -f "${D}${sbindir}/fstrim" ]; then + mv "${D}${sbindir}/fstrim" "${D}${base_sbindir}/fstrim" + fi +} |