sylware / nyanlinux (public) (License: AFFERO GPLv3) (since 2019-09-09) (hash sha1)
scripts for a lean, from scratch, amd hardware, linux distro
List of commits:
Subject Hash Author Date (UTC)
asm:grant audio to the slaves/users e6374eacfcbaeddd3ead3e88459c6e6663add0df Sylvain BERTRAND 2020-11-12 18:36:11
busybox switch: more migration f6ab4dc6775cdb63ae84cbaea306b773cba7e144 Sylvain BERTRAND 2020-11-04 21:28:35
busybox switch: cleaning readlink usage 1ab8143fe955ee81e6d98b2387c7078f42ba55e8 Sylvain BERTRAND 2020-11-04 21:24:19
gfx stack update 704e2a3b76df3af1c331aeef52c16a12871b6c2b Sylvain BERTRAND 2020-11-02 23:42:16
alsa: update, lockless crackling, broken hw atomics??? df1c6ac439c1929577a2f4e47ffb6112ff542f11 Sylvain BERTRAND 2020-10-29 19:46:12
mesa was brainfucked with python/c++/one zillion layers 2e9a61037392bd21da1374adab7d59d0e05c410a Sylvain BERTRAND 2020-10-26 18:38:56
steam client:cannot mix 32bits software GL with 64bits hardware GL f93a1de5d196c2807a1e1d6bdbf092dbf27c59d8 Sylvain BERTRAND 2020-10-25 15:45:41
gfx stack update 7944ba49d00dcbace930b10f1d07c7a7305e3458 Sylvain BERTRAND 2020-10-11 21:00:22
gfx stack update c514e1f4ad4e232019c1494b5d0838a5e3907271 Sylvain BERTRAND 2020-10-04 16:29:02
gfx stack update 7db99008f1d15743f7e45a231bb2472998540363 Sylvain BERTRAND 2020-09-27 13:10:12
gfx stack update a3294175b467172d7f022c2e85133cf69a745326 Sylvain BERTRAND 2020-09-20 22:07:30
gfx stack update e77750988b70fd80025d2976b356610c29245112 Sylvain BERTRAND 2020-09-13 17:44:23
gfx stack update a3e78c179a9448d58de3c8570f8e481c1a3cb2a9 Sylvain BERTRAND 2020-09-06 19:11:59
x86:steam distributes the alsa-lib which breaks everything 49a7145777ae0033d8d203ab1afeec92e6ce64e1 Sylvain BERTRAND 2020-08-29 20:04:11
libxkbcommon with reasonable sdk 5a16c5350e09e0cc68fb4d842b9588994a04c944 Sylvain BERTRAND 2020-08-29 18:56:21
gfx stack update 76a10355fbb5a94dbe3f7b6fa2780cbe5ff9ec71 Sylvain BERTRAND 2020-08-24 21:43:41
gfx stack update caa9a0f9059e3c8140a10abe2b02d20faade28e7 Sylvain BERTRAND 2020-08-16 16:21:05
backup some wip 587cb6b5375b10533ebf92e4c151756f4541af7c Sylvain BERTRAND 2020-07-26 23:47:29
alsa-lib:wrong way to use a git snapshot here fb3c82ebddcd320bb7c435c80f88ac65b45401cf Sylvain BERTRAND 2020-07-26 23:35:30
gfx stack update 1a61af333cf6f4264679987cb53cb1258eca5b6f Sylvain BERTRAND 2020-07-26 22:15:23
Commit e6374eacfcbaeddd3ead3e88459c6e6663add0df - asm:grant audio to the slaves/users
Author: Sylvain BERTRAND
Author date (UTC): 2020-11-12 18:36
Committer name: Sylvain BERTRAND
Committer date (UTC): 2020-11-12 18:36
Parent(s): f6ab4dc6775cdb63ae84cbaea306b773cba7e144
Signer:
Signing key:
Signing status: N
Tree: 82bbc488f758c806750f4b02dd43691c0011329f
File Lines added Lines deleted
files/asm/user_steam.S 8 0
files/asm/user_steam_nodbus.S 11 9
File files/asm/user_steam.S changed (mode: 100644) (index 324c5fd..f818ab5)
1 1 /* /*
2 * Must switch to fasm
3 *
2 4 * This assembly source code is intended to be preprocessed: * This assembly source code is intended to be preprocessed:
3 5 * - don't use # comments * - don't use # comments
4 6 * - do use your C compiler front-end with proper specific options or do * - do use your C compiler front-end with proper specific options or do
 
... ... ldpath: .asciz "LD_LIBRARY_PATH=/nyan/dbus/current/lib"
23 25
24 26 argv: .quad dbus, shell, shell_arg0, shell_arg1, shell_arg2, 0 argv: .quad dbus, shell, shell_arg0, shell_arg1, shell_arg2, 0
25 27 envp: .quad home, path, ldpath, 0 envp: .quad home, path, ldpath, 0
28 /* alsa audio group is 116 */
29 groups: .quad 116
26 30
27 31 .text .text
28 32 /* _start is the ELF symbol which defines the program entry point */ /* _start is the ELF symbol which defines the program entry point */
29 33 .global _start .global _start
30 34 _start: _start:
35 mov $116, %eax /* setgroups */
36 mov $1, %rdi /* 1 group */
37 mov $groups, %rsi /* audio */
38 syscall
31 39 mov $106, %eax /* setgid */ mov $106, %eax /* setgid */
32 40 mov $1000, %rdi /* GID=1000 */ mov $1000, %rdi /* GID=1000 */
33 41 syscall syscall
File files/asm/user_steam_nodbus.S copied from file files/asm/user_steam.S (similarity 71%) (mode: 100644) (index 324c5fd..a89935c)
1 1 /* /*
2 * Must switch to fasm
3 *
2 4 * This assembly source code is intended to be preprocessed: * This assembly source code is intended to be preprocessed:
3 5 * - don't use # comments * - don't use # comments
4 6 * - do use your C compiler front-end with proper specific options or do * - do use your C compiler front-end with proper specific options or do
5 7 * pipe cpp output to as (don't forget to link as an executable then) * pipe cpp output to as (don't forget to link as an executable then)
6 8 * *
7 9 * cpp user.S | as -o user.o; ld -o user user.o * cpp user.S | as -o user.o; ld -o user user.o
8 *
9 * dbus will want an entry in /etc/passwd for user
10 10 */ */
11 11
12 12 .data .data
13 dbus: .asciz "/nyan/dbus/current/bin/dbus-run-session"
14 13 shell: .asciz "/bin/sh" shell: .asciz "/bin/sh"
15 14 shell_arg0: .asciz "-l" shell_arg0: .asciz "-l"
16 15 shell_arg1: .asciz "-c" shell_arg1: .asciz "-c"
17 16 shell_arg2: .asciz "exec /home/user/steam/steam" shell_arg2: .asciz "exec /home/user/steam/steam"
18 17
19
20 18 home: .asciz "HOME=/home/user" home: .asciz "HOME=/home/user"
21 path: .asciz "PATH=/nyan/dbus/current/bin"
22 ldpath: .asciz "LD_LIBRARY_PATH=/nyan/dbus/current/lib"
23 19
24 argv: .quad dbus, shell, shell_arg0, shell_arg1, shell_arg2, 0
25 envp: .quad home, path, ldpath, 0
20 argv: .quad shell, shell_arg0, shell_arg1, shell_arg2, 0
21 envp: .quad home, 0
22 /* alsa audio group is 116 */
23 groups: .quad 116
26 24
27 25 .text .text
28 26 /* _start is the ELF symbol which defines the program entry point */ /* _start is the ELF symbol which defines the program entry point */
29 27 .global _start .global _start
30 28 _start: _start:
29 mov $116, %eax /* setgroups */
30 mov $1, %rdi /* 1 group */
31 mov $groups, %rsi /* audio */
32 syscall
31 33 mov $106, %eax /* setgid */ mov $106, %eax /* setgid */
32 34 mov $1000, %rdi /* GID=1000 */ mov $1000, %rdi /* GID=1000 */
33 35 syscall syscall
 
... ... _start:
35 37 mov $1000, %rdi /* UID=1000 */ mov $1000, %rdi /* UID=1000 */
36 38 syscall syscall
37 39 mov $59, %eax /* execve */ mov $59, %eax /* execve */
38 mov $dbus, %rdi
40 mov $shell, %rdi
39 41 mov $argv, %rsi mov $argv, %rsi
40 42 mov $envp, %rdx mov $envp, %rdx
41 43 /* never returning syscall */ /* never returning syscall */
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/sylware/nyanlinux

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/sylware/nyanlinux

Clone this repository using git:
git clone git://git.rocketgit.com/user/sylware/nyanlinux

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main