[linux-yocto] [PATCH 4/4] security.cfg: rename STACKPROTECTOR configs

2018-11-25 Thread Anuj Mittal
Rename and let kernel config determine the right option to enable as per:

https://github.com/torvalds/linux/commit/2a61f4747eeaa85ce26ca9fbd81421b15facd018

Signed-off-by: Anuj Mittal 
---
 features/security/security.cfg | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/features/security/security.cfg b/features/security/security.cfg
index efcbe056..87408b63 100644
--- a/features/security/security.cfg
+++ b/features/security/security.cfg
@@ -10,9 +10,7 @@ CONFIG_SLAB_FREELIST_RANDOM=y
 CONFIG_SLAB_FREELIST_HARDENED=y
 
 # Stack Protector is for buffer overflow detection and hardening
-CONFIG_CC_STACKPROTECTOR=y
-# CONFIG_CC_STACKPROTECTOR_NONE is not set
-CONFIG_CC_STACKPROTECTOR_REGULAR=y
+CONFIG_STACKPROTECTOR=y
 
 # Perform extensive checks on reference counting
 CONFIG_REFCOUNT_FULL=y
-- 
2.17.1

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [PATCH 1/4] netfilter: remove obsolete entries

2018-11-25 Thread Anuj Mittal
NF_CONNTRACK_IPV4 and NF_CONNTRACK_IPV6 are no longer present starting
4.19 and instead unified under NF_CONNTRACK which is already enabled.

https://github.com/torvalds/linux/commit/a0ae2562c6c4b2721d9fddba63b7286c13517d9f

Signed-off-by: Anuj Mittal 
---
 features/netfilter/netfilter.cfg | 2 --
 1 file changed, 2 deletions(-)

diff --git a/features/netfilter/netfilter.cfg b/features/netfilter/netfilter.cfg
index 6497b0ea..61e4ae8a 100644
--- a/features/netfilter/netfilter.cfg
+++ b/features/netfilter/netfilter.cfg
@@ -67,8 +67,6 @@ CONFIG_NETFILTER_XT_MATCH_U32=m
 # IP: Netfilter Configuration
 #
 CONFIG_NF_DEFRAG_IPV4=m
-CONFIG_NF_CONNTRACK_IPV4=m
-CONFIG_NF_CONNTRACK_IPV6=m
 CONFIG_IP_NF_IPTABLES=m
 CONFIG_IP_NF_MATCH_AH=m
 CONFIG_IP_NF_MATCH_ECN=m
-- 
2.17.1

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [PATCH 3/4] media-usb-tv: remove CONFIG_DVB_USB_FRIIO

2018-11-25 Thread Anuj Mittal
This has been merged with GL861 which is enabled by this feature.

https://github.com/torvalds/linux/commit/b30cc07de8a903685441f9770b1b21e1422d2468

Signed-off-by: Anuj Mittal 
---
 features/media/media-usb-tv.cfg | 1 -
 1 file changed, 1 deletion(-)

diff --git a/features/media/media-usb-tv.cfg b/features/media/media-usb-tv.cfg
index 3b594eb3..d290508e 100644
--- a/features/media/media-usb-tv.cfg
+++ b/features/media/media-usb-tv.cfg
@@ -46,7 +46,6 @@ CONFIG_DVB_USB_PCTV452E=m
 CONFIG_DVB_USB_DW2102=m
 CONFIG_DVB_USB_CINERGY_T2=m
 CONFIG_DVB_USB_DTV5100=m
-CONFIG_DVB_USB_FRIIO=m
 CONFIG_DVB_USB_AZ6027=m
 CONFIG_DVB_USB_TECHNISAT_USB2=m
 CONFIG_DVB_USB_V2=m
-- 
2.17.1

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [PATCH 2/4] standard/preempt-rt.cfg: remove CONFIG_CIFS_STATS

2018-11-25 Thread Anuj Mittal
This is always enabled now starting 4.19.

https://github.com/torvalds/linux/commit/fcabb89299d79010eb923afdd26de04afcc0527f

Signed-off-by: Anuj Mittal 
---
 ktypes/preempt-rt/preempt-rt.cfg | 1 -
 ktypes/standard/standard.cfg | 1 -
 2 files changed, 2 deletions(-)

diff --git a/ktypes/preempt-rt/preempt-rt.cfg b/ktypes/preempt-rt/preempt-rt.cfg
index 90d2d2c7..0f9be4c4 100644
--- a/ktypes/preempt-rt/preempt-rt.cfg
+++ b/ktypes/preempt-rt/preempt-rt.cfg
@@ -942,7 +942,6 @@ CONFIG_CONFIGFS_FS=m
 # Network File Systems
 #
 CONFIG_CIFS=m
-# CONFIG_CIFS_STATS is not set
 CONFIG_CIFS_XATTR=y
 CONFIG_CIFS_POSIX=y
 # CONFIG_CODA_FS is not set
diff --git a/ktypes/standard/standard.cfg b/ktypes/standard/standard.cfg
index f2f64cae..6b34 100644
--- a/ktypes/standard/standard.cfg
+++ b/ktypes/standard/standard.cfg
@@ -934,7 +934,6 @@ CONFIG_CONFIGFS_FS=m
 # Network File Systems
 #
 CONFIG_CIFS=m
-# CONFIG_CIFS_STATS is not set
 CONFIG_CIFS_XATTR=y
 CONFIG_CIFS_POSIX=y
 # CONFIG_CODA_FS is not set
-- 
2.17.1

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [PATCH 0/4] config cleanup

2018-11-25 Thread Anuj Mittal
Hi Bruce,

This series cleans up some obsolete config fragments for 4.19 kernel.
Can you please merge in 4.19/master if these look okay?

Anuj Mittal (4):
  netfilter: remove obsolete entries
  standard/preempt-rt.cfg: remove CONFIG_CIFS_STATS
  media-usb-tv: remove CONFIG_DVB_USB_FRIIO
  security.cfg: rename STACKPROTECTOR configs

 features/media/media-usb-tv.cfg  | 1 -
 features/netfilter/netfilter.cfg | 2 --
 features/security/security.cfg   | 4 +---
 ktypes/preempt-rt/preempt-rt.cfg | 1 -
 ktypes/standard/standard.cfg | 1 -
 5 files changed, 1 insertion(+), 8 deletions(-)

-- 
2.17.1

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[yocto] [Recipe reporting system] Upgradable recipe name list

2018-11-25 Thread recipe-report
This mail was sent out by Recipe reporting system.

This message list those recipes which need to be upgraded. If maintainers
believe some of them needn't to upgrade at this time, they can fill
RECIPE_NO_UPDATE_REASON in respective recipe file to ignore this remainder
until newer upstream version was detected.

Example:
RECIPE_NO_UPDATE_REASON = "Version 2.0 is unstable"

You can check the detail information at:

http://recipes.yoctoproject.org/

Package   Version  Upstream version  Maintainer 
  NoUpgradeReason
  ---    
---  --
libgloss  3.0.03.0.0.20180831Alejandro Hernandez
newlib3.0.03.0.0.20180831Alejandro Hernandez
openssl   1.1.11.1.1aAlexander Kanavin
ffmpeg4.0.24.1   Alexander Kanavin
meson 0.47.2   0.48.2Alexander Kanavin
btrfs-tools   4.17.1   4.19  Alexander Kanavin
busybox   1.29.2   1.29.3Andrej Valek
apt   1.2.24   1.4.8 Aníbal Limón
apt-native1.2.24   1.4.8 Aníbal Limón
dpkg  1.18.24  1.19.2Aníbal Limón
gstreamer1.0-plug...  1.14.3   1.14.4Anuj Mittal
gstreamer1.0-python   1.14.3   1.14.4Anuj Mittal
gst-validate  1.14.2   1.14.4Anuj Mittal
gstreamer1.0-rtsp...  1.14.3   1.14.4Anuj Mittal
gstreamer1.0  1.14.3   1.14.4Anuj Mittal
gstreamer1.0-vaapi1.14.3   1.14.4Anuj Mittal
gst-examples  0.0.1+gitX   0.0.1-new-commits...  Anuj Mittal
gstreamer1.0-omx  1.14.3   1.14.4Anuj Mittal
gstreamer1.0-libav1.14.3   1.14.4Anuj Mittal
gstreamer1.0-plug...  1.14.3   1.14.4Anuj Mittal
gstreamer1.0-plug...  1.14.3   1.14.4Anuj Mittal
gstreamer1.0-plug...  1.14.3   1.14.4Anuj Mittal
netbase   5.4  5.5   Armin Kuster
bind  9.11.5   9.13.4Armin Kuster   
  9.11 is LTS 2021
