mirror of https://github.com/parazyd/arm-sdk.git
more variables for zuper debugging
This commit is contained in:
parent
7edf6ca1dc
commit
5bf8a3a10c
|
|
@ -46,7 +46,7 @@ init() {
|
|||
common="$R/arm/profiles/common-${os}"
|
||||
|
||||
[[ -f $common ]] || { error "No valid distro specified"; return 1 }
|
||||
[[-f $arm_build_device ]] || { error "No valid device specified"; return 1 }
|
||||
[[ -f $arm_build_device ]] || { error "No valid device specified"; return 1 }
|
||||
|
||||
source ${arm_build_device}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -249,7 +249,7 @@ ${device_name}-thirdstage() {
|
|||
sudo -E mount -o bind /dev/pts ${strapdir}/dev/pts && notice "Mounted dev/pts..."
|
||||
|
||||
notice "Chrooting..."
|
||||
LANG=C sudo -E chroot $strapdir /third-stage
|
||||
LANG=C sudo -E chroot ${strapdir} /third-stage
|
||||
[[ $? = 0 ]] || {
|
||||
error "Failed at third-stage"
|
||||
return 1
|
||||
|
|
|
|||
8
sdk
8
sdk
|
|
@ -39,8 +39,12 @@ vars+=(os mirror release section version)
|
|||
# global variables
|
||||
vars+=(R sdk_loaded)
|
||||
# script variables
|
||||
vars+=(strapdir writebase device_name image_name)
|
||||
vars+=(loopdevice mappdevice )
|
||||
vars+=(workdir strapdir writebase)
|
||||
vars+=(loopdevice mappdevice)
|
||||
vars+=(arm_build_device)
|
||||
# script locals
|
||||
vars+=(device_name image_name arch size)
|
||||
vars+=(inittab)
|
||||
|
||||
# we assume source sdk is always run from the source dir
|
||||
# which is the "root" of the program, $R, or env DEVUAN_SDK
|
||||
|
|
|
|||
Loading…
Reference in New Issue