Skip to contentSkip to conversation

yocto-linux/4.9: fix typo in filepath

PATCH New Armin Kuster 1 participant 5 messages Feb 17, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 yocto-linux/4.9: fix typo in filepath

fix idea submitted but Derek Betker <[email protected]>

[Yocto 12134]

---
 recipes-kernel/linux/linux-yocto_4.9.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-yocto_4.9.bbappend +1 -1
index 9702dd4..adda041 100644
@@ -1,4 +1,4 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.8:"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:"
 
 # TPM kernel support
 KERNEL_FEATURES_append += "${@bb.utils.contains('DISTRO_FEATURES', 'tpm', ' features/tpm/tpm.scc', '', d)}"
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/5 google-authenticator-libpam: add new package

---
 .../google-authenticator-libpam_1.05.bb              | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.05.bb
recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.05.bb new file +20 -0
new file mode 100644
index 0000000..73b802f
@@ -0,0 +1,20 @@
+SUMMARY = "Google Authenticator PAM module"
+HOME_PAGE = "https://github.com/google/google-authenticator-libpam"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+LICENSE = "Apache-2.0"
+
+SRC_URI = "git://github.com/google/google-authenticator-libpam.git"
+SRCREV = "7365ed10d54393fb4c100cac063ae8edb744eac6"
+
+DEPENDS = "libpam"
+
+S = "${WORKDIR}/git"
+
+inherit autotools distro_features_check
+
+REQUIRED_DISTRO_FEATURES = "pam"
+
+PACKAGES += "pam-google-authenticator"
+FILES_pam-google-authenticator = "${libdir}/security/pam_google_authenticator.so"
+
+RDEPNEDS_pam-google-authenticator  = "libpam"
Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/5 linux-stable: drop old versions no longer in core

In reply to Armin Kuster
---
 recipes-kernel/linux/linux-yocto-4.10/apparmor.cfg          | 13 -------------
 recipes-kernel/linux/linux-yocto-4.10/smack-default-lsm.cfg |  2 --
 recipes-kernel/linux/linux-yocto-4.10/smack.cfg             |  8 --------
 recipes-kernel/linux/linux-yocto-4.9/apparmor.cfg           | 13 -------------
 recipes-kernel/linux/linux-yocto-4.9/smack-default-lsm.cfg  |  2 --
 recipes-kernel/linux/linux-yocto-4.9/smack.cfg              |  8 --------
 recipes-kernel/linux/linux-yocto-4.9/tpm.cfg                |  9 ---------
 recipes-kernel/linux/linux-yocto-4.9/tpm.scc                |  4 ----
 recipes-kernel/linux/linux-yocto_4.10.bbappend              | 10 ----------
 recipes-kernel/linux/linux-yocto_4.9.bbappend               | 13 -------------
 10 files changed, 82 deletions(-)
 delete mode 100644 recipes-kernel/linux/linux-yocto-4.10/apparmor.cfg
 delete mode 100644 recipes-kernel/linux/linux-yocto-4.10/smack-default-lsm.cfg
 delete mode 100644 recipes-kernel/linux/linux-yocto-4.10/smack.cfg
 delete mode 100644 recipes-kernel/linux/linux-yocto-4.9/apparmor.cfg
 delete mode 100644 recipes-kernel/linux/linux-yocto-4.9/smack-default-lsm.cfg
 delete mode 100644 recipes-kernel/linux/linux-yocto-4.9/smack.cfg
 delete mode 100644 recipes-kernel/linux/linux-yocto-4.9/tpm.cfg
 delete mode 100644 recipes-kernel/linux/linux-yocto-4.9/tpm.scc
 delete mode 100644 recipes-kernel/linux/linux-yocto_4.10.bbappend
 delete mode 100644 recipes-kernel/linux/linux-yocto_4.9.bbappend
