xbps-casper: support for starting the void-installer rather than autologin.
This commit is contained in:
parent
9cfb7aa680
commit
152a69f23c
3 changed files with 10 additions and 4 deletions
|
@ -2,5 +2,8 @@
|
|||
|
||||
USERNAME=root
|
||||
[ -f /etc/casper.conf ] && . /etc/casper.conf
|
||||
if [ -n "$AUTOINSTALLER" ]; then
|
||||
exec /usr/sbin/void-installer
|
||||
else
|
||||
exec /bin/login -f $USERNAME
|
||||
|
||||
fi
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
# This file should go in /etc/casper.conf
|
||||
# Supported variables are:
|
||||
# USERNAME, USERFULLNAME, HOST, BUILD_SYSTEM
|
||||
# USERNAME, USERFULLNAME, HOST, BUILD_SYSTEM, AUTOINSTALLER
|
||||
|
||||
export USERNAME="anon"
|
||||
export USERFULLNAME="Anonymous live session user"
|
||||
export HOST="xbps-live"
|
||||
export BUILD_SYSTEM="XBPS"
|
||||
# If enabled the Void Linux installer will be executed by getty.
|
||||
# Comment it out to disable and enable user autologin.
|
||||
export AUTOINSTALLER=1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'xbps-casper'
|
||||
pkgname=xbps-casper
|
||||
_localver=0.24 # XBPS package version
|
||||
_localver=0.25 # XBPS package version
|
||||
_distver=1.236 # This should match the upstream (Ubuntu) version
|
||||
version=${_localver}.${_distver}
|
||||
short_desc="Run a live preinstalled system from read-only media"
|
||||
|
|
Loading…
Reference in a new issue