Compare commits
No commits in common. "01dcb954e59c62228ab171f17f40f7c90dcecbcb" and "0a46cfc80c03b56a848774c5c6ae0ae1eb7e9521" have entirely different histories.
01dcb954e5
...
0a46cfc80c
@ -81,11 +81,6 @@ Result<void> copy_tree(StringView source, StringView destination, bool verbose,
|
|||||||
{
|
{
|
||||||
path = TRY(String::from_string_view(destination));
|
path = TRY(String::from_string_view(destination));
|
||||||
if (!os::FileSystem::exists(path.view(), false)) TRY(os::FileSystem::create_directory(path.view(), 0755));
|
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));
|
auto dir = TRY(os::Directory::open(source));
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Name=login
|
Name=login
|
||||||
Description=Start a graphical user session.
|
Description=Start the display server.
|
||||||
Command=/usr/bin/startui --user=selene
|
Command=/usr/bin/startui --user=selene
|
||||||
StandardOutput=/dev/uart0
|
StandardOutput=/dev/uart0
|
||||||
StandardError=/dev/uart0
|
StandardError=/dev/uart0
|
||||||
|
@ -2,9 +2,5 @@
|
|||||||
# Create and populate a volatile home directory.
|
# 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/welcome /home/selene/
|
||||||
cp /etc/skel/LICENSE /home/selene/
|
cp /etc/skel/LICENSE /home/selene/
|
||||||
|
|
||||||
chown selene:selene /home/selene/welcome
|
|
||||||
chown selene:selene /home/selene/LICENSE
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user