Compare commits
3 Commits
0a46cfc80c
...
01dcb954e5
Author | SHA1 | Date | |
---|---|---|---|
01dcb954e5 | |||
04649fce8a | |||
66983ce17c |
@ -81,6 +81,11 @@ Result<void> copy_tree(StringView source, StringView destination, bool verbose,
|
||||
{
|
||||
path = TRY(String::from_string_view(destination));
|
||||
if (!os::FileSystem::exists(path.view(), false)) TRY(os::FileSystem::create_directory(path.view(), 0755));
|
||||
else
|
||||
{
|
||||
os::eprintln("cp: cannot overwrite non-directory '%s' with directory '%s'", path.chars(), source.chars());
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
||||
auto dir = TRY(os::Directory::open(source));
|
||||
|
@ -1,5 +1,5 @@
|
||||
Name=login
|
||||
Description=Start the display server.
|
||||
Description=Start a graphical user session.
|
||||
Command=/usr/bin/startui --user=selene
|
||||
StandardOutput=/dev/uart0
|
||||
StandardError=/dev/uart0
|
||||
|
@ -2,5 +2,9 @@
|
||||
# Create and populate a volatile home directory.
|
||||
mount -t tmpfs tmpfs /home/selene
|
||||
chown selene:selene /home/selene
|
||||
|
||||
cp /etc/skel/welcome /home/selene/
|
||||
cp /etc/skel/LICENSE /home/selene/
|
||||
|
||||
chown selene:selene /home/selene/welcome
|
||||
chown selene:selene /home/selene/LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user