Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d895695

Browse files
committedJun 15, 2021
replace void-installer with lev-installer
1 parent ffe3321 commit d895695

File tree

5 files changed

+12
-11
lines changed

5 files changed

+12
-11
lines changed
 

‎data/issue

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
###############################################################################
22

3-
Welcome to the Void Linux Live system. Two users are available to log in:
3+
Welcome to the LEV Linux Live system. Two users are available to log in:
44

55
- root:voidlinux
66
- anon:voidlinux
@@ -10,7 +10,7 @@ without a password.
1010

1111
To start the installation please type:
1212

13-
# void-installer
13+
# lev-installer
1414

1515
and follow the on-screen instructions. To install additional software make
1616
sure to configure your network interface and then use:
@@ -24,5 +24,6 @@ formats, and can be accessed with the `void-docs(1)` utility.
2424
Thanks for using Void Linux.
2525

2626
https://www.voidlinux.org
27+
https://github.com/salahdin-ahmed/LEV-mklive
2728

2829
###############################################################################

‎dracut/netmenu/module-setup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ install() {
8181
# do this...
8282
sed -i "s:shutdown -r now:sync && reboot -f:" "$moddir/installer.sh"
8383

84-
inst "$moddir/installer.sh" /usr/bin/void-installer
84+
inst "$moddir/installer.sh" /usr/bin/lev-installer
8585
inst_hook pre-mount 05 "$moddir/netmenu.sh"
8686
}

‎dracut/netmenu/netmenu.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dialog --colors --keep-tite --no-shadow --no-mouse \
44
--backtitle "\Zb\Z7Void Linux installation -- https://www.voidlinux.org\Zn" \
55
--cancel-label "Reboot" --aspect 20 \
66
--menu "Select an Action:" 10 50 2 \
7-
"Install" "Run void-installer" \
7+
"Install" "Run lev-installer" \
88
"Shell" "Run dash" \
99
2>/tmp/netmenu.action
1010

@@ -13,6 +13,6 @@ if [ ! $? ] ; then
1313
fi
1414

1515
case $(cat /tmp/netmenu.action) in
16-
"Install") /usr/bin/void-installer ; exec sh ;;
16+
"Install") /usr/bin/lev-installer ; exec sh ;;
1717
"Shell") exec sh ;;
1818
esac

‎installer.sh.in

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ FILESYSTEMS_DONE=
4444
USER_SHELL=$(getent passwd | awk -F: -v user="anon" '$1 == user {print $NF}')
4545
TARGETDIR=/mnt/target
4646
LOG=/dev/tty8
47-
CONF_FILE=/tmp/.void-installer.conf
47+
CONF_FILE=/tmp/.lev-installer.conf
4848
if [ ! -f $CONF_FILE ]; then
4949
touch -f $CONF_FILE
5050
fi
@@ -1243,7 +1243,7 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return
12431243
. /etc/default/live.conf
12441244
rm -f $TARGETDIR/etc/motd
12451245
rm -f $TARGETDIR/etc/issue
1246-
rm -f $TARGETDIR/usr/sbin/void-installer
1246+
rm -f $TARGETDIR/usr/sbin/lev-installer
12471247
# Remove modified sddm.conf to let sddm use the defaults.
12481248
rm -f $TARGETDIR/etc/sddm.conf
12491249
# Remove live user.
@@ -1306,7 +1306,7 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return
13061306
elif [ -n "$_dev" -a "$_type" = "static" ]; then
13071307
# static IP through dhcpcd.
13081308
mv $TARGETDIR/etc/dhcpcd.conf $TARGETDIR/etc/dhdpcd.conf.orig
1309-
echo "# Static IP configuration set by the void-installer for $_dev." \
1309+
echo "# Static IP configuration set by the lev-installer for $_dev." \
13101310
>$TARGETDIR/etc/dhcpcd.conf
13111311
echo "interface $_dev" >>$TARGETDIR/etc/dhcpcd.conf
13121312
echo "static ip_address=$_ip" >>$TARGETDIR/etc/dhcpcd.conf
@@ -1455,7 +1455,7 @@ if ! command -v dialog >/dev/null; then
14551455
fi
14561456

14571457
if [ "$(id -u)" != "0" ]; then
1458-
echo "void-installer must run as root" 1>&2
1458+
echo "lev-installer must run as root" 1>&2
14591459
exit 1
14601460
fi
14611461

‎mklive.sh.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ install_packages() {
132132
chroot "$ROOTFS" env -i xbps-reconfigure -a
133133

134134
if [ -x installer.sh ]; then
135-
install -Dm755 installer.sh "$ROOTFS"/usr/sbin/void-installer
135+
install -Dm755 installer.sh "$ROOTFS"/usr/sbin/lev-installer
136136
else
137-
install -Dm755 /usr/sbin/void-installer "$ROOTFS"/usr/sbin/void-installer
137+
install -Dm755 /usr/sbin/lev-installer "$ROOTFS"/usr/sbin/lev-installer
138138
fi
139139
# Cleanup and remove useless stuff.
140140
rm -rf "$ROOTFS"/var/cache/* "$ROOTFS"/run/* "$ROOTFS"/var/run/*

0 commit comments

Comments
 (0)
Please sign in to comment.