Compare commits
No commits in common. "bab234d5c3cc807fe997afe3d650f69437f35b5d" and "7fdac0e72e51363705ab1a9419c4d72b5e35f011" have entirely different histories.
bab234d5c3
...
7fdac0e72e
8
Makefile
8
Makefile
|
@ -97,10 +97,6 @@ master:
|
||||||
set -e
|
set -e
|
||||||
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/master.sh"
|
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/master.sh"
|
||||||
|
|
||||||
livecd:
|
|
||||||
set -e
|
|
||||||
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/livecd.sh"
|
|
||||||
|
|
||||||
# example:
|
# example:
|
||||||
# make dirs
|
# make dirs
|
||||||
# make install_rex
|
# make install_rex
|
||||||
|
@ -125,9 +121,9 @@ all:
|
||||||
make build_stage1 && \
|
make build_stage1 && \
|
||||||
make build_stage2 && \
|
make build_stage2 && \
|
||||||
make build_stage3 && \
|
make build_stage3 && \
|
||||||
|
make backup && \
|
||||||
make build_stage4 && \
|
make build_stage4 && \
|
||||||
make build_stage5 && \
|
make build_stage5
|
||||||
make backup &&
|
|
||||||
|
|
||||||
|
|
||||||
# Remember, before you make clean or make purge_artifacts you MUST run
|
# Remember, before you make clean or make purge_artifacts you MUST run
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
set timeout=5
|
|
||||||
set default=0
|
|
||||||
|
|
||||||
menuentry "Dark Horse Linux (Pre-Alpha)" {
|
|
||||||
set root=(cd)
|
|
||||||
linux /boot/vmlinuz-6.0.12-dark_horse-pyrois boot=live root=/dev/sr0 rw
|
|
||||||
initrd /boot/initramfs-6.0.12.img
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,128 +1,15 @@
|
||||||
" When started as "evim", evim.vim will already have done these settings.
|
" Begin /etc/vimrc
|
||||||
if v:progname =~? "evim"
|
|
||||||
finish
|
" Ensure defaults are set before customizing settings, not after
|
||||||
|
source $VIMRUNTIME/defaults.vim
|
||||||
|
let skip_defaults_vim=1
|
||||||
|
|
||||||
|
set nocompatible
|
||||||
|
set backspace=2
|
||||||
|
set mouse=
|
||||||
|
syntax on
|
||||||
|
if (&term == "xterm") || (&term == "putty")
|
||||||
|
set background=dark
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Use Vim settings, rather than Vi settings (much better!).
|
" End /etc/vimrc
|
||||||
" This must be first, because it changes other options as a side effect.
|
|
||||||
" Avoid side effects when it was already reset.
|
|
||||||
if &compatible
|
|
||||||
set nocompatible
|
|
||||||
endif
|
|
||||||
|
|
||||||
" When the +eval feature is missing, the set command above will be skipped.
|
|
||||||
" Use a trick to reset compatible only when the +eval feature is missing.
|
|
||||||
silent! while 0
|
|
||||||
set nocompatible
|
|
||||||
silent! endwhile
|
|
||||||
|
|
||||||
" Allow backspacing over everything in insert mode.
|
|
||||||
set backspace=indent,eol,start
|
|
||||||
|
|
||||||
"set ai " always set autoindenting on
|
|
||||||
"set backup " keep a backup file
|
|
||||||
set viminfo='20,\"50 " read/write a .viminfo file, don't store more
|
|
||||||
" than 50 lines of registers
|
|
||||||
set history=50 " keep 50 lines of command line history
|
|
||||||
set ruler " show the cursor position all the time
|
|
||||||
set showcmd " display incomplete commands
|
|
||||||
set wildmenu " display completion matches in a status line
|
|
||||||
|
|
||||||
set ttimeout " time out for key codes
|
|
||||||
set ttimeoutlen=100 " wait up to 100ms after Esc for special key
|
|
||||||
|
|
||||||
" Show @@@ in the last line if it is truncated.
|
|
||||||
set display=truncate
|
|
||||||
|
|
||||||
" Show a few lines of context around the cursor. Note that this makes the
|
|
||||||
" text scroll if you mouse-click near the start or end of the window.
|
|
||||||
set scrolloff=5
|
|
||||||
|
|
||||||
" Do incremental searching when it's possible to timeout.
|
|
||||||
if has('reltime')
|
|
||||||
set incsearch
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Do not recognize octal numbers for Ctrl-A and Ctrl-X, most users find it
|
|
||||||
" confusing.
|
|
||||||
set nrformats-=octal
|
|
||||||
|
|
||||||
" Only do this part when compiled with support for autocommands
|
|
||||||
if has("autocmd")
|
|
||||||
augroup fedora
|
|
||||||
autocmd!
|
|
||||||
" In text files, always limit the width of text to 78 characters
|
|
||||||
" autocmd BufRead *.txt set tw=78
|
|
||||||
" When editing a file, always jump to the last cursor position
|
|
||||||
autocmd BufReadPost *
|
|
||||||
\ if line("'\"") > 0 && line ("'\"") <= line("$") |
|
|
||||||
\ exe "normal! g'\"" |
|
|
||||||
\ endif
|
|
||||||
" don't write swapfile on most commonly used directories for NFS mounts or USB sticks
|
|
||||||
autocmd BufNewFile,BufReadPre /media/*,/run/media/*,/mnt/* set directory=~/tmp,/var/tmp,/tmp
|
|
||||||
" start with spec file template
|
|
||||||
" 1724126 - do not open new file with .spec suffix with spec file template
|
|
||||||
" apparently there are other file types with .spec suffix, so disable the
|
|
||||||
" template
|
|
||||||
" autocmd BufNewFile *.spec 0r /usr/share/vim/vimfiles/template.spec
|
|
||||||
augroup END
|
|
||||||
endif
|
|
||||||
|
|
||||||
if has("cscope") && filereadable("/usr/bin/cscope")
|
|
||||||
set csprg=/usr/bin/cscope
|
|
||||||
set csto=0
|
|
||||||
set cst
|
|
||||||
set nocsverb
|
|
||||||
" add any database in current directory
|
|
||||||
if filereadable("cscope.out")
|
|
||||||
cs add $PWD/cscope.out
|
|
||||||
" else add database pointed to by environment
|
|
||||||
elseif $CSCOPE_DB != ""
|
|
||||||
cs add $CSCOPE_DB
|
|
||||||
endif
|
|
||||||
set csverb
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Switch syntax highlighting on, when the terminal has colors
|
|
||||||
" Also switch on highlighting the last used search pattern.
|
|
||||||
if &t_Co > 2 || has("gui_running")
|
|
||||||
" Revert with ":syntax off".
|
|
||||||
syntax on
|
|
||||||
|
|
||||||
" I like highlighting strings inside C comments.
|
|
||||||
" Revert with ":unlet c_comment_strings".
|
|
||||||
let c_comment_strings=1
|
|
||||||
set hlsearch
|
|
||||||
endif
|
|
||||||
|
|
||||||
filetype plugin on
|
|
||||||
|
|
||||||
if &term=="xterm"
|
|
||||||
set t_Co=8
|
|
||||||
set t_Sb=m
|
|
||||||
set t_Sf=m
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Convenient command to see the difference between the current buffer and the
|
|
||||||
" file it was loaded from, thus the changes you made.
|
|
||||||
" Only define it when not defined already.
|
|
||||||
" Revert with: ":delcommand DiffOrig".
|
|
||||||
if !exists(":DiffOrig")
|
|
||||||
command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis
|
|
||||||
\ | wincmd p | diffthis
|
|
||||||
endif
|
|
||||||
|
|
||||||
if has('langmap') && exists('+langremap')
|
|
||||||
" Prevent that the langmap option applies to characters that result from a
|
|
||||||
" mapping. If set (default), this may break plugins (but it's backward
|
|
||||||
" compatible).
|
|
||||||
set nolangremap
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Don't wake up system with blinking cursor:
|
|
||||||
let &guicursor = &guicursor . ",a:blinkon0"
|
|
||||||
|
|
||||||
" Source a global configuration file if available
|
|
||||||
if filereadable("/etc/vimrc.local")
|
|
||||||
source /etc/vimrc.local
|
|
||||||
endif
|
|
||||||
|
|
|
@ -9268,10 +9268,10 @@ CONFIG_CACHEFILES=m
|
||||||
#
|
#
|
||||||
# CD-ROM/DVD Filesystems
|
# CD-ROM/DVD Filesystems
|
||||||
#
|
#
|
||||||
CONFIG_ISO9660_FS=y
|
CONFIG_ISO9660_FS=m
|
||||||
CONFIG_JOLIET=y
|
CONFIG_JOLIET=y
|
||||||
CONFIG_ZISOFS=y
|
CONFIG_ZISOFS=y
|
||||||
CONFIG_UDF_FS=y
|
CONFIG_UDF_FS=m
|
||||||
# end of CD-ROM/DVD Filesystems
|
# end of CD-ROM/DVD Filesystems
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -28,7 +28,7 @@ logprint() {
|
||||||
ulimit -n 3000000
|
ulimit -n 3000000
|
||||||
/usr/sbin/chroot "${T_SYSROOT}" /usr/bin/env -i \
|
/usr/sbin/chroot "${T_SYSROOT}" /usr/bin/env -i \
|
||||||
HOME=/root \
|
HOME=/root \
|
||||||
TERM="xterm-256color" \
|
TERM="$TERM" \
|
||||||
PS1='\n(dark horse linux) [ \u @ \H ] << \w >>\n\n[- ' \
|
PS1='\n(dark horse linux) [ \u @ \H ] << \w >>\n\n[- ' \
|
||||||
PATH=/usr/bin:/usr/sbin \
|
PATH=/usr/bin:/usr/sbin \
|
||||||
/bin/bash --login
|
/bin/bash --login
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
|
|
||||||
# fix an issue with open files limit on some hosts
|
|
||||||
ulimit -l unlimited
|
|
||||||
|
|
||||||
#ulimit -n 10240
|
|
||||||
ulimit -c unlimited
|
|
||||||
|
|
||||||
echo "Bootstrapping from MAKE to REX..."
|
|
||||||
|
|
||||||
# Executes rex from within the shell.
|
|
||||||
|
|
||||||
${dir_localtools}/rex -v \
|
|
||||||
-c ${dir_rex}/x86_64/rex.config \
|
|
||||||
-p ${dir_rex}/x86_64/plans/livecd.plan
|
|
||||||
|
|
||||||
retVal=$?
|
|
||||||
exit $retVal
|
|
|
@ -72,13 +72,14 @@ function perform_backup() {
|
||||||
|
|
||||||
|
|
||||||
read -r -d '' msg <<-'EOF'
|
read -r -d '' msg <<-'EOF'
|
||||||
The following prompt will ask if you'd like to back up the
|
This is a great stopping point for backing up the stage if you're
|
||||||
existing sysroot. This is useful for debugging, so that you don't have
|
debugging. The following prompt will ask if you'd like to back up the
|
||||||
to wait for the entire cross-compilation for every change.
|
existing sysroot, in case you need to start from stage 4 again for
|
||||||
|
whatever reason, such as a build failure.
|
||||||
|
|
||||||
If you select yes, you will see a gzipped tarball containing the
|
If you select yes, you will see a gzipped tarball containing the
|
||||||
sysroot generated in your project root. If you select no, your backup
|
sysroot generated in your project root. If you select no, your backup
|
||||||
will not be created.
|
will not be created, and you'll move on to stage 4.
|
||||||
|
|
||||||
If you skip the backup and something fails from here, you'll need to
|
If you skip the backup and something fails from here, you'll need to
|
||||||
run "make clean" and start from the beginning.
|
run "make clean" and start from the beginning.
|
||||||
|
|
|
@ -1,208 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
# desc:
|
|
||||||
# stages, builds, installs
|
|
||||||
|
|
||||||
# make variables persist in subprocesses for logging function
|
|
||||||
set -a
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
|
||||||
# Configuration:
|
|
||||||
# ----------------------------------------------------------------------
|
|
||||||
# the name of this application
|
|
||||||
APPNAME="asciidoc"
|
|
||||||
|
|
||||||
# the version of this application
|
|
||||||
VERSION="10.2.0"
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
|
||||||
# Variables and functions sourced from Environment:
|
|
||||||
# ----------------------------------------------------------------------
|
|
||||||
# assert_zero()
|
|
||||||
# Checks if $1 is 0. If non-0 value, halts the execution of the script.
|
|
||||||
#
|
|
||||||
# LOGS_ROOT
|
|
||||||
# The parent directory where logs from this project will go.
|
|
||||||
#
|
|
||||||
# TEMP_STAGE_DIR
|
|
||||||
# The parent directory of where source archives are extracted to.
|
|
||||||
|
|
||||||
# register mode selections
|
|
||||||
ARGUMENT_LIST=(
|
|
||||||
"stage"
|
|
||||||
"build"
|
|
||||||
"install"
|
|
||||||
"all"
|
|
||||||
"help"
|
|
||||||
)
|
|
||||||
|
|
||||||
# modes to associate with switches
|
|
||||||
# assumes you want nothing done unless you ask for it.
|
|
||||||
MODE_STAGE=false
|
|
||||||
MODE_BUILD=false
|
|
||||||
MODE_INSTALL=false
|
|
||||||
MODE_ALL=false
|
|
||||||
MODE_HELP=false
|
|
||||||
|
|
||||||
# the file to log to
|
|
||||||
LOGFILE="${APPNAME}.log"
|
|
||||||
|
|
||||||
# ISO 8601 variation
|
|
||||||
TIMESTAMP="$(date +%Y-%m-%d_%H:%M:%S)"
|
|
||||||
|
|
||||||
# the path where logs are written to
|
|
||||||
# note: LOGS_ROOT is sourced from environment
|
|
||||||
LOG_DIR="${LOGS_ROOT}/${APPNAME}-${TIMESTAMP}"
|
|
||||||
|
|
||||||
# the path where the source will be located when complete
|
|
||||||
# note: TEMP_STAGE_DIR is sourced from environment
|
|
||||||
T_SOURCE_DIR="${TEMP_STAGE_DIR}/${APPNAME}"
|
|
||||||
|
|
||||||
# read defined arguments
|
|
||||||
opts=$(getopt \
|
|
||||||
--longoptions "$(printf "%s," "${ARGUMENT_LIST[@]}")" \
|
|
||||||
--name "$APPNAME" \
|
|
||||||
--options "" \
|
|
||||||
-- "$@"
|
|
||||||
)
|
|
||||||
|
|
||||||
# process supplied arguments into flags that enable execution modes
|
|
||||||
eval set --$opts
|
|
||||||
while [[ $# -gt 0 ]]; do
|
|
||||||
case "$1" in
|
|
||||||
--stage)
|
|
||||||
MODE_STAGE=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
--build)
|
|
||||||
MODE_BUILD=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
--install)
|
|
||||||
MODE_INSTALL=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
--all)
|
|
||||||
MODE_ALL=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
--help)
|
|
||||||
MODE_HELP=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
break
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
# print to stdout, print to log
|
|
||||||
logprint() {
|
|
||||||
mkdir -p "${LOG_DIR}"
|
|
||||||
echo "[$(date +%Y-%m-%d_%H:%M:%S)] [${APPNAME}] $1" \
|
|
||||||
| tee -a "${LOG_DIR}/${LOGFILE}"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Tell the user we're alive...
|
|
||||||
logprint "Initializing the ${APPNAME} utility..."
|
|
||||||
|
|
||||||
# when the stage mode is enabled, this will execute
|
|
||||||
mode_stage() {
|
|
||||||
logprint "Starting stage of ${APPNAME}..."
|
|
||||||
|
|
||||||
logprint "Removing any pre-existing staging for ${APPNAME}."
|
|
||||||
rm -Rf "${T_SOURCE_DIR}"*
|
|
||||||
|
|
||||||
logprint "Extracting ${APPNAME}-${VERSION} source archive to ${TEMP_STAGE_DIR}"
|
|
||||||
tar xf "${SOURCES_DIR}/${APPNAME}-${VERSION}.tar."* -C "${TEMP_STAGE_DIR}"
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
# conditionally rename if it needs it
|
|
||||||
stat "${T_SOURCE_DIR}-"* && mv "${T_SOURCE_DIR}-"* "${T_SOURCE_DIR}"
|
|
||||||
|
|
||||||
logprint "Staging operation complete."
|
|
||||||
}
|
|
||||||
|
|
||||||
# when the build_pass1 mode is enabled, this will execute
|
|
||||||
mode_build() {
|
|
||||||
|
|
||||||
# patch, configure and build
|
|
||||||
logprint "Starting build of ${APPNAME}..."
|
|
||||||
|
|
||||||
logprint "Entering build dir."
|
|
||||||
pushd "${T_SOURCE_DIR}"
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Configuring..."
|
|
||||||
autoreconf -i
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
./configure
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Compiling docs..."
|
|
||||||
make docs
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Build operation complete."
|
|
||||||
}
|
|
||||||
|
|
||||||
mode_install() {
|
|
||||||
logprint "Starting install of ${APPNAME}..."
|
|
||||||
pushd "${T_SOURCE_DIR}"
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Installing..."
|
|
||||||
make install
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Install operation complete."
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
mode_help() {
|
|
||||||
echo "${APPNAME} [ --stage ] [ --build_temp ] [ --install_temp ] [ --all_temp ] [ --help ]"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ "$MODE_ALL" = "true" ]; then
|
|
||||||
MODE_STAGE=true
|
|
||||||
MODE_BUILD=true
|
|
||||||
MODE_INSTALL=true
|
|
||||||
fi
|
|
||||||
|
|
||||||
# if no options were selected, then show help and exit
|
|
||||||
if \
|
|
||||||
[ "$MODE_HELP" != "true" ] && \
|
|
||||||
[ "$MODE_STAGE" != "true" ] && \
|
|
||||||
[ "$MODE_BUILD" != "true" ] && \
|
|
||||||
[ "$MODE_INSTALL" != "true" ]
|
|
||||||
then
|
|
||||||
logprint "No option selected during execution."
|
|
||||||
mode_help
|
|
||||||
fi
|
|
||||||
|
|
||||||
# if help was supplied at all, show help and exit
|
|
||||||
if [ "$MODE_HELP" = "true" ]; then
|
|
||||||
logprint "Help option selected. Printing options and exiting."
|
|
||||||
mode_help
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$MODE_STAGE" = "true" ]; then
|
|
||||||
logprint "Staging option selected."
|
|
||||||
mode_stage
|
|
||||||
assert_zero $?
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$MODE_BUILD" = "true" ]; then
|
|
||||||
logprint "Build of ${APPNAME} selected."
|
|
||||||
mode_build
|
|
||||||
assert_zero $?
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$MODE_INSTALL" = "true" ]; then
|
|
||||||
logprint "Install of ${APPNAME} selected."
|
|
||||||
mode_install
|
|
||||||
assert_zero $?
|
|
||||||
fi
|
|
||||||
|
|
||||||
logprint "Execution of ${APPNAME} completed."
|
|
|
@ -1,205 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
# desc:
|
|
||||||
# stages, builds, installs
|
|
||||||
|
|
||||||
# make variables persist in subprocesses for logging function
|
|
||||||
set -a
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
|
||||||
# Configuration:
|
|
||||||
# ----------------------------------------------------------------------
|
|
||||||
# the name of this application
|
|
||||||
APPNAME="dracut"
|
|
||||||
|
|
||||||
# the version of this application
|
|
||||||
VERSION="059"
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
|
||||||
# Variables and functions sourced from Environment:
|
|
||||||
# ----------------------------------------------------------------------
|
|
||||||
# assert_zero()
|
|
||||||
# Checks if $1 is 0. If non-0 value, halts the execution of the script.
|
|
||||||
#
|
|
||||||
# LOGS_ROOT
|
|
||||||
# The parent directory where logs from this project will go.
|
|
||||||
#
|
|
||||||
# TEMP_STAGE_DIR
|
|
||||||
# The parent directory of where source archives are extracted to.
|
|
||||||
|
|
||||||
# register mode selections
|
|
||||||
ARGUMENT_LIST=(
|
|
||||||
"stage"
|
|
||||||
"build"
|
|
||||||
"install"
|
|
||||||
"all"
|
|
||||||
"help"
|
|
||||||
)
|
|
||||||
|
|
||||||
# modes to associate with switches
|
|
||||||
# assumes you want nothing done unless you ask for it.
|
|
||||||
MODE_STAGE=false
|
|
||||||
MODE_BUILD=false
|
|
||||||
MODE_INSTALL=false
|
|
||||||
MODE_ALL=false
|
|
||||||
MODE_HELP=false
|
|
||||||
|
|
||||||
# the file to log to
|
|
||||||
LOGFILE="${APPNAME}.log"
|
|
||||||
|
|
||||||
# ISO 8601 variation
|
|
||||||
TIMESTAMP="$(date +%Y-%m-%d_%H:%M:%S)"
|
|
||||||
|
|
||||||
# the path where logs are written to
|
|
||||||
# note: LOGS_ROOT is sourced from environment
|
|
||||||
LOG_DIR="${LOGS_ROOT}/${APPNAME}-${TIMESTAMP}"
|
|
||||||
|
|
||||||
# the path where the source will be located when complete
|
|
||||||
# note: TEMP_STAGE_DIR is sourced from environment
|
|
||||||
T_SOURCE_DIR="${TEMP_STAGE_DIR}/${APPNAME}"
|
|
||||||
|
|
||||||
# read defined arguments
|
|
||||||
opts=$(getopt \
|
|
||||||
--longoptions "$(printf "%s," "${ARGUMENT_LIST[@]}")" \
|
|
||||||
--name "$APPNAME" \
|
|
||||||
--options "" \
|
|
||||||
-- "$@"
|
|
||||||
)
|
|
||||||
|
|
||||||
# process supplied arguments into flags that enable execution modes
|
|
||||||
eval set --$opts
|
|
||||||
while [[ $# -gt 0 ]]; do
|
|
||||||
case "$1" in
|
|
||||||
--stage)
|
|
||||||
MODE_STAGE=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
--build)
|
|
||||||
MODE_BUILD=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
--install)
|
|
||||||
MODE_INSTALL=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
--all)
|
|
||||||
MODE_ALL=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
--help)
|
|
||||||
MODE_HELP=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
break
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
# print to stdout, print to log
|
|
||||||
logprint() {
|
|
||||||
mkdir -p "${LOG_DIR}"
|
|
||||||
echo "[$(date +%Y-%m-%d_%H:%M:%S)] [${APPNAME}] $1" \
|
|
||||||
| tee -a "${LOG_DIR}/${LOGFILE}"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Tell the user we're alive...
|
|
||||||
logprint "Initializing the ${APPNAME} utility..."
|
|
||||||
|
|
||||||
# when the stage mode is enabled, this will execute
|
|
||||||
mode_stage() {
|
|
||||||
logprint "Starting stage of ${APPNAME}..."
|
|
||||||
|
|
||||||
logprint "Removing any pre-existing staging for ${APPNAME}."
|
|
||||||
rm -Rf "${T_SOURCE_DIR}"*
|
|
||||||
|
|
||||||
logprint "Extracting ${APPNAME}-${VERSION} source archive to ${TEMP_STAGE_DIR}"
|
|
||||||
tar xf "${SOURCES_DIR}/${APPNAME}-${VERSION}."* -C "${TEMP_STAGE_DIR}"
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
# conditionally rename if it needs it
|
|
||||||
stat "${T_SOURCE_DIR}-"* && mv "${T_SOURCE_DIR}-"* "${T_SOURCE_DIR}"
|
|
||||||
|
|
||||||
logprint "Staging operation complete."
|
|
||||||
}
|
|
||||||
|
|
||||||
# when the build_pass1 mode is enabled, this will execute
|
|
||||||
mode_build() {
|
|
||||||
|
|
||||||
# patch, configure and build
|
|
||||||
logprint "Starting build of ${APPNAME}..."
|
|
||||||
|
|
||||||
logprint "Entering build dir."
|
|
||||||
pushd "${T_SOURCE_DIR}"
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Configuring ${APPNAME}..."
|
|
||||||
./configure --disable-documentation
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Compiling..."
|
|
||||||
make
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Build operation complete."
|
|
||||||
}
|
|
||||||
|
|
||||||
mode_install() {
|
|
||||||
logprint "Starting install of ${APPNAME}..."
|
|
||||||
pushd "${T_SOURCE_DIR}"
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Installing..."
|
|
||||||
make install
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Install operation complete."
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
mode_help() {
|
|
||||||
echo "${APPNAME} [ --stage ] [ --build_temp ] [ --install_temp ] [ --all_temp ] [ --help ]"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ "$MODE_ALL" = "true" ]; then
|
|
||||||
MODE_STAGE=true
|
|
||||||
MODE_BUILD=true
|
|
||||||
MODE_INSTALL=true
|
|
||||||
fi
|
|
||||||
|
|
||||||
# if no options were selected, then show help and exit
|
|
||||||
if \
|
|
||||||
[ "$MODE_HELP" != "true" ] && \
|
|
||||||
[ "$MODE_STAGE" != "true" ] && \
|
|
||||||
[ "$MODE_BUILD" != "true" ] && \
|
|
||||||
[ "$MODE_INSTALL" != "true" ]
|
|
||||||
then
|
|
||||||
logprint "No option selected during execution."
|
|
||||||
mode_help
|
|
||||||
fi
|
|
||||||
|
|
||||||
# if help was supplied at all, show help and exit
|
|
||||||
if [ "$MODE_HELP" = "true" ]; then
|
|
||||||
logprint "Help option selected. Printing options and exiting."
|
|
||||||
mode_help
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$MODE_STAGE" = "true" ]; then
|
|
||||||
logprint "Staging option selected."
|
|
||||||
mode_stage
|
|
||||||
assert_zero $?
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$MODE_BUILD" = "true" ]; then
|
|
||||||
logprint "Build of ${APPNAME} selected."
|
|
||||||
mode_build
|
|
||||||
assert_zero $?
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$MODE_INSTALL" = "true" ]; then
|
|
||||||
logprint "Install of ${APPNAME} selected."
|
|
||||||
mode_install
|
|
||||||
assert_zero $?
|
|
||||||
fi
|
|
||||||
|
|
||||||
logprint "Execution of ${APPNAME} completed."
|
|
|
@ -1,211 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
# desc:
|
|
||||||
# stages, builds, installs
|
|
||||||
|
|
||||||
# make variables persist in subprocesses for logging function
|
|
||||||
set -a
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
|
||||||
# Configuration:
|
|
||||||
# ----------------------------------------------------------------------
|
|
||||||
# the name of this application
|
|
||||||
APPNAME="libxml2"
|
|
||||||
|
|
||||||
# the version of this application
|
|
||||||
VERSION="2.10.3"
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
|
||||||
# Variables and functions sourced from Environment:
|
|
||||||
# ----------------------------------------------------------------------
|
|
||||||
# assert_zero()
|
|
||||||
# Checks if $1 is 0. If non-0 value, halts the execution of the script.
|
|
||||||
#
|
|
||||||
# LOGS_ROOT
|
|
||||||
# The parent directory where logs from this project will go.
|
|
||||||
#
|
|
||||||
# TEMP_STAGE_DIR
|
|
||||||
# The parent directory of where source archives are extracted to.
|
|
||||||
|
|
||||||
# register mode selections
|
|
||||||
ARGUMENT_LIST=(
|
|
||||||
"stage"
|
|
||||||
"build"
|
|
||||||
"install"
|
|
||||||
"all"
|
|
||||||
"help"
|
|
||||||
)
|
|
||||||
|
|
||||||
# modes to associate with switches
|
|
||||||
# assumes you want nothing done unless you ask for it.
|
|
||||||
MODE_STAGE=false
|
|
||||||
MODE_BUILD=false
|
|
||||||
MODE_INSTALL=false
|
|
||||||
MODE_ALL=false
|
|
||||||
MODE_HELP=false
|
|
||||||
|
|
||||||
# the file to log to
|
|
||||||
LOGFILE="${APPNAME}.log"
|
|
||||||
|
|
||||||
# ISO 8601 variation
|
|
||||||
TIMESTAMP="$(date +%Y-%m-%d_%H:%M:%S)"
|
|
||||||
|
|
||||||
# the path where logs are written to
|
|
||||||
# note: LOGS_ROOT is sourced from environment
|
|
||||||
LOG_DIR="${LOGS_ROOT}/${APPNAME}-${TIMESTAMP}"
|
|
||||||
|
|
||||||
# the path where the source will be located when complete
|
|
||||||
# note: TEMP_STAGE_DIR is sourced from environment
|
|
||||||
T_SOURCE_DIR="${TEMP_STAGE_DIR}/${APPNAME}"
|
|
||||||
|
|
||||||
# read defined arguments
|
|
||||||
opts=$(getopt \
|
|
||||||
--longoptions "$(printf "%s," "${ARGUMENT_LIST[@]}")" \
|
|
||||||
--name "$APPNAME" \
|
|
||||||
--options "" \
|
|
||||||
-- "$@"
|
|
||||||
)
|
|
||||||
|
|
||||||
# process supplied arguments into flags that enable execution modes
|
|
||||||
eval set --$opts
|
|
||||||
while [[ $# -gt 0 ]]; do
|
|
||||||
case "$1" in
|
|
||||||
--stage)
|
|
||||||
MODE_STAGE=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
--build)
|
|
||||||
MODE_BUILD=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
--install)
|
|
||||||
MODE_INSTALL=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
--all)
|
|
||||||
MODE_ALL=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
--help)
|
|
||||||
MODE_HELP=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
break
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
# print to stdout, print to log
|
|
||||||
logprint() {
|
|
||||||
mkdir -p "${LOG_DIR}"
|
|
||||||
echo "[$(date +%Y-%m-%d_%H:%M:%S)] [${APPNAME}] $1" \
|
|
||||||
| tee -a "${LOG_DIR}/${LOGFILE}"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Tell the user we're alive...
|
|
||||||
logprint "Initializing the ${APPNAME} utility..."
|
|
||||||
|
|
||||||
# when the stage mode is enabled, this will execute
|
|
||||||
mode_stage() {
|
|
||||||
logprint "Starting stage of ${APPNAME}..."
|
|
||||||
|
|
||||||
logprint "Removing any pre-existing staging for ${APPNAME}."
|
|
||||||
rm -Rf "${T_SOURCE_DIR}"*
|
|
||||||
|
|
||||||
logprint "Extracting ${APPNAME}-${VERSION} source archive to ${TEMP_STAGE_DIR}"
|
|
||||||
tar xf "${SOURCES_DIR}/${APPNAME}-${VERSION}.tar."* -C "${TEMP_STAGE_DIR}"
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
# conditionally rename if it needs it
|
|
||||||
stat "${T_SOURCE_DIR}-"* && mv "${T_SOURCE_DIR}-"* "${T_SOURCE_DIR}"
|
|
||||||
|
|
||||||
logprint "Staging operation complete."
|
|
||||||
}
|
|
||||||
|
|
||||||
# when the build_pass1 mode is enabled, this will execute
|
|
||||||
mode_build() {
|
|
||||||
|
|
||||||
# patch, configure and build
|
|
||||||
logprint "Starting build of ${APPNAME}..."
|
|
||||||
|
|
||||||
logprint "Entering build dir."
|
|
||||||
pushd "${T_SOURCE_DIR}"
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Configuring..."
|
|
||||||
./configure \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--disable-static \
|
|
||||||
--with-history \
|
|
||||||
--docdir=/usr/share/doc/${APPNAME}-${VERSION}
|
|
||||||
PYTHON=/usr/bin/python3
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Compiling docs..."
|
|
||||||
make
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Build operation complete."
|
|
||||||
}
|
|
||||||
|
|
||||||
mode_install() {
|
|
||||||
logprint "Starting install of ${APPNAME}..."
|
|
||||||
pushd "${T_SOURCE_DIR}"
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Installing..."
|
|
||||||
make install
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Install operation complete."
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
mode_help() {
|
|
||||||
echo "${APPNAME} [ --stage ] [ --build_temp ] [ --install_temp ] [ --all_temp ] [ --help ]"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ "$MODE_ALL" = "true" ]; then
|
|
||||||
MODE_STAGE=true
|
|
||||||
MODE_BUILD=true
|
|
||||||
MODE_INSTALL=true
|
|
||||||
fi
|
|
||||||
|
|
||||||
# if no options were selected, then show help and exit
|
|
||||||
if \
|
|
||||||
[ "$MODE_HELP" != "true" ] && \
|
|
||||||
[ "$MODE_STAGE" != "true" ] && \
|
|
||||||
[ "$MODE_BUILD" != "true" ] && \
|
|
||||||
[ "$MODE_INSTALL" != "true" ]
|
|
||||||
then
|
|
||||||
logprint "No option selected during execution."
|
|
||||||
mode_help
|
|
||||||
fi
|
|
||||||
|
|
||||||
# if help was supplied at all, show help and exit
|
|
||||||
if [ "$MODE_HELP" = "true" ]; then
|
|
||||||
logprint "Help option selected. Printing options and exiting."
|
|
||||||
mode_help
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$MODE_STAGE" = "true" ]; then
|
|
||||||
logprint "Staging option selected."
|
|
||||||
mode_stage
|
|
||||||
assert_zero $?
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$MODE_BUILD" = "true" ]; then
|
|
||||||
logprint "Build of ${APPNAME} selected."
|
|
||||||
mode_build
|
|
||||||
assert_zero $?
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$MODE_INSTALL" = "true" ]; then
|
|
||||||
logprint "Install of ${APPNAME} selected."
|
|
||||||
mode_install
|
|
||||||
assert_zero $?
|
|
||||||
fi
|
|
||||||
|
|
||||||
logprint "Execution of ${APPNAME} completed."
|
|
|
@ -1,209 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
# desc:
|
|
||||||
# stages, builds, installs
|
|
||||||
|
|
||||||
# make variables persist in subprocesses for logging function
|
|
||||||
set -a
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
|
||||||
# Configuration:
|
|
||||||
# ----------------------------------------------------------------------
|
|
||||||
# the name of this application
|
|
||||||
APPNAME="libxslt"
|
|
||||||
|
|
||||||
# the version of this application
|
|
||||||
VERSION="1.1.34"
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
|
||||||
# Variables and functions sourced from Environment:
|
|
||||||
# ----------------------------------------------------------------------
|
|
||||||
# assert_zero()
|
|
||||||
# Checks if $1 is 0. If non-0 value, halts the execution of the script.
|
|
||||||
#
|
|
||||||
# LOGS_ROOT
|
|
||||||
# The parent directory where logs from this project will go.
|
|
||||||
#
|
|
||||||
# TEMP_STAGE_DIR
|
|
||||||
# The parent directory of where source archives are extracted to.
|
|
||||||
|
|
||||||
# register mode selections
|
|
||||||
ARGUMENT_LIST=(
|
|
||||||
"stage"
|
|
||||||
"build"
|
|
||||||
"install"
|
|
||||||
"all"
|
|
||||||
"help"
|
|
||||||
)
|
|
||||||
|
|
||||||
# modes to associate with switches
|
|
||||||
# assumes you want nothing done unless you ask for it.
|
|
||||||
MODE_STAGE=false
|
|
||||||
MODE_BUILD=false
|
|
||||||
MODE_INSTALL=false
|
|
||||||
MODE_ALL=false
|
|
||||||
MODE_HELP=false
|
|
||||||
|
|
||||||
# the file to log to
|
|
||||||
LOGFILE="${APPNAME}.log"
|
|
||||||
|
|
||||||
# ISO 8601 variation
|
|
||||||
TIMESTAMP="$(date +%Y-%m-%d_%H:%M:%S)"
|
|
||||||
|
|
||||||
# the path where logs are written to
|
|
||||||
# note: LOGS_ROOT is sourced from environment
|
|
||||||
LOG_DIR="${LOGS_ROOT}/${APPNAME}-${TIMESTAMP}"
|
|
||||||
|
|
||||||
# the path where the source will be located when complete
|
|
||||||
# note: TEMP_STAGE_DIR is sourced from environment
|
|
||||||
T_SOURCE_DIR="${TEMP_STAGE_DIR}/${APPNAME}"
|
|
||||||
|
|
||||||
# read defined arguments
|
|
||||||
opts=$(getopt \
|
|
||||||
--longoptions "$(printf "%s," "${ARGUMENT_LIST[@]}")" \
|
|
||||||
--name "$APPNAME" \
|
|
||||||
--options "" \
|
|
||||||
-- "$@"
|
|
||||||
)
|
|
||||||
|
|
||||||
# process supplied arguments into flags that enable execution modes
|
|
||||||
eval set --$opts
|
|
||||||
while [[ $# -gt 0 ]]; do
|
|
||||||
case "$1" in
|
|
||||||
--stage)
|
|
||||||
MODE_STAGE=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
--build)
|
|
||||||
MODE_BUILD=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
--install)
|
|
||||||
MODE_INSTALL=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
--all)
|
|
||||||
MODE_ALL=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
--help)
|
|
||||||
MODE_HELP=true
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
break
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
# print to stdout, print to log
|
|
||||||
logprint() {
|
|
||||||
mkdir -p "${LOG_DIR}"
|
|
||||||
echo "[$(date +%Y-%m-%d_%H:%M:%S)] [${APPNAME}] $1" \
|
|
||||||
| tee -a "${LOG_DIR}/${LOGFILE}"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Tell the user we're alive...
|
|
||||||
logprint "Initializing the ${APPNAME} utility..."
|
|
||||||
|
|
||||||
# when the stage mode is enabled, this will execute
|
|
||||||
mode_stage() {
|
|
||||||
logprint "Starting stage of ${APPNAME}..."
|
|
||||||
|
|
||||||
logprint "Removing any pre-existing staging for ${APPNAME}."
|
|
||||||
rm -Rf "${T_SOURCE_DIR}"*
|
|
||||||
|
|
||||||
logprint "Extracting ${APPNAME}-${VERSION} source archive to ${TEMP_STAGE_DIR}"
|
|
||||||
tar xf "${SOURCES_DIR}/${APPNAME}-${VERSION}.tar."* -C "${TEMP_STAGE_DIR}"
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
# conditionally rename if it needs it
|
|
||||||
stat "${T_SOURCE_DIR}-"* && mv "${T_SOURCE_DIR}-"* "${T_SOURCE_DIR}"
|
|
||||||
|
|
||||||
logprint "Staging operation complete."
|
|
||||||
}
|
|
||||||
|
|
||||||
# when the build_pass1 mode is enabled, this will execute
|
|
||||||
mode_build() {
|
|
||||||
|
|
||||||
# patch, configure and build
|
|
||||||
logprint "Starting build of ${APPNAME}..."
|
|
||||||
|
|
||||||
logprint "Entering build dir."
|
|
||||||
pushd "${T_SOURCE_DIR}"
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Configuring..."
|
|
||||||
./configure \
|
|
||||||
--prefix=/usr \
|
|
||||||
--disable-static \
|
|
||||||
--docdir=/usr/share/doc/${APPNAME}-${VERSION} \
|
|
||||||
PYTHON=/usr/bin/python3
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Compiling docs..."
|
|
||||||
make
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Build operation complete."
|
|
||||||
}
|
|
||||||
|
|
||||||
mode_install() {
|
|
||||||
logprint "Starting install of ${APPNAME}..."
|
|
||||||
pushd "${T_SOURCE_DIR}"
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Installing..."
|
|
||||||
make install
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Install operation complete."
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
mode_help() {
|
|
||||||
echo "${APPNAME} [ --stage ] [ --build_temp ] [ --install_temp ] [ --all_temp ] [ --help ]"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ "$MODE_ALL" = "true" ]; then
|
|
||||||
MODE_STAGE=true
|
|
||||||
MODE_BUILD=true
|
|
||||||
MODE_INSTALL=true
|
|
||||||
fi
|
|
||||||
|
|
||||||
# if no options were selected, then show help and exit
|
|
||||||
if \
|
|
||||||
[ "$MODE_HELP" != "true" ] && \
|
|
||||||
[ "$MODE_STAGE" != "true" ] && \
|
|
||||||
[ "$MODE_BUILD" != "true" ] && \
|
|
||||||
[ "$MODE_INSTALL" != "true" ]
|
|
||||||
then
|
|
||||||
logprint "No option selected during execution."
|
|
||||||
mode_help
|
|
||||||
fi
|
|
||||||
|
|
||||||
# if help was supplied at all, show help and exit
|
|
||||||
if [ "$MODE_HELP" = "true" ]; then
|
|
||||||
logprint "Help option selected. Printing options and exiting."
|
|
||||||
mode_help
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$MODE_STAGE" = "true" ]; then
|
|
||||||
logprint "Staging option selected."
|
|
||||||
mode_stage
|
|
||||||
assert_zero $?
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$MODE_BUILD" = "true" ]; then
|
|
||||||
logprint "Build of ${APPNAME} selected."
|
|
||||||
mode_build
|
|
||||||
assert_zero $?
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$MODE_INSTALL" = "true" ]; then
|
|
||||||
logprint "Install of ${APPNAME} selected."
|
|
||||||
mode_install
|
|
||||||
assert_zero $?
|
|
||||||
fi
|
|
||||||
|
|
||||||
logprint "Execution of ${APPNAME} completed."
|
|
|
@ -1,63 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
# desc:
|
|
||||||
# stages, builds, installs
|
|
||||||
|
|
||||||
# make variables persist in subprocesses for logging function
|
|
||||||
set -a
|
|
||||||
|
|
||||||
APPNAME="livecd"
|
|
||||||
|
|
||||||
|
|
||||||
# the file to log to
|
|
||||||
LOGFILE="${APPNAME}.log"
|
|
||||||
|
|
||||||
# ISO 8601 variation
|
|
||||||
TIMESTAMP="$(date +%Y-%m-%d_%H:%M:%S)"
|
|
||||||
|
|
||||||
# the path where logs are written to
|
|
||||||
# note: LOGS_ROOT is sourced from environment
|
|
||||||
LOG_DIR="${LOGS_ROOT}/${APPNAME}-${TIMESTAMP}"
|
|
||||||
|
|
||||||
|
|
||||||
# print to stdout, print to log
|
|
||||||
logprint() {
|
|
||||||
mkdir -p "${LOG_DIR}"
|
|
||||||
echo "[$(date +%Y-%m-%d_%H:%M:%S)] [${APPNAME}] $1" \
|
|
||||||
| tee -a "${LOG_DIR}/${LOGFILE}"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Tell the user we're alive...
|
|
||||||
logprint "Initializing the ${APPNAME} utility..."
|
|
||||||
|
|
||||||
logprint "Creating grub boot directory..."
|
|
||||||
mkdir -p ${T_SYSROOT}/boot/grub
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
|
|
||||||
logprint "Installing livecd grub config"
|
|
||||||
cp -vf ${CONFIGS_DIR}/boot_grub_grub.cfg ${T_SYSROOT}/boot/grub/grub.cfg
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
pushd ${dir_artifacts}
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Generating initramfs..."
|
|
||||||
# TODO chroot ignores this, and it breaks binutils pass 3
|
|
||||||
ulimit -n 3000000
|
|
||||||
/usr/sbin/chroot "${T_SYSROOT}" /usr/bin/env -i \
|
|
||||||
HOME=/root \
|
|
||||||
TERM="xterm-256color" \
|
|
||||||
PS1='\n(dark horse linux) [ \u @ \H ] << \w >>\n\n[- ' \
|
|
||||||
PATH=/usr/bin:/usr/sbin \
|
|
||||||
dracut --force '' 6.0.12
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Generating bootable ISO"
|
|
||||||
grub2-mkrescue -o DHLP.iso ${T_SYSROOT}
|
|
||||||
assert_zero $?
|
|
||||||
|
|
||||||
logprint "Thanks for using Dark Horse Linux. Your experimental build is at '${dir_artifacts}/DHLP.iso'."
|
|
||||||
logprint "You can test your new ISO with qemu using:"
|
|
||||||
logprint "qemu-system-x86_64 -cdrom ${dir_artifacts}/DHLP.iso -m 2048 -boot d"
|
|
||||||
|
|
||||||
logprint "Execution of ${APPNAME} completed."
|
|
|
@ -1,48 +0,0 @@
|
||||||
HORSE=$(cat <<'EOH'
|
|
||||||
⠀⠀⠀⠀⠀⠀⢀⠀⠀⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠘⣦⡀⠘⣆⠈⠛⠻⣗⠶⣶⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠈⣿⠀⠈⠳⠄⠀⠈⠙⠶⣍⡻⢿⣷⣦⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⣰⣿⣧⠀⠀⠀⠀⠀⠀⠀⠈⠻⣮⡹⣿⣿⣷⣦⣄⣀⠀⠀⢀⣸⠃⠀⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⢠⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⣮⢿⣿⣿⣿⣿⣿⣿⣿⠟⠀⢰⣿⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⢀⣾⣿⠀⠀⠀⠀⠀⠀⠀⣷⠀⢷⠀⠀⠀⠙⢷⣿⣿⣿⣿⣟⣋⣀⣤⣴⣿⣿⣿⣧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⢀⣼⢿⣿⡀⠀⠀⢀⣀⣴⣾⡟⠀⠈⣇⠀⠀⠀⠈⢻⡙⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⣼⡏⠸⣿⣿⣶⣾⣿⡿⠟⠋⠀⠀⠀⢹⡆⠀⠀⠀⠀⠹⡽⣿⣿⣿⣿⣿⣿⣿⣿⡿⠛⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⣰⣿⠀⠀⠀⣀⡿⠛⠉⠀⠀⢿⠀⠀⠀⠘⣿⡄⠀⠀⠀⠀⠑⢹⣿⣿⣿⣿⣿⣿⣿⣿⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⣿⣿⣷⣶⣾⠏⠀⠀⠀⠀⠀⠘⣇⠀⠀⠀⢻⡇⠀⠀⠀⠀⠀⠀⠹⣿⣿⣿⣿⣿⡿⠃⠀⣠⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠈⠙⠿⠿⠋⠀⠀⠀⠀⠀⠀⠀⣿⠀⠀⠀⢸⣷⠀⠀⠀⠀⠀⢀⠀⠹⣿⣿⣿⣿⣷⣶⣿⠟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣿⠀⠀⠀⢸⣿⠀⠀⠀⠀⢀⡞⠀⠀⠈⠛⠻⠿⠿⠯⠥⠤⢄⣀⣀⢀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⣿⠀⠀⠀⢸⡇⠀⠀⠀⢀⡼⠃⠀⠀⠀⠀⠀⣄⠀⠀⠀⠀⠀⠀⠈⠙⠂⠙⠳⢤⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣿⠇⠀⠀⠀⡾⠁⠀⠀⣠⡿⠃⠀⠀⠀⠀⠀⠀⠸⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢿⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⣿⠀⠀⠀⡸⠃⠀⢀⣴⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⣿⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⣷⣶⣶⣦⣤⣀⡀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⣿⠇⠀⠀⠀⠃⢀⣴⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⣿⣿⣿⣿⣿⣿⣿⣶⣤⡀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣿⠏⠀⠀⠀⠀⣰⡟⠁⠀⠀⠀ ⠀⠀⠀⣼⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣧⠙⠻⣿⣿⣿⣿⣿⣿⣦⡀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⡏⠀⠀⢀⡖⢰⠏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⡟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⠟⠀⠀⠀⢸⣿⠀⠀⠈⢿⣿⣿⣿⣿⣿⡿
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢿⡇⠀⠀⣼⠁⠼⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣴⠟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡴⠋⠀⠀⠀⠀⣼⡇⠀⠀⣠⣾⣿⣿⣿⣿⠟⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡄⠘⣇⠀⠀⢻⡄⢠⡄⠀⠀⠀⠀⠀⠀⠀⠀⢀⣤⡴⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⠟⠁⠀⠀⠀⢀⣼⠏⠀⣠⣾⣿⣿⡿⣿⡿⠁⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⢀⣾⠁⠀⠘⠂⠀⠀⢳⠀⢳⡀⠀⠀⠀⠀⠀⠀⢀⡼⠁⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣾⣿⠃⠀⠀⠀⠀⣠⣾⠃⣠⣾⣿⣿⠿⠋⢰⡟⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⢠⣿⠃⠀⠀⠀⢀⣀⡴⠞⠙⠲⣷⡄⠀⠀⠀⠀⢠⡾⠁⠀⠀⠀⢀⣀⣠⣤⣶⠿⠟⠋⠀⡾⠀⠀⠀⢀⣴⠟⠁⢠⡟⢱⡿⠃⠀⠀⠸⣇⡀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⢀⡴⠟⠁⠀⣀⡤⠖⠋⠁⠀⠀⠀⠀⣸⠇⠀⠀⠀⣤⠟⠑⠋⠉⣿⠋⠉⠉⠉⠁⣠⠞⠀⠀⠀⡇⠀⠀⢠⡿⠋⠀⠀⠈⠁⡿⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀
|
|
||||||
⠀⠀⠀⢀⣾⣏⣤⣶⡾⠛⠉⠀⠀⠀⠀⠀⠀⢀⡼⠃⠀⠀⣠⠞⠁⠀⠀⠀⠀⣿⠀⠀⠀⢀⡼⠃⠀⠀⠀⢸⠇⠀⣰⠟⠀⠀⠀⠀⠀⠐⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⢀⣿⣿⡿⠛⠁⠀⠀⠀⠀⠀⠀⠀⢀⣴⠏⠀⠀⣠⠞⠁⠀⠀⠀⠀⠀⠀⣿⠀⠀⢀⡾⠃⠀⠀⠀⢀⡞⠀⣼⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⣼⣿⡟⠁⠀⠀⠀⠀⠀⠀⠀⠀⢠⣾⣿⣶⣶⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⣿⠀⠀⣾⠇⠀⠀⠀⢀⣾⣣⣾⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⢠⣿⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣿⣿⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣿⠀⢠⡟⠀⠀⠀⢀⣾⣿⣿⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⢀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣿⣿⡄⢀⣀⡀⠀⠀⠀⠀⠀⠀⢸⡇⠀⣾⠇⠀⠀⣰⣿⣿⣿⠏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⢸⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢿⣿⣿⣿⣿⣿⣦⡀⠀⠀⠀⠀⣾⠀⣰⠟⠀⢀⣼⣿⣿⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⢸⣿⣿⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⠿⠿⠿⠿⠿⠿⠃⠀⠀⠀⢸⣿⣶⠏⢀⣴⣿⣿⠏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⢸⣿⣿⣿⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣾⣿⠃⢠⣿⣿⡿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⢿⣿⣿⣿⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣿⣿⢃⣴⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠈⠛⠛⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣿⣿⣧⣾⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣿⣿⡟⢸⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣿⣿⣿⠁⠀⠀⠈⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⠿⠿⠿⠛⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
EOH
|
|
||||||
)
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo
|
|
||||||
echo -e "\e[31m$HORSE\e[0m"
|
|
||||||
echo
|
|
||||||
echo "Welcome to Pyrois, the build system for Dark Horse Linux."
|
|
||||||
echo
|
|
||||||
echo "LIVD CD GENERATOR"
|
|
||||||
echo
|
|
|
@ -159,7 +159,7 @@ mode_install() {
|
||||||
|
|
||||||
logprint "Installing kernel"
|
logprint "Installing kernel"
|
||||||
# TODO parameterize this for cross-arch builds
|
# TODO parameterize this for cross-arch builds
|
||||||
cp -iv arch/x86_64/boot/bzImage /boot/vmlinuz-${VERSION}-dark_horse-pyrois
|
cp -iv arch/x86_64/boot/bzImage /boot/vmlinuz-${VERSION}-dark_horse-pyrois-${TIMESTAMP}
|
||||||
assert_zero $?
|
assert_zero $?
|
||||||
|
|
||||||
cp -ifv System.map /boot/System.map-${VERSION}
|
cp -ifv System.map /boot/System.map-${VERSION}
|
||||||
|
|
|
@ -55,7 +55,6 @@ TEMP_STAGE_DIR=${T_SYSROOT}/source_stage
|
||||||
SOURCES_DIR=${dir_sources}
|
SOURCES_DIR=${dir_sources}
|
||||||
PATCHES_DIR=${dir_patches}
|
PATCHES_DIR=${dir_patches}
|
||||||
LOGS_ROOT=${dir_logs}/apps/stage2
|
LOGS_ROOT=${dir_logs}/apps/stage2
|
||||||
CONFIGS_DIR=${dir_configs}
|
|
||||||
|
|
||||||
# fail the unit in the event of a non-zero value passed
|
# fail the unit in the event of a non-zero value passed
|
||||||
# used primarily to check exit codes on previous commands
|
# used primarily to check exit codes on previous commands
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
{
|
|
||||||
"plan":
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"name": "welcome livecd",
|
|
||||||
"dependencies": [ null ],
|
|
||||||
"comment": "greet the user"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "create_livecd",
|
|
||||||
"dependencies": [ null ],
|
|
||||||
"comment": "executed outside of chroot context"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -15,26 +15,6 @@
|
||||||
"name": "linux kernel",
|
"name": "linux kernel",
|
||||||
"dependencies": [ null ],
|
"dependencies": [ null ],
|
||||||
"comment": "the abyss"
|
"comment": "the abyss"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "libxml2",
|
|
||||||
"dependencies": [ null ],
|
|
||||||
"comment": "on your own again"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "libxslt",
|
|
||||||
"dependencies": [ null ],
|
|
||||||
"comment": "on your own again"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "asciidoc",
|
|
||||||
"dependencies": [ null ],
|
|
||||||
"comment": "on your own again"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "dracut",
|
|
||||||
"dependencies": [ null ],
|
|
||||||
"comment": "on your own again"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,40 +0,0 @@
|
||||||
{
|
|
||||||
"units": [
|
|
||||||
{
|
|
||||||
"name": "welcome livecd",
|
|
||||||
"target": "components/livecd/welcome.bash",
|
|
||||||
"is_shell_command": true,
|
|
||||||
"shell_definition": "bash",
|
|
||||||
"force_pty": true,
|
|
||||||
"set_working_directory": false,
|
|
||||||
"working_directory": "",
|
|
||||||
"rectify": false,
|
|
||||||
"rectifier": "",
|
|
||||||
"active": true,
|
|
||||||
"required": true,
|
|
||||||
"set_user_context": true,
|
|
||||||
"user": "root",
|
|
||||||
"group": "root",
|
|
||||||
"supply_environment": true,
|
|
||||||
"environment": "environments/stage4.env.bash"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "create_livecd",
|
|
||||||
"target": "components/livecd/livecd.bash",
|
|
||||||
"is_shell_command": true,
|
|
||||||
"shell_definition": "bash",
|
|
||||||
"force_pty": true,
|
|
||||||
"set_working_directory": false,
|
|
||||||
"working_directory": "",
|
|
||||||
"rectify": false,
|
|
||||||
"rectifier": "",
|
|
||||||
"active": true,
|
|
||||||
"required": true,
|
|
||||||
"set_user_context": true,
|
|
||||||
"user": "root",
|
|
||||||
"group": "root",
|
|
||||||
"supply_environment": true,
|
|
||||||
"environment": "environments/stage2.env.bash"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -53,78 +53,6 @@
|
||||||
"group": "root",
|
"group": "root",
|
||||||
"supply_environment": true,
|
"supply_environment": true,
|
||||||
"environment": "environments/stage4.env.bash"
|
"environment": "environments/stage4.env.bash"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "libxml2",
|
|
||||||
"target": "components/livecd/libxml2.bash --all",
|
|
||||||
"is_shell_command": true,
|
|
||||||
"shell_definition": "bash",
|
|
||||||
"force_pty": true,
|
|
||||||
"set_working_directory": false,
|
|
||||||
"working_directory": "",
|
|
||||||
"rectify": false,
|
|
||||||
"rectifier": "",
|
|
||||||
"active": true,
|
|
||||||
"required": true,
|
|
||||||
"set_user_context": true,
|
|
||||||
"user": "root",
|
|
||||||
"group": "root",
|
|
||||||
"supply_environment": true,
|
|
||||||
"environment": "environments/stage4.env.bash"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "libxslt",
|
|
||||||
"target": "components/livecd/libxslt.bash --all",
|
|
||||||
"is_shell_command": true,
|
|
||||||
"shell_definition": "bash",
|
|
||||||
"force_pty": true,
|
|
||||||
"set_working_directory": false,
|
|
||||||
"working_directory": "",
|
|
||||||
"rectify": false,
|
|
||||||
"rectifier": "",
|
|
||||||
"active": true,
|
|
||||||
"required": true,
|
|
||||||
"set_user_context": true,
|
|
||||||
"user": "root",
|
|
||||||
"group": "root",
|
|
||||||
"supply_environment": true,
|
|
||||||
"environment": "environments/stage4.env.bash"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "asciidoc",
|
|
||||||
"target": "components/livecd/asciidoc.bash --all",
|
|
||||||
"is_shell_command": true,
|
|
||||||
"shell_definition": "bash",
|
|
||||||
"force_pty": true,
|
|
||||||
"set_working_directory": false,
|
|
||||||
"working_directory": "",
|
|
||||||
"rectify": false,
|
|
||||||
"rectifier": "",
|
|
||||||
"active": true,
|
|
||||||
"required": true,
|
|
||||||
"set_user_context": true,
|
|
||||||
"user": "root",
|
|
||||||
"group": "root",
|
|
||||||
"supply_environment": true,
|
|
||||||
"environment": "environments/stage4.env.bash"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "dracut",
|
|
||||||
"target": "components/livecd/dracut.bash --all",
|
|
||||||
"is_shell_command": true,
|
|
||||||
"shell_definition": "bash",
|
|
||||||
"force_pty": true,
|
|
||||||
"set_working_directory": false,
|
|
||||||
"working_directory": "",
|
|
||||||
"rectify": false,
|
|
||||||
"rectifier": "",
|
|
||||||
"active": true,
|
|
||||||
"required": true,
|
|
||||||
"set_user_context": true,
|
|
||||||
"user": "root",
|
|
||||||
"group": "root",
|
|
||||||
"supply_environment": true,
|
|
||||||
"environment": "environments/stage4.env.bash"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue