1
0
mirror of https://github.com/rancher/os-kernel.git synced 2025-09-01 04:46:52 +00:00

Don't show kernel cmdline params after -- in /proc/cmdline

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-03-09 05:56:12 +00:00
parent 0a80f78935
commit ef5eb127b4
4 changed files with 60 additions and 124 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/bash
set -e
set -ex
cd $(dirname $0)/..
@@ -27,7 +27,7 @@ cp ${CONFIG}/kernel-config ${DIR}/.config
if [ -e "${PATCHES}" ]; then
pushd .
cd ${DIR}
patch -p1 < ${PATCHES}/*
patch -p1 -i ${PATCHES}/*.patch
popd
fi