use the dave-fixes branch in the image build repo on my github
https://github.com/bahamas10/void-lx-brand-image-builder/commits/dave-fixes
use the dave-fixes branch in the image build repo on my github
https://github.com/bahamas10/void-lx-brand-image-builder/commits/dave-fixes
| root - build sunos ~/.../usr/src/lib/brand/lx/zone (git:master) # pwd | |
| /home/dave/joyent/illumos-joyent/usr/src/lib/brand/lx/zone | |
| root - build sunos ~/.../usr/src/lib/brand/lx/zone (git:master) # cat lx_boot_zone_void.ksh | |
| #!/bin/ksh -p | |
| # | |
| # This file and its contents are supplied under the terms of the | |
| # Common Development and Distribution License ("CDDL"), version 1.0. | |
| # You may only use this file in accordance with the terms of version | |
| # 1.0 of the CDDL. | |
| # | |
| # A full copy of the text of the CDDL should have accompanied this | |
| # source. A copy of the CDDL is also available via the Internet at | |
| # http://www.illumos.org/license/CDDL. | |
| # | |
| # | |
| # Copyright 2019 Joyent, Inc. | |
| # | |
| # Hand control back to lx_boot |
| diff --git a/usr/src/lib/brand/lx/zone/lx_boot.ksh b/usr/src/lib/brand/lx/zone/lx_boot.ksh | |
| index da93e03..d6200e5 100644 | |
| --- a/usr/src/lib/brand/lx/zone/lx_boot.ksh | |
| +++ b/usr/src/lib/brand/lx/zone/lx_boot.ksh | |
| @@ -21,8 +21,8 @@ | |
| # | |
| # | |
| # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. | |
| -# Copyright 2015, Joyent, Inc. | |
| # Copyright 2017 ASS-Einrichtungssysteme GmbH, Inc. | |
| +# Copyright 2019 Joyent, Inc. | |
| # | |
| # lx boot script. | |
| # | |
| @@ -83,6 +83,8 @@ elif [[ -f $ZONEROOT/etc/alpine-release ]]; then | |
| distro="busybox" | |
| elif [[ -f $ZONEROOT/etc/SuSE-release ]]; then | |
| distro="suse" | |
| +elif [[ -f $ZONEROOT/etc/void-release ]]; then | |
| + distro="void" | |
| fi | |
| [[ -z $distro ]] && fatal "Unsupported distribution!" |