recipes-kernel/linux/linux-yocto-4.10/apparmor.cfg deleted +0 -13
deleted file mode 100644
index 1dc4168..0000000
@@ -1,13 +0,0 @@
-CONFIG_AUDIT=y
-CONFIG_AUDITSYSCALL=y
-CONFIG_AUDIT_WATCH=y
-CONFIG_AUDIT_TREE=y
-# CONFIG_NETFILTER_XT_TARGET_AUDIT is not set
-CONFIG_SECURITY_PATH=y
-# CONFIG_SECURITY_SELINUX is not set
-CONFIG_SECURITY_APPARMOR=y
-CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1
-CONFIG_SECURITY_APPARMOR_HASH=y
-CONFIG_SECURITY_APPARMOR_HASH_DEFAULT=y
-CONFIG_INTEGRITY_AUDIT=y
-# CONFIG_DEFAULT_SECURITY_APPARMOR is not set
recipes-kernel/linux/linux-yocto-4.10/smack-default-lsm.cfg deleted +0 -2
deleted file mode 100644
index b5c4845..0000000
@@ -1,2 +0,0 @@
-CONFIG_DEFAULT_SECURITY="smack"
-CONFIG_DEFAULT_SECURITY_SMACK=y
recipes-kernel/linux/linux-yocto-4.10/smack.cfg deleted +0 -8
deleted file mode 100644
index 62f465a..0000000
@@ -1,8 +0,0 @@
-CONFIG_IP_NF_SECURITY=m
-CONFIG_IP6_NF_SECURITY=m
-CONFIG_EXT2_FS_SECURITY=y
-CONFIG_EXT3_FS_SECURITY=y
-CONFIG_EXT4_FS_SECURITY=y
-CONFIG_SECURITY=y
-CONFIG_SECURITY_SMACK=y
-CONFIG_TMPFS_XATTR=y
recipes-kernel/linux/linux-yocto-4.9/apparmor.cfg deleted +0 -13
deleted file mode 100644
index 1dc4168..0000000
@@ -1,13 +0,0 @@
-CONFIG_AUDIT=y
-CONFIG_AUDITSYSCALL=y
-CONFIG_AUDIT_WATCH=y
-CONFIG_AUDIT_TREE=y
-# CONFIG_NETFILTER_XT_TARGET_AUDIT is not set
-CONFIG_SECURITY_PATH=y
-# CONFIG_SECURITY_SELINUX is not set
-CONFIG_SECURITY_APPARMOR=y
-CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1
-CONFIG_SECURITY_APPARMOR_HASH=y
-CONFIG_SECURITY_APPARMOR_HASH_DEFAULT=y
-CONFIG_INTEGRITY_AUDIT=y
-# CONFIG_DEFAULT_SECURITY_APPARMOR is not set
recipes-kernel/linux/linux-yocto-4.9/smack-default-lsm.cfg deleted +0 -2
deleted file mode 100644
index b5c4845..0000000
@@ -1,2 +0,0 @@
-CONFIG_DEFAULT_SECURITY="smack"
-CONFIG_DEFAULT_SECURITY_SMACK=y
recipes-kernel/linux/linux-yocto-4.9/smack.cfg deleted +0 -8
deleted file mode 100644
index 62f465a..0000000
@@ -1,8 +0,0 @@
-CONFIG_IP_NF_SECURITY=m
-CONFIG_IP6_NF_SECURITY=m
-CONFIG_EXT2_FS_SECURITY=y
-CONFIG_EXT3_FS_SECURITY=y
-CONFIG_EXT4_FS_SECURITY=y
-CONFIG_SECURITY=y
-CONFIG_SECURITY_SMACK=y
-CONFIG_TMPFS_XATTR=y
recipes-kernel/linux/linux-yocto-4.9/tpm.cfg deleted +0 -9
deleted file mode 100644
index fe1bb3f..0000000
@@ -1,9 +0,0 @@
-CONFIG_HW_RANDOM_TPM=y
-CONFIG_TCG_TPM=y
-CONFIG_TCG_TIS_CORE=y
-CONFIG_TCG_TIS=y
-CONFIG_TCG_CRB=y
-CONFIG_TCG_VTPM_PROXY=y
-CONFIG_DEVPORT=y
-CONFIG_FUSE_FS=y
-CONFIG_CUSE=y
recipes-kernel/linux/linux-yocto-4.9/tpm.scc deleted +0 -4
deleted file mode 100644
index 7c7ec2d..0000000
@@ -1,4 +0,0 @@
-define KFEATURE_DESCRIPTION "TPM Kernel Support"
-define KFEATURE_COMPATIBILITY arch
-
-kconf non-hardware tpm.cfg
recipes-kernel/linux/linux-yocto_4.10.bbappend deleted +0 -10
deleted file mode 100644
index 0e610d4..0000000
@@ -1,10 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.10:"
-
-SRC_URI += "\
-        ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', ' file://apparmor.cfg', '', d)} \
-"
-
-SRC_URI += "\
-        ${@bb.utils.contains('DISTRO_FEATURES', 'smack', ' file://smack.cfg', '', d)} \
-        ${@bb.utils.contains('DISTRO_FEATURES', 'smack', ' file://smack-default-lsm.cfg', '', d)} \
-"
recipes-kernel/linux/linux-yocto_4.9.bbappend deleted +0 -13
deleted file mode 100644
index adda041..0000000
@@ -1,13 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:"
-
-# TPM kernel support
-KERNEL_FEATURES_append += "${@bb.utils.contains('DISTRO_FEATURES', 'tpm', ' features/tpm/tpm.scc', '', d)}"
-
-SRC_URI += "\
-        ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', ' file://apparmor.cfg', '', d)} \
-"
-
-SRC_URI += "\
-        ${@bb.utils.contains('DISTRO_FEATURES', 'smack', ' file://smack.cfg', '', d)} \
-        ${@bb.utils.contains('DISTRO_FEATURES', 'smack', ' file://smack-default-lsm.cfg', '', d)} \
-"
Signature · 1 line
2.7.4
#3 lore raw

