8-15-22
This commit is contained in:
parent
810564082a
commit
dfffba09e9
9
INSTRUCTIONS
Normal file
9
INSTRUCTIONS
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
### HOW TO INSTALL EVEREST LINUX ###
|
||||||
|
|
||||||
|
1 - Read over build.sh, build-2.sh, and build-3.sh, and make any necessary modifications
|
||||||
|
2 - Read over all files in the sysfiles directory, and make any necessary modifications
|
||||||
|
3 - Run build.sh as ROOT on your host system
|
||||||
|
4 - Run build-2.sh as the newly created EVEREST user on your host system
|
||||||
|
5 - Run build-3.sh as any user that can write to /mnt/everest
|
||||||
|
6 - After all 3 scripts have finished, you should be left with a tarball called "everestlinux-1.0.0-busybox.tar.bz2 in the /mnt/everest/build directory. Copy this tarball to any system and unpack it.
|
||||||
|
7 - You should now have a fully functional Everest Linux system.
|
1
everest-release
Normal file
1
everest-release
Normal file
@ -0,0 +1 @@
|
|||||||
|
1.0.0-busybox
|
1
scripts/sysfiles/hostname
Normal file
1
scripts/sysfiles/hostname
Normal file
@ -0,0 +1 @@
|
|||||||
|
everest
|
6
scripts/sysfiles/hosts
Normal file
6
scripts/sysfiles/hosts
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# Begin /etc/hosts (network card version)
|
||||||
|
|
||||||
|
127.0.0.1 localhost
|
||||||
|
192.168.1.1 [<HOSTNAME>.example.org] everest
|
||||||
|
|
||||||
|
# End /etc/hosts (network card version)
|
18
scripts/sysfiles/inittab
Normal file
18
scripts/sysfiles/inittab
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# /etc/inittab
|
||||||
|
|
||||||
|
::sysinit:/etc/rc.d/startup
|
||||||
|
|
||||||
|
tty1::respawn:/sbin/getty 38400 tty1
|
||||||
|
tty2::respawn:/sbin/getty 38400 tty2
|
||||||
|
tty3::respawn:/sbin/getty 38400 tty3
|
||||||
|
tty4::respawn:/sbin/getty 38400 tty4
|
||||||
|
tty5::respawn:/sbin/getty 38400 tty5
|
||||||
|
tty6::respawn:/sbin/getty 38400 tty6
|
||||||
|
|
||||||
|
# Put a getty on the serial line (for a terminal). Uncomment this line if
|
||||||
|
# you're using a serial console on ttyS0, or uncomment and adjust it if using a
|
||||||
|
# serial console on a different serial port.
|
||||||
|
#::respawn:/sbin/getty -L ttyS0 115200 vt100
|
||||||
|
|
||||||
|
::shutdown:/etc/rc.d/shutdown
|
||||||
|
::ctrlaltdel:/sbin/reboot
|
105
scripts/sysfiles/mdev
Normal file
105
scripts/sysfiles/mdev
Normal file
@ -0,0 +1,105 @@
|
|||||||
|
# /etc/mdev/conf
|
||||||
|
|
||||||
|
# Devices:
|
||||||
|
# Syntax: %s %d:%d %s
|
||||||
|
# devices user:group mode
|
||||||
|
|
||||||
|
# null does already exist; therefore ownership has to be changed with command
|
||||||
|
null root:root 0666 @chmod 666 $MDEV
|
||||||
|
zero root:root 0666
|
||||||
|
grsec root:root 0660
|
||||||
|
full root:root 0666
|
||||||
|
|
||||||
|
random root:root 0666
|
||||||
|
urandom root:root 0444
|
||||||
|
hwrandom root:root 0660
|
||||||
|
|
||||||
|
# console does already exist; therefore ownership has to be changed with command
|
||||||
|
#console root:tty 0600 @chmod 600 $MDEV && mkdir -p vc && ln -sf ../$MDEV vc/0
|
||||||
|
console root:tty 0600 @mkdir -pm 755 fd && cd fd && for x in 0 1 2 3 ; do ln -sf /proc/self/fd/$x $x; done
|
||||||
|
|
||||||
|
fd0 root:floppy 0660
|
||||||
|
kmem root:root 0640
|
||||||
|
mem root:root 0640
|
||||||
|
port root:root 0640
|
||||||
|
ptmx root:tty 0666
|
||||||
|
|
||||||
|
# ram.*
|
||||||
|
ram([0-9]*) root:disk 0660 >rd/%1
|
||||||
|
loop([0-9]+) root:disk 0660 >loop/%1
|
||||||
|
sd[a-z].* root:disk 0660 */lib/mdev/usbdisk_link
|
||||||
|
hd[a-z][0-9]* root:disk 0660 */lib/mdev/ide_links
|
||||||
|
md[0-9] root:disk 0660
|
||||||
|
|
||||||
|
tty root:tty 0666
|
||||||
|
tty[0-9] root:root 0600
|
||||||
|
tty[0-9][0-9] root:tty 0660
|
||||||
|
ttyS[0-9]* root:tty 0660
|
||||||
|
pty.* root:tty 0660
|
||||||
|
vcs[0-9]* root:tty 0660
|
||||||
|
vcsa[0-9]* root:tty 0660
|
||||||
|
|
||||||
|
ttyLTM[0-9] root:dialout 0660 @ln -sf $MDEV modem
|
||||||
|
ttySHSF[0-9] root:dialout 0660 @ln -sf $MDEV modem
|
||||||
|
slamr root:dialout 0660 @ln -sf $MDEV slamr0
|
||||||
|
slusb root:dialout 0660 @ln -sf $MDEV slusb0
|
||||||
|
fuse root:root 0666
|
||||||
|
|
||||||
|
# dri device
|
||||||
|
card[0-9] root:video 0660 =dri/
|
||||||
|
|
||||||
|
# alsa sound devices and audio stuff
|
||||||
|
pcm.* root:audio 0660 =snd/
|
||||||
|
control.* root:audio 0660 =snd/
|
||||||
|
midi.* root:audio 0660 =snd/
|
||||||
|
seq root:audio 0660 =snd/
|
||||||
|
timer root:audio 0660 =snd/
|
||||||
|
|
||||||
|
adsp root:audio 0660 >sound/
|
||||||
|
audio root:audio 0660 >sound/
|
||||||
|
dsp root:audio 0660 >sound/
|
||||||
|
mixer root:audio 0660 >sound/
|
||||||
|
sequencer.* root:audio 0660 >sound/
|
||||||
|
|
||||||
|
# misc stuff
|
||||||
|
agpgart root:root 0660 >misc/
|
||||||
|
psaux root:root 0660 >misc/
|
||||||
|
rtc root:root 0664 >misc/
|
||||||
|
|
||||||
|
# input stuff
|
||||||
|
event[0-9]+ root:root 0640 =input/
|
||||||
|
mice root:root 0640 =input/
|
||||||
|
mouse[0-9] root:root 0640 =input/
|
||||||
|
ts[0-9] root:root 0600 =input/
|
||||||
|
|
||||||
|
# v4l stuff
|
||||||
|
vbi[0-9] root:video 0660 >v4l/
|
||||||
|
video[0-9] root:video 0660 >v4l/
|
||||||
|
|
||||||
|
# dvb stuff
|
||||||
|
dvb.* root:video 0660 */lib/mdev/dvbdev
|
||||||
|
|
||||||
|
# load drivers for usb devices
|
||||||
|
usbdev[0-9].[0-9] root:root 0660 */lib/mdev/usbdev
|
||||||
|
usbdev[0-9].[0-9]_.* root:root 0660
|
||||||
|
|
||||||
|
# net devices
|
||||||
|
tun[0-9]* root:root 0600 =net/
|
||||||
|
tap[0-9]* root:root 0600 =net/
|
||||||
|
|
||||||
|
# zaptel devices
|
||||||
|
zap(.*) root:dialout 0660 =zap/%1
|
||||||
|
dahdi!(.*) root:dialout 0660 =dahdi/%1
|
||||||
|
|
||||||
|
# raid controllers
|
||||||
|
cciss!(.*) root:disk 0660 =cciss/%1
|
||||||
|
ida!(.*) root:disk 0660 =ida/%1
|
||||||
|
rd!(.*) root:disk 0660 =rd/%1
|
||||||
|
|
||||||
|
sr[0-9] root:cdrom 0660 @ln -sf $MDEV cdrom
|
||||||
|
|
||||||
|
# hpilo
|
||||||
|
hpilo!(.*) root:root 0660 =hpilo/%1
|
||||||
|
|
||||||
|
# xen stuff
|
||||||
|
xvd[a-z] root:root 0660 */lib/mdev/xvd_links
|
20
scripts/sysfiles/profile
Normal file
20
scripts/sysfiles/profile
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# /etc/profile
|
||||||
|
|
||||||
|
# Set the initial path
|
||||||
|
export PATH=/bin:/usr/bin
|
||||||
|
|
||||||
|
if [ `id -u` -eq 0 ] ; then
|
||||||
|
PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
||||||
|
unset HISTFILE
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Setup some environment variables.
|
||||||
|
export USER=`id -un`
|
||||||
|
export LOGNAME=$USER
|
||||||
|
export HOSTNAME=`/bin/hostname`
|
||||||
|
export HISTSIZE=1000
|
||||||
|
export HISTFILESIZE=1000
|
||||||
|
export PAGER='/bin/more '
|
||||||
|
export EDITOR='/bin/vi'
|
||||||
|
|
||||||
|
# End /etc/profile
|
Loading…
Reference in New Issue
Block a user