base+tools: Add a welcome file and store the license inside the OS
This commit is contained in:
parent
e5905a33e1
commit
5c2718545f
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,6 +5,7 @@ initrd/boot/moon
|
|||||||
env-local.sh
|
env-local.sh
|
||||||
initrd/bin/**
|
initrd/bin/**
|
||||||
base/usr/**
|
base/usr/**
|
||||||
|
base/etc/skel/LICENSE
|
||||||
.fakeroot
|
.fakeroot
|
||||||
kernel/config.cmake
|
kernel/config.cmake
|
||||||
ports/out/
|
ports/out/
|
||||||
|
14
base/etc/skel/welcome
Normal file
14
base/etc/skel/welcome
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Welcome to the Luna operating system!
|
||||||
|
You are running on the default user account, selene.
|
||||||
|
|
||||||
|
If you are familiar with Unix-style operating systems (like Linux or *BSD), you should be able to use the Luna terminal without much problems.
|
||||||
|
|
||||||
|
Following the traditional Unix filesystem structure, programs are installed in /usr/bin (/bin is a symlink to /usr/bin). The command `ls /bin` will show all commands available on your current Luna installation.
|
||||||
|
|
||||||
|
Currently, because of driver limitations, the root file system is mounted read-only. Your home folder is writable, but volatile; it is created and populated on boot, and its contents will vanish after a reboot.
|
||||||
|
|
||||||
|
The system is booted using the 'init' program. You can read its configuration files in the /etc/init directory to learn more about the boot process.
|
||||||
|
|
||||||
|
Luna is free software, released under the BSD-2-Clause license. The license is included in the LICENSE file in your home directory.
|
||||||
|
|
||||||
|
View the source code and read more about Luna at https://git.cloudapio.eu/apio/Luna.
|
@ -1,3 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# Create and populate a volatile home directory.
|
||||||
mount -t tmpfs tmpfs /home/selene
|
mount -t tmpfs tmpfs /home/selene
|
||||||
chown selene:selene /home/selene
|
chown selene:selene /home/selene
|
||||||
|
cp /etc/skel/welcome /home/selene/
|
||||||
|
cp /etc/skel/LICENSE /home/selene/
|
||||||
|
@ -31,3 +31,5 @@ mkdir -p base/tmp
|
|||||||
|
|
||||||
rm -f base/bin
|
rm -f base/bin
|
||||||
ln -s usr/bin base/bin
|
ln -s usr/bin base/bin
|
||||||
|
|
||||||
|
cp $LUNA_ROOT/LICENSE base/etc/skel/LICENSE
|
||||||
|
Loading…
Reference in New Issue
Block a user