PATCH 4/5 linux-yocto: drop dangling dir

In reply to Armin Kuster
---
 recipes-kernel/linux/linux-yocto/tomoyo.cfg | 7 -------
 recipes-kernel/linux/linux-yocto/tomoyo.scc | 4 ----
 2 files changed, 11 deletions(-)
 delete mode 100644 recipes-kernel/linux/linux-yocto/tomoyo.cfg
 delete mode 100644 recipes-kernel/linux/linux-yocto/tomoyo.scc
recipes-kernel/linux/linux-yocto/tomoyo.cfg deleted +0 -7
deleted file mode 100644
index 0caccf7..0000000
@@ -1,7 +0,0 @@
-CONFIG_SECURITY_TOMOYO=y
-CONFIG_SECURITY_TOMOYO_MAX_ACCEPT_ENTRY=2048
-CONFIG_SECURITY_TOMOYO_MAX_AUDIT_LOG=1024
-CONFIG_SECURITY_TOMOYO_POLICY_LOADER="/sbin/ccs-init"
-CONFIG_SECURITY_TOMOYO_ACTIVATION_TRIGGER="/sbin/init"
-CONFIG_DEFAULT_SECURITY_TOMOYO=y
-CONFIG_DEFAULT_SECURITY="tomoyo"
recipes-kernel/linux/linux-yocto/tomoyo.scc deleted +0 -4
deleted file mode 100644
index 588864c..0000000
@@ -1,4 +0,0 @@
-define KFEATURE_DESCRIPTION "Tomoyo Kernel Support"
-define KFEATURE_COMPATIBILITY arch
-
-kconf non-hardware tomoyo.cfg
Signature · 1 line
2.7.4
#4 lore raw

PATCH 5/5 linux-yocto: move to wildcard on bbappend

In reply to Armin Kuster
---
 recipes-kernel/linux/{linux-yocto-4.12 => linux-yocto}/apparmor.cfg       | 0
 .../linux/{linux-yocto-4.12 => linux-yocto}/smack-default-lsm.cfg         | 0
 recipes-kernel/linux/{linux-yocto-4.12 => linux-yocto}/smack.cfg          | 0
 .../linux/{linux-yocto_4.12.bbappend => linux-yocto_4.%.bbappend}         | 0
 4 files changed, 0 insertions(+), 0 deletions(-)
 rename recipes-kernel/linux/{linux-yocto-4.12 => linux-yocto}/apparmor.cfg (100%)
 rename recipes-kernel/linux/{linux-yocto-4.12 => linux-yocto}/smack-default-lsm.cfg (100%)
 rename recipes-kernel/linux/{linux-yocto-4.12 => linux-yocto}/smack.cfg (100%)
 rename recipes-kernel/linux/{linux-yocto_4.12.bbappend => linux-yocto_4.%.bbappend} (100%)
recipes-kernel/linux/linux-yocto/apparmor.cfg renamed from recipes-kernel/linux/linux-yocto-4.12/apparmor.cfg +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-yocto-4.12/apparmor.cfg
rename to recipes-kernel/linux/linux-yocto/apparmor.cfg
recipes-kernel/linux/linux-yocto/smack-default-lsm.cfg renamed from recipes-kernel/linux/linux-yocto-4.12/smack-default-lsm.cfg +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-yocto-4.12/smack-default-lsm.cfg
rename to recipes-kernel/linux/linux-yocto/smack-default-lsm.cfg
recipes-kernel/linux/linux-yocto/smack.cfg renamed from recipes-kernel/linux/linux-yocto-4.12/smack.cfg +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-yocto-4.12/smack.cfg
rename to recipes-kernel/linux/linux-yocto/smack.cfg
recipes-kernel/linux/linux-yocto_4.%.bbappend renamed from recipes-kernel/linux/linux-yocto_4.12.bbappend +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-yocto_4.12.bbappend
rename to recipes-kernel/linux/linux-yocto_4.%.bbappend
Signature · 1 line
2.7.4