History log of /openbmc/openbmc-build-scripts/kernel-build.sh (Results 1 – 18 of 18)
Revision Date Author Comments
# 476a7e99 06-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

format shell scripts with beautysh

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie72911e0f57a1f69b0bf317de8c52947886e1303


# 384d741b 06-Nov-2020 Patrick Williams <patrick@stwcx.xyz>

shellcheck: clean up shellcheck warnings and enable

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ibc843b98c0fea97a31d3d15b556a32f091bf8e47


# 87963e0a 07-Feb-2019 Murilo Opsfelder Araujo <muriloo@linux.ibm.com>

kernel-build: Enable virtio-net driver

Enabling virtio-net driver will allow the generated vmlinux kernel to
have network properly configured when booted under QEMU versions that
onl

kernel-build: Enable virtio-net driver

Enabling virtio-net driver will allow the generated vmlinux kernel to
have network properly configured when booted under QEMU versions that
only have virtio-net-pci as the network driver, e.g.: CentOS ppc64le.

Change-Id: I035dcf48b242d9e46e8476b09486d7f1041c168c
Signed-off-by: Murilo Opsfelder Araujo <muriloo@linux.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# 4e94297d 05-Feb-2018 Joel Stanley <joel@jms.id.au>

kernel-build: Add missing deps

The kernel now requires flex and bison.

Change-Id: Ie45c48665c127a87ef8cbbc5851ac8f83d47fe7c
Signed-off-by: Joel Stanley <joel@jms.id.au>


# a0a55471 11-Dec-2017 Michael Ellerman <mpe@ellerman.id.au>

kernel-build: No need to run clean and mrproper

The mrproper target cleans everything that clean does, no need to run
both.

Change-Id: I82e588157cf5d7ce50c2483aaefbfddc67d0ff84

kernel-build: No need to run clean and mrproper

The mrproper target cleans everything that clean does, no need to run
both.

Change-Id: I82e588157cf5d7ce50c2483aaefbfddc67d0ff84
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# 9f05cf3e 11-Dec-2017 Michael Ellerman <mpe@ellerman.id.au>

kernel-build: Do the non-debug build first

When we do the debug build, stderr and stdout are redirected to the
sparse log. But if the build fails here then we get no useful output
in

kernel-build: Do the non-debug build first

When we do the debug build, stderr and stdout are redirected to the
sparse log. But if the build fails here then we get no useful output
in the build log.

Instead do the normal, non-debug build first, so that we see the
errors in the build log.

Change-Id: I706c3a1cec4666787297e86ab794497a18a61a9b
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# cf9b7f11 11-Dec-2017 Michael Ellerman <mpe@ellerman.id.au>

kernel-build: Make the build quieter

Suppress all the CC/LD lines, they don't add much value, error
messages should be sufficient to debug any problems.

Change-Id: I3a1607c76883

kernel-build: Make the build quieter

Suppress all the CC/LD lines, they don't add much value, error
messages should be sufficient to debug any problems.

Change-Id: I3a1607c76883ef1634851137a54a607e01b60a36
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# 9872b7c3 11-Dec-2017 Michael Ellerman <mpe@ellerman.id.au>

kernel-build: Make all errors in the build script fatal

Make any error in the build script fatal, rather than checking for an
error in most places.

Change-Id: Ia043c492e367b500c

kernel-build: Make all errors in the build script fatal

Make any error in the build script fatal, rather than checking for an
error in most places.

Change-Id: Ia043c492e367b500cff02cb7b347182534cc9385
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# 3225cfc3 11-Dec-2017 Michael Ellerman <mpe@ellerman.id.au>

kernel-build: Mount and run in $WORKSPACE not $HOME

When running docker we bind mount and run in $HOME, but that only
works if $WORKSPACE is under $HOME. Instead we can just bind mount a

kernel-build: Mount and run in $WORKSPACE not $HOME

When running docker we bind mount and run in $HOME, but that only
works if $WORKSPACE is under $HOME. Instead we can just bind mount and
run in $WORKSPACE.

Change-Id: I872621fc7d92c5b6721e77e2a3048c41b14d9529
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# 6c69b7e6 11-Dec-2017 Michael Ellerman <mpe@ellerman.id.au>

kernel-build: Actually return the result of the build

We discard the result of docker run, so the script always returns
success (the result of echo).

Fix it by saving the result

kernel-build: Actually return the result of the build

We discard the result of docker run, so the script always returns
success (the result of echo).

Fix it by saving the result of docker run and making that the result
of the script.

Change-Id: I375613ff09d231e267be271245ce3dd20ff2bed3
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# 15a77aeb 11-Dec-2017 Joel Stanley <joel@jms.id.au>

kernel-build: Add libssl to container

Some modern kernel configurations require libssl.

Change-Id: I0c15fccab13607f4bd31a50a148ad7c896491474
Signed-off-by: Joel Stanley <joel@jm

kernel-build: Add libssl to container

Some modern kernel configurations require libssl.

Change-Id: I0c15fccab13607f4bd31a50a148ad7c896491474
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# 5f4de959 06-Dec-2017 Joel Stanley <joel@jms.id.au>

Update kernel and initramfs build distro

They were hardcoded to EOL'd Ubuntu versions. Use 'latest' instead.

Change-Id: I1ef8e9be38066f046b5741799006f6b847664241
Signed-off-by:

Update kernel and initramfs build distro

They were hardcoded to EOL'd Ubuntu versions. Use 'latest' instead.

Change-Id: I1ef8e9be38066f046b5741799006f6b847664241
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# 5158a324 23-Oct-2017 Saqib Khan <khansa@us.ibm.com>

Add iputils-ping to the build scripts

iputils-ping is a required tool for yocto-2.3.

Change-Id: I51834fbc542f88c5f1e673428edb9a56a4f58862
Signed-off-by: Saqib Khan <khansa@us.ib

Add iputils-ping to the build scripts

iputils-ping is a required tool for yocto-2.3.

Change-Id: I51834fbc542f88c5f1e673428edb9a56a4f58862
Signed-off-by: Saqib Khan <khansa@us.ibm.com>

show more ...


# fc730ff1 09-Mar-2016 Chris Smart <distroguy@gmail.com>

Add missing packages for Fedora openpower-build
Skip system upgrade, just update package database and install packages


# 4593d4f3 08-Mar-2016 Chris Smart <distroguy@gmail.com>

fix: Dockerfile
remove timestamp from apt-get/dnf calls altogether and
put on one line so that a new package pulls in new everything


# 110f0b0a 08-Mar-2016 Chris Smart <distroguy@gmail.com>

fix: Dockerfile
set a static datestamp so that apt-get/dnf aren't run each time a new
docker container is built. Increment it if you want to refresh the
package databases in order to inst

fix: Dockerfile
set a static datestamp so that apt-get/dnf aren't run each time a new
docker container is built. Increment it if you want to refresh the
package databases in order to install new software or if something
is out of date.

show more ...


# 78646628 02-Mar-2016 Chris Smart <distroguy@gmail.com>

add: build a debug version of the kernel with sparse and check structs
(need multiverse repo)

fix: don't need to force apt-get with date all the time


# f9ad3f9e 10-Jan-2016 Chris Smart <distroguy@gmail.com>

add generic kernel build script
uses docker ubuntu 15.10 to build ppc64le