Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
dabao1955 committed Mar 1, 2023
1 parent 9b33b2d commit 4c28943
Show file tree
Hide file tree
Showing 52 changed files with 105,931 additions and 0 deletions.
10 changes: 10 additions & 0 deletions DEBIAN/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Package: tmoe-linux-tool
Version: 1.4989.50
Section: custom)
Priority: optional
Architecture: all
Essential: no
Installed-Size: 86000
Maintainer: https://github.com/2moe/tmoe
Description: tmoe-linux-tool
Pre-Depends: aptitude,aria2,binutils,catimg,fontconfig,git,less,xz-utils,wget,zstd,apt-utils,whiptail,curl,eatmydata
6 changes: 6 additions & 0 deletions DEBIAN/postinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

git config --global http.sslverify false
git config --global https.sslverify false
git clone -b master --depth=1 https://gitee.com/mo2/linux /usr/local/etc/tmoe-linux/git
ln -s /usr/local/etc/tmoe-linux/git/drbian.sh /usr/local/bin/tmoe
chmod 777 -R /usr/local/bin/tmoe
2 changes: 2 additions & 0 deletions DEBIAN/prerm
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rm /usr/local/bin/tmoe
rm -rf ~/.config/tmoe-linux
854 changes: 854 additions & 0 deletions usr/local/etc/tmoe-linux/container/tmoe-linux-container

Large diffs are not rendered by default.

