Skip to content

Commit

Permalink
Minor fixes to buildkernel script.
Browse files Browse the repository at this point in the history
Viz., proper assignment to RESET_ATTS in suppress_colours();
removed --noreplace in emerge of @module-rebuild.
Version bumped accordingly to 1.0.6.
  • Loading branch information
sakaki- committed Oct 13, 2014
1 parent 7806216 commit 520ca68
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions buildkernel
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ shopt -s nullglob
# ********************** variables *********************
PROGNAME="$(basename "${0}")"
CONFFILE="/etc/${PROGNAME}.conf"
VERSION="1.0.5"
VERSION="1.0.6"
DEFAULTEFIBOOTFILE="bootx64.efi"
EFIBOOTFILE="${DEFAULTEFIBOOTFILE}"
NEWVERSION="$(basename $(realpath "/usr/src/linux"))"
Expand Down Expand Up @@ -210,7 +210,7 @@ suppress_colours() {
RED_TEXT=""
GREEN_TEXT=""
YELLOW_TEXT=""
RESET_ATTS==""
RESET_ATTS=""
SHOWPREFIX="${PREFIXSTRING}"
}
suppress_colour_if_output_not_to_a_terminal() {
Expand Down Expand Up @@ -1483,7 +1483,7 @@ kernel_build_pass_1() {
}
rebuild_external_modules_if_necessary() {
show "Creating any necessary external modules (e.g., VirtualBox)..."
if ! emerge ${VERBOSITYFLAG} --noreplace @module-rebuild; then
if ! emerge ${VERBOSITYFLAG} @module-rebuild; then
if MAKEOPTS="${MAKEOPTS-} -j1" emerge --resume; then
warning "emerge @module-rebuild completed successfully, but only by restricting"
warning "build parallelism"
Expand Down
2 changes: 1 addition & 1 deletion buildkernel.8
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH BUILDKERNEL 8 "Version 1.0.5: September 2014"
.TH BUILDKERNEL 8 "Version 1.0.6: October 2014"
.SH NAME
buildkernel \- build secure boot kernel, save to EFI system partition
.SH SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion buildkernel.conf.5
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH BUILDKERNEL 5 "Version 1.0.5: September 2014"
.TH BUILDKERNEL 5 "Version 1.0.6: October 2014"
.SH NAME
buildkernel.conf \- a configuration file for \fBbuildkernel\fR(8)
.SH SYNOPSIS
Expand Down

0 comments on commit 520ca68

Please sign in to comment.