Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renaming boot scripts for refactoring them into numbered plugins.
- Loading branch information
1 parent
4640db7
commit 2e70d7b
Showing
20 changed files
with
58 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#!/bin/sh | ||
|
||
if [ -e /scripts/functions ] | ||
then | ||
# initramfs-tools specific (FIXME) | ||
. /scripts/functions | ||
fi | ||
|
||
export PATH="/root/usr/bin:/root/usr/sbin:/root/bin:/root/sbin:/usr/bin:/usr/sbin:/bin:/sbin" | ||
|
||
echo "/root/lib" >> /etc/ld.so.conf | ||
echo "/root/usr/lib" >> /etc/ld.so.conf | ||
|
||
mountpoint="/live/image" | ||
alt_mountpoint="/media" | ||
LIVE_MEDIA_PATH="live" | ||
|
||
HOSTNAME="host" | ||
|
||
mkdir -p "${mountpoint}" | ||
tried="/tmp/tried" | ||
|
||
# Create /etc/mtab for debug purpose and future syncs | ||
if [ ! -d /etc ] | ||
then | ||
mkdir /etc/ | ||
fi | ||
|
||
if [ ! -f /etc/mtab ] | ||
then | ||
touch /etc/mtab | ||
fi | ||
|
||
if [ ! -x "/bin/fstype" ] | ||
then | ||
# klibc not in path -> not in initramfs | ||
export PATH="${PATH}:/usr/lib/klibc/bin" | ||
fi | ||
|
||
# handle upgrade path from old udev (using udevinfo) to | ||
# recent versions of udev (using udevadm info) | ||
if [ -x /sbin/udevadm ] | ||
then | ||
udevinfo='/sbin/udevadm info' | ||
else | ||
udevinfo='udevinfo' | ||
fi | ||
|
||
old_root_overlay_label="live-rw" | ||
old_home_overlay_label="home-rw" | ||
custom_overlay_label="persistence" | ||
persistence_list="live-persistence.conf" | ||
|
||
if [ ! -f /live.vars ] | ||
then | ||
touch /live.vars | ||
fi |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.