Empty file.
1 change: 1 addition & 0 deletions usr/local/etc/tmoe-linux/environment/entrypoint
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cd ~
19 changes: 19 additions & 0 deletions usr/local/etc/tmoe-linux/environment/login
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
if [ "$(ls /etc/profile.d/permanent/ 2>/dev/null)" ]; then
for i in /etc/profile.d/permanent/*; do
if [ -f "${i}" ]; then
chmod a+rx ${i}
${i}
fi
done
fi
if [ -e /tmp/.tmoe_container_temporary/ ] && [ "$(ls /tmp/.tmoe_container_temporary/ 2>/dev/null)" ]; then
for i in /tmp/.tmoe_container_temporary/*; do
if [ -f "${i}" ]; then
chmod a+rx ${i}
${i}
fi
done
rm -fv /tmp/.tmoe_container_temporary/start_01_vnc &>/dev/null
fi
unset i
[ ! -r /usr/local/etc/tmoe-linux/environment/entrypoint ] || . /usr/local/etc/tmoe-linux/environment/entrypoint
1 change: 1 addition & 0 deletions usr/local/etc/tmoe-linux/locale.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
zh_CN.UTF-8
16 changes: 16 additions & 0 deletions usr/local/etc/tmoe-linux/proot_proc/.tmoe-container.stat
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
cpu 13543674 2263150 11590764 15571271 210309 1343827 851885 0 0 0
cpu0 3629787 489276 3129188 15571051 210302 802654 516635 0 0 0
cpu1 3221514 563397 2565534 19 0 168835 110203 0 0 0
cpu2 2884314 491225 2361364 18 1 161981 92821 0 0 0
cpu3 2664267 457057 2282166 21 0 166631 88732 0 0 0
cpu4 365877 83980 417984 25 6 15600 10165 0 0 0
cpu5 296831 71203 325638 39 0 9363 14383 0 0 0
cpu6 262541 59844 288038 49 0 10350 10848 0 0 0
cpu7 218543 47168 220852 49 0 8413 8098 0 0 0
intr 1168051864 0 0 0 276005458 0 24952856 5 4 5 0 0 958 302 0 0 0 543988 116 0 1 0 92 184 0 0 0 0 0 0 0 2 0 145446 16538 11 11 358496 0 1779 0 0 0 0 0 1761 106944 0 221398 21826498 15065436 42829013 0 361294 4515 66197491 0 0 82 0 0 0 95 11438 0 0 0 0 0 0 0 0 0 0 288050 6 5498890 688446 388694 0 0 0 0 0 1674782 2042455 0 0 0 0 0 90 120387 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 9 7 190 0 1434 3096 2536 13 13822 11167 0 0 485674 0 4 3244478 1 0 0 0 0 0 0 0 0 0 0 0 0 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0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6969 0 45 0 0 4309 20 0 10 4 0 0 0 0 618 0 0 587152 46371 1206 0 493 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ctxt 1941467212
btime 1597149124
processes 1324243
procs_running 9
procs_blocked 1
softirq 268005113 132391 49905524 287215 24847758 108137456 132391 1472849 45583820 0 37505709
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Linux localhost 4.14.186+ #1 SMP PREEMPT Wed Dec 14 19:01:31 CST 2022 aarch64 Android (gcc version 10.1.0 20200630 (prerelease) (GCC) )
2 changes: 2 additions & 0 deletions usr/local/etc/tmoe-linux/proot_proc/buddyinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Node 0, zone DMA 3 2 2 4 3 3 2 1 2 2 0
Node 0, zone DMA32 1774 851 511 220 67 3 2 0 0 1 0
78 changes: 78 additions & 0 deletions usr/local/etc/tmoe-linux/proot_proc/bus/input/devices
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
U: Uniq=
H: Handlers=kbd event0
B: PROP=0
B: EV=3
B: KEY=10000000000000 0

I: Bus=0003 Vendor=0627 Product=0001 Version=0001
N: Name="QEMU QEMU USB Tablet"
P: Phys=usb-0000:00:01.2-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:01.2/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input1
U: Uniq=28754-0000:00:01.2-1
H: Handlers=mouse0 event1 js0
B: PROP=0
B: EV=1f
B: KEY=70000 0 0 0 0
B: REL=100
B: ABS=3
B: MSC=10

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input2
U: Uniq=
H: Handlers=kbd leds event2
B: PROP=0
B: EV=120013
B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7

I: Bus=0011 Vendor=0002 Product=0013 Version=0006
N: Name="VirtualPS/2 VMware VMMouse"
P: Phys=isa0060/serio1/input1
S: Sysfs=/devices/platform/i8042/serio1/input/input5
U: Uniq=
H: Handlers=mouse1 event3 js1
B: PROP=0
B: EV=f
B: KEY=70000 0 0 0 0
B: REL=100
B: ABS=3

I: Bus=0011 Vendor=0002 Product=0013 Version=0006
N: Name="VirtualPS/2 VMware VMMouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input4
U: Uniq=
H: Handlers=mouse2 event4
B: PROP=1
B: EV=7
B: KEY=30000 0 0 0 0
B: REL=3

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/devices/platform/pcspkr/input/input6
U: Uniq=
H: Handlers=kbd event5
B: PROP=0
B: EV=40001
B: SND=6

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="Android Power Button"
P: Phys=
S: Sysfs=/devices/virtual/input/input7
U: Uniq=
H: Handlers=kbd event6
B: PROP=0
B: EV=3
B: KEY=8000 10000000000000 0

6 changes: 6 additions & 0 deletions usr/local/etc/tmoe-linux/proot_proc/bus/input/handlers
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
N: Number=0 Name=rfkill
N: Number=1 Name=kbd
N: Number=2 Name=leds
N: Number=3 Name=mousedev Minor=32
N: Number=4 Name=evdev Minor=64
N: Number=5 Name=joydev Minor=0
Binary file added usr/local/etc/tmoe-linux/proot_proc/bus/pci/00/00.0
Binary file not shown.
Binary file added usr/local/etc/tmoe-linux/proot_proc/bus/pci/00/01.0
Binary file not shown.
Binary file added usr/local/etc/tmoe-linux/proot_proc/bus/pci/00/01.1
Binary file not shown.
Binary file added usr/local/etc/tmoe-linux/proot_proc/bus/pci/00/01.2
Binary file not shown.
Binary file added usr/local/etc/tmoe-linux/proot_proc/bus/pci/00/01.3
Binary file not shown.
Binary file added usr/local/etc/tmoe-linux/proot_proc/bus/pci/00/02.0
Binary file not shown.
Binary file added usr/local/etc/tmoe-linux/proot_proc/bus/pci/00/03.0
Binary file not shown.
Binary file added usr/local/etc/tmoe-linux/proot_proc/bus/pci/00/04.0
Binary file not shown.
8 changes: 8 additions & 0 deletions usr/local/etc/tmoe-linux/proot_proc/bus/pci/devices
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
0000 80861237 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0008 80867000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0009 80867010 0 1f0 3f6 170 376 c0c1 0 0 8 0 8 0 10 0 0 ata_piix
000a 80867020 a 0 0 0 0 c0a1 0 0 0 0 0 0 20 0 0 uhci_hcd
000b 80867113 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 piix4_smbus
0010 1b360100 a 84000000 80000000 88060000 c081 0 0 c0002 4000000 4000000 2000 20 0 0 20000
0018 8086100e b 88040000 c041 0 0 0 0 88000000 20000 40 0 0 0 0 40000 e1000
0020 1af41009 a c001 88062000 0 0 80000000c 0 0 40 1000 0 0 4000 0 0 virtio-pci
9 changes: 9 additions & 0 deletions usr/local/etc/tmoe-linux/proot_proc/cgroups
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#subsys_name hierarchy num_cgroups enabled
cpuset 5 6 1
cpu 4 1 1
cpuacct 1 138 1
schedtune 3 5 1
memory 2 3 1
freezer 0 1 1
net_cls 0 1 1
debug 0 1 1
1 change: 1 addition & 0 deletions usr/local/etc/tmoe-linux/proot_proc/consoles
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tty0 -WU (EC p ) 4:7
Loading

0 comments on commit 4c28943

Please sign in to comment.