diff options
author | Lans Zhang <jia.zhang@windriver.com> | 2017-07-04 17:19:42 +0800 |
---|---|---|
committer | Lans Zhang <jia.zhang@windriver.com> | 2017-07-04 17:19:42 +0800 |
commit | 407c56068dcbb7f2c83b80fc723cf5918f5240b6 (patch) | |
tree | 598304590df637bc56b15d20c92e6266811bc8c3 /meta-integrity/recipes-core | |
parent | 55492bcc10d49a22a614e36eec63b77f19171231 (diff) | |
download | meta-secure-core-407c56068dcbb7f2c83b80fc723cf5918f5240b6.tar.gz |
Code style fixup
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
Diffstat (limited to 'meta-integrity/recipes-core')
-rw-r--r-- | meta-integrity/recipes-core/base-files/base-files_%.bbappend | 2 | ||||
-rw-r--r-- | meta-integrity/recipes-core/util-linux/util-linux_%.bbappend | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/meta-integrity/recipes-core/base-files/base-files_%.bbappend b/meta-integrity/recipes-core/base-files/base-files_%.bbappend index 2636dad..06273e1 100644 --- a/meta-integrity/recipes-core/base-files/base-files_%.bbappend +++ b/meta-integrity/recipes-core/base-files/base-files_%.bbappend | |||
@@ -1,4 +1,4 @@ | |||
1 | # Append iversion option for auto types | 1 | # Append iversion option for auto types |
2 | do_install_append() { | 2 | do_install_append() { |
3 | sed -i 's/\s*auto\s*defaults/&,iversion/' ${D}${sysconfdir}/fstab | 3 | sed -i 's/\s*auto\s*defaults/&,iversion/' "${D}${sysconfdir}/fstab" |
4 | } | 4 | } |
diff --git a/meta-integrity/recipes-core/util-linux/util-linux_%.bbappend b/meta-integrity/recipes-core/util-linux/util-linux_%.bbappend index 1728f2e..9634f4b 100644 --- a/meta-integrity/recipes-core/util-linux/util-linux_%.bbappend +++ b/meta-integrity/recipes-core/util-linux/util-linux_%.bbappend | |||
@@ -1,5 +1,3 @@ | |||
1 | PACKAGES =+ "${PN}-switch_root.static" | ||
2 | |||
3 | CFLAGS_remove += "-pie -fpie" | 1 | CFLAGS_remove += "-pie -fpie" |
4 | 2 | ||
5 | do_compile_append_class-target() { | 3 | do_compile_append_class-target() { |
@@ -9,8 +7,11 @@ do_compile_append_class-target() { | |||
9 | } | 7 | } |
10 | 8 | ||
11 | do_install_append_class-target() { | 9 | do_install_append_class-target() { |
12 | install -d ${D}${sbindir} | 10 | install -d "${D}${sbindir}" |
13 | install -m 0700 ${B}/switch_root.static ${D}${sbindir}/switch_root.static | 11 | install -m 0700 "${B}/switch_root.static" \ |
12 | "${D}${sbindir}/switch_root.static" | ||
14 | } | 13 | } |
15 | 14 | ||
15 | PACKAGES =+ "${PN}-switch_root.static" | ||
16 | |||
16 | FILES_${PN}-switch_root.static = "${sbindir}/switch_root.static" | 17 | FILES_${PN}-switch_root.static = "${sbindir}/switch_root.static" |