openssh   7.9p1+git7.9.  Armin Kuster
linux-libc-headers4.18 4.19.4Bruce Ashfield
linux-yocto   4.18.14+gitX 4.18.20   Bruce Ashfield
linux-yocto-rt4.18.14+gitX 4.18.20   Bruce Ashfield
linux-yocto-tiny  4.18.14+gitX 4.18.20   Bruce Ashfield
kmscube   git  git-new-commits-a...  Carlos Rafael Giani
iptables  1.6.21.8.2 Changhyeok Bae
sudo  1.8.23   1.8.26Chen Qi
acl   2.2.52   2.2.53Chen Qi
attr  2.4.47   2.4.48Chen Qi
systemd-conf  1.0  239   Chen Qi
cups  2.2.82.2.9 Chen Qi
flex  2.6.02.6.4 Chen Qi
util-linux2.32.1   2.33  Chen Qi
bison 3.0.43.2.2 Chen Qi
sed   4.2.24.5   Chen Qi
sysstat   11.7.4   12.1.1Chen Qi
at3.1.20   3.1.23Chen Qi
lzop  1.03 1.04  Denys Dmytriyenko
lz4   1.8.21.8.3 Denys Dmytriyenko
hdparm9.56 9.58  Denys Dmytriyenko
wayland-protocols 1.16 1.17  Denys Dmytriyenko
python-numpy  1.14.5   1.15.4Derek Straka
python3-pygobject 3.28.3   3.30.2Derek Straka
python3   3.5.63.7.1 Derek Straka
python3-pbr   4.2.05.1.1 Derek Straka
python3-setuptools40.0.0   40.6.2Derek Straka
python3-pip   18.0 18.1  Derek Straka
python-setuptools 40.0.0   40.6.2Derek Straka
python3-numpy 1.14.5   1.15.4Derek Straka
python3-gitdb 2.0.42.0.5 Derek Straka
python3-pycairo   1.15.6   1.18.0Derek Straka
python3-native3.5.63.7.1 Derek Straka
acpica20180508 20181031  Fathi Boudra
ghostscript  

Re: [yocto] [PATCH] update-rc.d: support enable/disable function

2018-11-25 Thread Changqing Li

Ping

On 11/9/18 5:44 PM, changqing...@windriver.com wrote:

From: Changqing Li 

Add support of enable/disable function, so that user can keep
previous config after upgrade package

Signed-off-by: Changqing Li 
---
  update-rc.d | 70 +
  1 file changed, 70 insertions(+)

diff --git a/update-rc.d b/update-rc.d
index e07cf85..1ba97d3 100644
--- a/update-rc.d
+++ b/update-rc.d
@@ -27,6 +27,7 @@ usage()
  usage: update-rc.d [-n] [-f] [-r ]  remove
 update-rc.d [-n] [-r ] [-s]  defaults [NN | sNN kNN]
 update-rc.d [-n] [-r ] [-s]  start|stop NN runlvl 
[runlvl] [...] .
+   update-rc.d [-n] [-r ] [-s]  enable|disable [S|2|3|4|5]
-n: not really
-f: force
-v: verbose
@@ -101,6 +102,43 @@ makelinks()
done
  }
  
+renamelink()

+{
+   local oldstartstop newstartstop lev oldnn newnn
+   if [ "x$1" = "xS" ]; then
+   oldstartstop="K"
+   newstartstop="S"
+   else
+   oldstartstop="S"
+   newstartstop="K"
+   fi
+
+   lev=$2
+   if ls ${etcd}${lev}.d/${oldstartstop}*${bn} >/dev/null 2>&1; then
+   oldnn=`basename ${etcd}${lev}.d/${oldstartstop}*${bn}|cut -c2-3`
+   newnn=$[100-$oldnn]
+   [ $verbose -eq 1 ] && echo "rename 
${etcd}${lev}.d/${oldstartstop}${oldnn}${bn} -> ${etcd}${lev}.d/${newstartstop}${newnn}${bn}"
+   if [ $notreally -eq 0 ];then
+   mv ${etcd}${lev}.d/${oldstartstop}${oldnn}${bn} 
${etcd}${lev}.d/${newstartstop}${newnn}${bn}
+   fi
+   if [ $dostart -eq 1 ] && [ $newstartstop = "S" ] && [ $lev = 
$RUNLEVEL ]; then
+   $fn start || true
+   fi
+   fi
+
+}
+
+renamelinks()
+{
+   if [ $# -eq 2 ]; then
+   renamelink $1 $2
+   else
+   for i in 2 3 4 5 S; do
+   renamelink $1 $i
+   done
+   fi
+}
+
  while [ $# -gt 0 ]; do
case $1 in
-n) notreally=1
@@ -221,6 +259,13 @@ case $1 in
;;
  
  	start | stop)

+   if [ $# -lt 4 ]
+   then
+   echo "Not enough arguments"
+   usage
+   exit 1
+   fi
+
while [ $# -gt 0 ]; do
if [ $1 = "start" ]; then
letter=S
@@ -251,6 +296,31 @@ case $1 in
makelinks
;;
  
+	enable | disable)

+   if [ $1 = "enable" ]; then
+   letter=S
+   elif [ $1 = "disable" ]; then
+   letter=K
+   else
+   usage
+   exit 1
+   fi
+   shift
+   if [ $# -gt 0 ]
+   then
+   case $1 in
+   S|2|3|4|5)
+   renamelinks $letter $1
+   ;;
+   *)
+   usage
+   exit 1
+   ;;
+   esac
+   else
+   renamelinks $letter
+   fi
+   ;;
*)
usage
exit 1


--
BRs

Sandy(Li Changqing)

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto