mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 15:08:21 +00:00
distro-files: small rework
add files to /etc/skel and /home/astral, move DOOM1.WAD and id1 to /usr/share/games folders and create symlinks to them in the recipe
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
root::0:root
|
||||
sshd::100:sshd
|
||||
unknown::999:unknown
|
||||
astral::999:astral
|
||||
astral::1000:astral
|
||||
|
||||
@@ -12,3 +12,7 @@ mount /tmp tmpfs
|
||||
chmod 1777 /tmp
|
||||
|
||||
chmod 0755 /dev/pts
|
||||
|
||||
# required to be owned by root and sticky for rootless Xorg.
|
||||
mkdir -p /tmp/.X11-unix
|
||||
chmod 1777 /tmp/.X11-unix
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
xterm*background: black
|
||||
xterm*foreground: white
|
||||
@@ -0,0 +1 @@
|
||||
--ipv4
|
||||
@@ -0,0 +1,13 @@
|
||||
section .text
|
||||
global _start
|
||||
_start:
|
||||
mov rax, 7
|
||||
mov rdi, 1
|
||||
mov rsi, msg
|
||||
mov rdx, 14
|
||||
syscall
|
||||
mov rax, 13
|
||||
xor rdi, rdi
|
||||
syscall
|
||||
section .data
|
||||
msg: db "Hello, world!", 0xA
|
||||
@@ -0,0 +1,5 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(){
|
||||
printf("Hello, world!\n");
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
#include <iostream>
|
||||
|
||||
int main(){
|
||||
std::cout << "Hello, world!" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
echo Hello, World!
|
||||
Reference in New Issue
Block a user