2021-09-11

m3400 - X11 Forwarding over sshx

 

X11 Forwarding over sshx

Dropbear and the X server

Dropbear supports X11 tunneling on the server side only. The client dbclient has no support for X11 tunneling. SliTaz provides a tiny shell script named /usr/bin/sshx to do the work. It opens a terminal with remote X11 protocol support if the environment variable DISPLAY is set. You can launch any remote X windows application on this terminal.

https://doc.slitaz.org/en:handbook:ssh#dropbear-and-the-x-server

tux@slitaz:~$ sshx tux@192.168.0.192

dbclient:
Host '192.168.0.192' key accepted unconditionally.
(ecdsa-sha2-nistp256 fingerprint md5 fc:6e:2b:c2:d7:68:46:d8:92:62:ef:e0:37:8d:8c:55)

Secure login on SliTaz GNU/Linux powered by Dropbear SSH server.

tux@192.168.0.192's password:

switch to xterm
tux@slitaz:~$ echo $DISPLAY
localhost:77.0

tux@slitaz:~$ env | egrep 'SSH|DIS'
SSH_CLIENT=192.168.0.191 46322 22
DISPLAY=localhost:77.0
SSH_CONNECTION=192.168.0.191 46322 192.168.0.192 22

tux@slitaz:~$ leafpad /usr/bin/sshx






https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-50271

m3400 - X11 Forwarding over SSH

 

X11 Forwarding over SSH

Dropbear server implements X11 forwarding, and
authentication-agent forwarding for OpenSSH clients

https://matt.ucc.asn.au/dropbear/dropbear.html

tux@slitaz:~$ ssh -V
OpenSSH_7.6p1, OpenSSL 1.1.0g 2 Nov 2017

tux@slitaz:~$ grep -B 1 XAuth /etc/ssh_config
Host *
XAuthLocation /usr/bin/xauth

tux@slitaz:~$ ssh -Y root@192.168.0.192

Secure login on SliTaz GNU/Linux powered by Dropbear SSH server.
root@192.168.0.192's password:

Welcome to the Open Source World!

SliTaz GNU/Linux is distributed in the hope that it will be useful,
but with ABSOLUTELY NO WARRANTY.

root@slitaz:~# echo $DISPLAY
localhost:10.0

root@slitaz:~# leafpad test.txt




https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-50270


2021-09-08

m3400 - make xconfig - QT/X-windows interface

 

make xconfig - QT/X-windows interface



Kernel : Linux 5.4.41-slitaz (x86_64)

Current Operating System: Linux slitaz 5.4.41-slitaz #1 SMP Sat Aug 29 08:07:49 CST 2020 x86_64


Asus Notebook WMI Driver (ASUS_NB_WMI)

ASUS WMI Driver (ASUS_WMI)

CONFIG_ASUS_WMI:

Say Y here if you have a WMI aware Asus laptop (like Eee PCs or new
Asus Notebooks).

To compile this driver as a module, choose M here: the module will
be called asus-wmi.

Symbol: ASUS_WMI [=m]
Type : tristate
Prompt: ASUS WMI Driver
Location:
-> Device Drivers
-> X86 Platform Specific Device Drivers (X86_PLATFORM_DEVICES [=y])
Defined at drivers/platform/x86/Kconfig:674
Depends on: X86 [=y] && X86_PLATFORM_DEVICES [=y] && ACPI_WMI [=m] && ACPI_BATTERY [=y] && INPUT [=y] && HWMON [=y] && BACKLIGHT_CLASS_DEVICE [=y] && (RFKILL [=y] || RFKILL [=y]=n) && HOTPLUG_PCI [=y] && (ACPI_VIDEO [=y] || ACPI_VIDEO [=y]=n)
Selects: INPUT_SPARSEKMAP [=m] && LEDS_CLASS [=y] && NEW_LEDS [=y]


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2?replies=19#post-50267

m3400 - Battery - lxpanel - lxqt-panel

 

Battery - lxpanel - lxqt-panel

lxpanel



lxqt-powermanagement



*** estimated value ***

Discharging Energy rate: 12.12 W
tux@slitaz:~$ calc 50/12.12
4.12541 (hr)

tux@slitaz:~$ calc 12.12/11.88
1.0202 (A)

Charging Energy rate: 48.42 W
tux@slitaz:~$ calc 50/48.42
1.03263 (hr)

tux@slitaz:~$ calc 48.42/11.88
4.07576 (A)


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2?replies=19#post-50266


2021-09-06

m3400 - Battery - batstat

 

Battery - batstat


Discharging

tux@slitaz:~$ batstat

Status:                       Discharging
Max energy:                   49.74 Wh
Energy left:                  32.35 Wh
Power Consumption:            9.77 W
Percentage left:              65.03%
Average power Consumption:    10.42 Wh
Time elapsed:                  0: 9:18 since 68.28%
= Time   ======== Percent ============================================
 0: 0: 0          68.28%
 0: 1: 0          67.92%
 0: 2: 0          67.57%
 0: 3: 0          67.23%
 0: 4: 0          66.87%
 0: 5: 0          66.51%
 0: 6: 0          66.16%
 0: 7: 0          65.82%
 0: 8: 0          65.47%
 0: 9: 0          65.13%

Charging
tux@slitaz:~$ batstat

Status:                       Charging
Max energy:                   49.74 Wh
Energy left:                  39.40 Wh
Power Consumption:            23.91 W
Percentage left:              79.22%
Average power Consumption:    -25.38 Wh
Time elapsed:                  0: 3:39 since 76.12%
= Time   ======== Percent ============================================
 0: 0: 0          76.12%
 0: 1: 0          77.00%
 0: 2: 0          77.86%
 0: 3: 0          78.70%

https://github.com/Juve45/batstat


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-50264

2021-09-05

m3400 - Battery - tlp

 

Battery - tlp



Discharging
tux@slitaz:~$ sudo tlp-stat -b

Password:
--- TLP 1.1 --------------------------------------------

+++ Battery Status
/sys/class/power_supply/BAT0/manufacturer                   = ASUSTeK
/sys/class/power_supply/BAT0/model_name                     = ASUS Battery
/sys/class/power_supply/BAT0/cycle_count                    =     57
/sys/class/power_supply/BAT0/energy_full_design             =  50014 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  49741 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  31636 [mWh]
/sys/class/power_supply/BAT0/power_now                      =   9860 [mW]
/sys/class/power_supply/BAT0/status                         = Discharging

Charge                                                      =   63.6 [%]
Capacity                                                    =   99.5 [%]

Charging
tux@slitaz:~$ sudo tlp-stat -b
Password:
--- TLP 1.1 --------------------------------------------

+++ Battery Status
/sys/class/power_supply/BAT0/manufacturer                   = ASUSTeK
/sys/class/power_supply/BAT0/model_name                     = ASUS Battery
/sys/class/power_supply/BAT0/cycle_count                    =     57
/sys/class/power_supply/BAT0/energy_full_design             =  50014 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  49741 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  31779 [mWh]
/sys/class/power_supply/BAT0/power_now                      =  47032 [mW]
/sys/class/power_supply/BAT0/status                         = Charging

Charge                                                      =   63.9 [%]
Capacity                                                    =   99.5 [%]

tux@slitaz:~$ sudo tlp-stat -s
Password:
--- TLP 1.1 --------------------------------------------

+++ System Info
System         = ASUSTeK COMPUTER INC. 1.0        VivoBook_ASUSLaptop M3400QA_M3400QA
BIOS           = M3400QA.301
Release        = "SliTaz GNU/Linux"
Kernel         = 5.4.41-slitaz #1 SMP Sat Aug 29 08:07:49 CST 2020 x86_64
/proc/cmdline  = BOOT_IMAGE=/efi/boot/vmlinuz-5.4.41-slitaz root=/dev/null autologin
Init system    = sysvinit
Boot mode      = UEFI

+++ TLP Status
State          = enabled
Last run       = 13:37:23,    243 sec(s) ago
Mode           = battery
Power source   = battery

tux@slitaz:~$ 

https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2?replies=16#post-50263

m3400 - Battery - upower

Battery - upower



Battery: ID-1: BAT0 charge: 17.9 Wh (36.0%) condition: 49.7/50.0 Wh (99.5%) volts: 11.9 min: 11.9
Battery 50WHrs, 3S1P, 3-cell lithium ion battery power supply ø4.5, 90W AC adapter, output: 19V DC, 4.74A, 90W, input: 100~240V AC 50/60Hz universal
discharging tux@slitaz:~$ upower -i /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: ASUSTeK model: ASUS Battery power supply: yes updated: Sun Sep 5 13:14:49 2021 (107 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 39.94 Wh energy-empty: 0 Wh energy-full: 49.741 Wh energy-full-design: 50.014 Wh energy-rate: 9.919 W voltage: 11.88 V time to empty: 4.0 hours percentage: 80% capacity: 99.4542% technology: lithium-ion icon-name: 'battery-full-symbolic' History (rate): 1630847689 9.919 discharging charging tux@slitaz:~$ upower -i /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: ASUSTeK model: ASUS Battery power supply: yes updated: Sun Sep 5 14:07:52 2021 (14 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: charging warning-level: none energy: 34.392 Wh energy-empty: 0 Wh energy-full: 49.741 Wh energy-full-design: 50.014 Wh energy-rate: 38.788 W voltage: 11.88 V time to full: 23.7 minutes percentage: 69% capacity: 99.4542% technology: lithium-ion icon-name: 'battery-full-charging-symbolic' History (charge): 1630850872 69.000 charging History (rate): 1630850872 38.788 charging

tux@slitaz:~$ upower -v
UPower client version 0.99.7

UPower daemon version 0.99.7 


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa#post-50262 

2021-09-03

m3400 - xrandr - lxrandr

xrandr - lxrandr




Display: server: X.Org 1.19.3 driver: loaded: amdgpu
unloaded: fbdev,modesetting,vesa resolution: 2880x1800~90Hz

tux@slitaz:~$ xrandr

Screen 0: minimum 320 x 200, current 2880 x 1800, maximum 16384 x 16384
eDP-1 connected primary 2880x1800+0+0 (normal left inverted right x axis y axis) 302mm x 189mm

   2880x1800     90.00*+  60.00
   2048x1536     85.00    75.00    60.00
   1920x1440     85.00    75.00    60.00
   1856x1392     75.00    60.01
   1792x1344     75.00    60.01
   1920x1200     90.00
   1920x1080     90.00
   1600x1200     90.00    85.00    75.00    70.00    65.00    60.00
   1680x1050     90.00
   1400x1050     74.76    59.98
   1280x1024     90.00    85.02    75.02    60.02
   1440x900      90.00
   1280x960      85.00    60.00
   1280x800      90.00
   1152x864      75.00
   1280x720      90.00
   1024x768      90.00    85.00    75.05    60.04    85.00    75.03    70.07    60.00
   1024x768i     86.96
   960x720       85.00    75.00    60.00
   928x696       75.00    60.05
   896x672       75.05    60.01
   832x624       74.55
   800x600       90.00    85.00    75.00    70.00    65.00    60.00    85.14    72.19    75.00    60.32    56.25
   700x525       74.76    59.98
   640x512       85.02    75.02    60.02
   640x480       90.00    85.09    60.00    85.01    72.81    75.00    59.94
   720x400       85.04
   640x400       85.08
   576x432       75.00
   640x350       85.08
   512x384       85.00    75.03    70.07    60.00
   512x384i      87.06
   416x312       74.66
   400x300       85.27    72.19    75.12    60.32    56.34
   320x240       85.18    72.81    75.00    60.05
   360x200       85.04
   320x200       85.27
   320x175       85.27 

HDMI-1 disconnected (normal left inverted right x axis y axis) 


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa#post-50259

2021-08-30

m3400 - ASUS Vivobook Pro 14 M3400QA


ASUS Vivobook Pro 14 M3400QA

Processor	AMD Ryzen™ 7 5800H processor 3.2GHz 8 cores
Graphics	AMD Radeon™ Graphics
Display		14.0 inches, OLED, WQXGA+ (2880 x 1800) 16:10, 400nits,
		DCI-P3: 100%, Pantone Validated
Memory		8GB DDR4 SO-DIMM x 2, Memory Max 16GB
Storage		512GB M.2 NVMe™ PCIe® 3.0 SSD
Network		Wi-Fi 6(802.11ax)+Bluetooth 5.0 (Dual band) 2*2

华硕无畏 Pro14 锐龙版 (chinese)
https://www.asus.com.cn/Laptops/For-Home/VivoBook/Vivobook-Pro-14-M3400/


AMD Ryzen™ 7 5800H

Launch Date: 1/12/2021

https://www.amd.com/en/products/apu/amd-ryzen-7-5800h 


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa#post-50252

2021-08-26

m3400 - inxi

inxi

tux@slitaz:~$ inxi -Fz

System:
  Kernel: 5.13.7-xanmod1 x86_64 bits: 64 Desktop: Openbox 3.6.1
  Distro: slitaz64
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop M3400QA_M3400QA
  v: 1.0 serial: <filter>
  Mobo: ASUSTeK model: M3400QA v: 1.0 serial: <filter>
  UEFI: American Megatrends LLC. v: M3400QA.301 date: 04/06/2021
Battery:
  ID-1: BAT0 charge: 17.9 Wh (36.0%) condition: 49.7/50.0 Wh (99.5%)
  volts: 11.9 min: 11.9
CPU:
  Info: 8-Core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64
  type: MT MCP cache: L2: 4 MiB
  Speed: 1583 MHz min/max: 1200/3200 MHz Core speeds (MHz): 1: 1583 2: 3552
  3: 2536 4: 4440 5: 3553 6: 2519 7: 1397 8: 1397 9: 1396 10: 1397 11: 1396
  12: 1397 13: 1397 14: 1396 15: 1396 16: 1397
Graphics:
  Device-1: AMD Cezanne driver: amdgpu v: kernel
  Device-2: IMC Networks type: USB driver: uvcvideo
  Display: server: X.Org 1.19.3 driver: loaded: amdgpu
  unloaded: fbdev,modesetting,vesa resolution: 2880x1800~90Hz
  OpenGL: renderer: llvmpipe (LLVM 5.0 128 bits) v: 3.3 Mesa 17.2.4
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A
  Device-3: AMD Family 17h HD Audio driver: snd_hda_intel
  Sound Server-1: ALSA v: k5.13.7-xanmod1 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb
  Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: not found
  rfk-block: hardware: no software: no address: see --recommends
Drives:
  Local Storage: total: 505.83 GiB used: 10.06 GiB (2.0%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFM512GD3JX013N
  size: 476.94 GiB
  ID-2: /dev/sda type: USB vendor: Transcend model: TS-RDF5 SD Transcend
  size: 28.89 GiB
Swap:
  Alert: No swap data was found.
Sensors:
  Message: No sensor data found. Is lm-sensors configured?
Info:
  Processes: 296 Uptime: 1h 21m Memory: 15.04 GiB used: 1.17 GiB (7.8%)
  Shell: sh inxi: 3.3.06 

tux@slitaz:~$ inxi --recommends | grep Missing
bt-adapter: -E bluetooth data (if no hciconfig).................. Missing
dig: -i wlan IP.................................................. Missing
doas: -Dx hddtemp-user; -o file-user (alt for sudo).............. Missing
hciconfig: -E bluetooth data (deprecated, good report)........... Missing
hddtemp: -Dx show hdd temp, if no drivetemp module............... Missing
ipmi-sensors: -s IPMI sensors (servers).......................... Missing
lvs: -L LVM data................................................. Missing
runlevel: -I fallback to Perl.................................... Missing
dig: -i wlan IP.................................................. Missing
Cpanel::JSON::XS: --output json - required for export............ Missing
JSON::XS: --output json - required for export (legacy)........... Missing
XML::Dumper: --output xml - Crude and raw........................ Missing

tux@slitaz:~$ sensors
amdgpu-pci-0300
Adapter: PCI adapter
vddgfx:       +1.45 V
vddnb:        +0.67 V
edge:         +44.0 C
power1:        3.00 mW 

asus-isa-0000
Adapter: ISA adapter
cpu_fan:        0 RPM

tux@slitaz:~$ cat /sys/class/thermal/thermal_zone*/type
acpitz
iwlwifi_1

tux@slitaz:~$ cat /sys/class/thermal/thermal_zone*/temp
50000

37000 


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa#post-50245

2021-08-22

m3400 - lshw - hwinfo - lspci


lshw - hwinfo - lspci

tux@slitaz:~$ sudo lshw -c display

Password:
  *-display
       description: VGA compatible controller
       product: ATI Technologies Inc
       vendor: ATI Technologies Inc
       physical id: 0
       bus info: pci@0000:03:00.0
       version: c5
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
       configuration: driver=amdgpu latency=0
       resources: irq:48 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:f000(size=256) memory:fcc00000-fcc7ffff

tux@slitaz:~$ hwinfo --gfxcard
06: PCI 300.0: 0300 VGA compatible controller (VGA)
  [Created at pci.378]
  Unique ID: svHJ.IOQy4ZSs+I8
  Parent ID: JZZT.e+TNXSUNut3
  SysFS ID: /devices/pci0000:00/0000:00:08.1/0000:03:00.0
  SysFS BusID: 0000:03:00.0
  Hardware Class: graphics card
  Model: "ATI VGA compatible controller"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x1638
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x19c2
  Revision: 0xc5
  Driver: "amdgpu"
  Driver Modules: "amdgpu"
  Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
  Memory Range: 0xe0000000-0xe01fffff (ro,non-prefetchable)
  I/O Ports: 0xf000-0xf0ff (rw)
  Memory Range: 0xfcc00000-0xfcc7ffff (rw,non-prefetchable)
  IRQ: 48 (no events)
  Module Alias: "pci:v00001002d00001638sv00001043sd000019C2bc03sc00i00"
  Driver Info #0:
    Driver Status: amdgpu is active
    Driver Activation Cmd: "modprobe amdgpu"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #21 (PCI bridge)

Primary display adapter: #6

tux@slitaz:~$ sudo lspci -v | grep -A 22 VGA
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c5) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Device 19c2
	Flags: bus master, fast devsel, latency 0, IRQ 48
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Memory at e0000000 (64-bit, prefetchable) [size=2M]
	I/O ports at f000 [size=256]
	Memory at fcc00000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable- Count=1/4 Maskable- 64bit+
	Capabilities: [c0] MSI-X: Enable+ Count=4 Masked-
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] #19
	Capabilities: [2b0] Address Translation Service (ATS)
	Capabilities: [2c0] Page Request Interface (PRI)
	Capabilities: [2d0] Process Address Space ID (PASID)
	Capabilities: [400] #25
	Capabilities: [410] #26
	Capabilities: [440] #27
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

tux@slitaz:~$ 

https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa#post-50232

2021-08-17

m3400 - neofetch


neofetch

tux@slitaz:~$ neofetch

        @    @(               @           tux@slitaz
      @@   @@                  @    @/    ----------
     @@   @@                   @@   @@    OS: SliTaz GNU/Linux x86_64
    @@  %@@                     @@   @@   Host: VivoBook_ASUSLaptop M3400QA_M3400QA 1.0
   @@  %@@@       @@@@@.       @@@@  @@   Kernel: 5.13.7-xanmod1
  @@@    @@@@    @@@@@@@    &@@@    @@@   Uptime: 6 hours, 36 mins
   @@@@@@@ %@@@@@@@@@@@@ &@@@% @@@@@@@/   Packages: 386 (tazpkg)
       ,@@@@@@@@@@@@@@@@@@@@@@@@@         Shell: sh
  .@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/     Resolution: 2880x1800
@@@@@@.  @@@@@@@@@@@@@@@@@@@@@  /@@@@@@   WM: Openbox
@@    @@@@@  @@@@@@@@@@@@,  @@@@@   @@@   WM Theme: SliTaz
@@ @@@@.    @@@@@@@@@@@@@%    #@@@@ @@.   Theme: SliTaz [GTK2], Adwaita [GTK3]
@@ ,@@      @@@@@@@@@@@@@      @@@  @@    Icons: SliTaz [GTK2], Adwaita [GTK3]
@   @@.     @@@@@@@@@@@@@     @@@  *@     Terminal: sakura
@    @@     @@@@@@@@@@@@      @@   @      Terminal Font: monospace 12
      @      @@@@@@@@@.     #@            CPU: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 3.200GHz
       @      ,@@@@@       @              GPU: AMD ATI Cezanne
                                          Memory: 2791MiB / 15404MiB






https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa#post-50226

m3400 - cpu-g

 

cpu-g-0.9-beta





2021-08-06

m3400 - Kernel Linux 5.13.7-xanmod1 - CPU-X

 

kernel Linux 5.13.7-xanmod1 - CPU-X

XanMod Kernel

XanMod is a general-purpose Linux kernel distribution with custom settings and
new features. Built to provide a stable, responsive and smooth desktop experience.

https://xanmod.org/

EDIT:

CPU-X is a Free software that gathers information on CPU, motherboard and more.
CPU-X is a system profiling and monitoring application (similar to CPU-Z for Windows),
but CPU-X is a Free and Open Source software designed for GNU/Linux and FreeBSD.

https://github.com/X0rg/CPU-X







https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa#post-50214

m3400 - Kernel Linux 5.4.41

m3400 - Kernel Linux 5.4.41 

Kernel : Linux 5.4.41-slitaz (x86_64)
Compiled : #1 SMP Sat Aug 29 08:07:49 CST 2020

vmlinuz-5.4.41-slitaz
https://reurl.cc/j8jLop

config.gz
https://reurl.cc/dGj6Ay

modules-5.4.41.tar.xz
https://reurl.cc/3alv9l


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa#post-50209 

2021-07-31

slitaz-x86_64 - ASUS Vivobook pro 14 M3400QA

 

slitaz-x86_64 - ASUS Vivobook pro 14 M3400QA




Kernel : Linux 5.4.41-slitaz (x86_64)

C Library	: GNU C Library version 2.26 (stable)
C Compiler	: GNU C Compiler version 7.3.0 (SliTaz64) 

Resolution	: 2880x1800 pixels
Version		: 1.19.3  (X.Org)
Name		: M3400QA (ASUS)


Summary
-------
-Computer-
Processor		: 8x AMD Ryzen 7 5800H with Radeon Graphics
Memory			: 15788MB (706MB used)
Operating System	: SliTaz GNU/Linux
User Name		: tux (SliTaz User)
Date/Time		: Thu Jul  8 12:35:44 2021
-Display-
Resolution		: 2880x1800 pixels
OpenGL Renderer		: llvmpipe (LLVM 5.0, 128 bits)
X11 Vendor		: The X.Org Foundation
-Multimedia-
Audio Adapter		: HDA-Intel - HD-Audio Generic
Audio Adapter		: HDA-Intel - HD-Audio Generic
-Input Devices-
 Lid Switch


Operating System
----------------
-Version-
Kernel			: Linux 5.4.41-slitaz (x86_64)
Compiled		: #1 SMP Sat Aug 29 08:07:49 CST 2020
C Library		: GNU C Library version 2.26 (stable)
Default C Compiler	: GNU C Compiler version 7.3.0 (SliTaz64)
Distribution		: SliTaz GNU/Linux
-Current Session-
Computer Name		: slitaz
User Name		: tux (SliTaz User)
Home Directory		: /home/tux
Desktop Environment	: Unknown (Window Manager: Openbox)
-Misc-
Uptime			: 1 hour, 41 minutes
Load Average		: 0.01, 0.03, 0.00


Display
-------
-Display-
Resolution		: 2880x1800 pixels
Vendor			: The X.Org Foundation
Version			: 1.19.3
-Monitors-
Monitor 0		: 2880x1800 pixels
-Extensions-
BIG-REQUESTS
Composite
DAMAGE
DOUBLE-BUFFER
DPMS
DRI2
GLX
....

-OpenGL-
Vendor			: VMware, Inc.
Renderer		: llvmpipe (LLVM 5.0, 128 bits)
Version			: 3.0 Mesa 17.2.4
Direct Rendering	: Yes


DMI
---
-BIOS-
Date			: 04/06/2021
Vendor			: American Megatrends International, LLC. (www.ami.com)
Version			: M3400QA.301
-Board-
Name			: M3400QA
Vendor			: ASUSTeK COMPUTER INC. (SEAGATE, http://www.seagate.com)

2021-06-03

Slitaz - Print Screen

 

Print Screen is not working.

Alt + Print Screen

$ grep -A 4 Print /etc/xdg/openbox/rc.xml
<keybind key="A-Print">
<action name="Execute">
<command>mtpaint -s</command>
</action>
</keybind>

 

Card 0 : ATI R6xx HDMI which only outputs sound on the HDMI port
Card 1 : Intel HDA Conexant CX20588 for internal speaker and jack port

without sound

try!

$ cat /etc/asoundrc
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}

 

2021-04-22

cook - strip_packages

 

# compressor - module of the SliTaz Cook
cookutils annotate modules/compressor @ rev 1146

al@865 1 #!/bin/sh
al@865 2 #
al@865 3 # compressor - module of the SliTaz Cook
al@865 4 # Copyright (C) SliTaz GNU/Linux - GNU GPL v3
....

al@865 757 # Find and strip: --strip-all (-s) or --strip-debug on static libs as well
al@865 758 # as removing unneeded files like in Python packages. Cross compiled binaries
al@865 759 # must be stripped with cross-tools aka $ARCH-slitaz-*-strip
al@865 760 # Stripping can be disabled with COOKOPTS="!strip"
al@865 761
al@865 762 strip_package() {

http://hg.slitaz.org/cookutils/annotate/db1cfeb9ac36/modules/compressor#l757

# Cook - A tool to cook and generate SliTaz packages.
cookutils view cook @ rev 701

# Find and strip: --strip-all (-s) or --strip-debug on static libs as well
# as removing unneeded files like in Python packages. Cross compiled binaries
# must be stripped with cross-tools aka $ARCH-slitaz-*-strip
strip_package() {

http://hg.slitaz.org/cookutils/file/1d55332252d7/cook#l436

 

https://forum.slitaz.org/topic/slitaz-future/page/11?replies=164#post-50013 

 ----

 http://hg.slitaz.org/cookutils/file/1d55332252d7/cook#l436

# Find and strip: --strip-all (-s) or --strip-debug on static libs as well
# as removing unneeded files like in Python packages. Cross compiled binaries
# must be stripped with cross-tools aka $ARCH-slitaz-*-strip
strip_package() {
    case "$ARCH" in
        arm*|x86_64) export STRIP=${HOST_SYSTEM}-strip ;;
        *) export STRIP=strip ;;
    esac
    _n "Executing strip on all files..."
    for dir in $fs/bin $fs/sbin $fs/usr/bin $fs/usr/sbin $fs/usr/games
    do
        if [ -d "$dir" ]; then
            find $dir -type f -exec $STRIP -s '{}' 2>/dev/null \;
        fi
    done
    find $fs -name "*.so*" -exec $STRIP -s '{}' 2>/dev/null \;
    find $fs -name "*.a" -exec $STRIP --strip-debug '{}' 2>/dev/null \;
    status

    # Remove Python .pyc and .pyo from packages.
    if echo "$PACKAGE $DEPENDS" | fgrep -q "python"; then
        _n "Removing Python compiled files..."
        find $fs -type f -name "*.pyc" -delete 2>/dev/null
        find $fs -type f -name "*.pyo" -delete 2>/dev/null
        status
    fi

    # Remove Perl perllocal.pod and .packlist from packages.
    if echo "$DEPENDS" | fgrep -q "perl"; then
        _n "Removing Perl compiled files..."
        find $fs -type f -name "perllocal.pod" -delete 2>/dev/null
        find $fs -type f -name ".packlist" -delete 2>/dev/null
        status
    fi
}
 

----

http://hg.slitaz.org/cookutils/file/db1cfeb9ac36/modules/compressor#l757

# Find and strip: --strip-all (-s) or --strip-debug on static libs as well
# as removing unneeded files like in Python packages. Cross compiled binaries
# must be stripped with cross-tools aka $ARCH-slitaz-*-strip
# Stripping can be disabled with COOKOPTS="!strip"

strip_package() {
    [ "${COOKOPTS/!strip/}" != "$COOKOPTS" ] && return

    local i ifs="$IFS"
    IFS=$'\n'

    case "$ARCH" in
        arm*|x86_64) export STRIP="$HOST_SYSTEM-strip" ;;
        *)           export STRIP='strip' ;;
    esac
    action 'Executing strip on all files...'
    size0=0
    size1=0
    time0=$(get_time)
    oldsize=$(sizes strip)


    # GNU strip (GNU Binutils)
    # -p --preserve-dates                 Copy modified/access timestamps to the output
    # -s --strip-all                      Remove all symbols and relocation information
    #    --strip-unneeded                 Remove all symbols not needed by relocations
    # -D --enable-deterministic-archives  Produce deterministic output when stripping archives
    # -g -S -d --strip-debug              Remove all debugging symbols & sections

    # Strip executable files
    while read i; do
        $STRIP -ps "$i" 2>/dev/null
    done <<EOT
$(find_elf EXEC)
EOT

    # Strip shared libraries
    while read i; do
        case $i in
            *.dbg) ;; # skip library.so.*.dbg debugging symbols
            *) $STRIP -p --strip-unneeded "$i" 2>/dev/null;;
        esac
    done <<EOT
$(find_elf DYN)
EOT

    # Strip static libraries
    # See also: https://wiki.debian.org/ReproducibleBuilds/TimestampsInStaticLibraries
    find $install -name '*.a' -exec $STRIP -pdD '{}' 2>/dev/null \;


    # Remove Python *.pyc and *.pyo
    find $install -type f \( -name '*.pyc' -o -name '*.pyo' \) -delete 2>/dev/null

    # Remove both with the empty subfolders:
    # 1. Perl perllocal.pod and .packlist (unconditionally)
    local perlfiles="$(find $install -type f \( -name 'perllocal.pod' -o -name '.packlist' \))"
    # 2. Perl *.pod (if not disabled)
    [ "${COOKOPTS/!rmpod/}" == "$COOKOPTS" ] &&
        perlfiles="$perlfiles"$'\n'"$(find $install -type f -name '*.pod')"
    echo "$perlfiles" | sort -u | xargs rm -f 2>/dev/null
    echo "$perlfiles" | sort -u | awk 'BEGIN{FS=OFS="/"}{$NF="";print}' \
    | xargs rmdir -p --ignore-fail-on-non-empty 2>/dev/null

    # Strip documentation inside Perl files (*.pm and *.pl) (if not disabled)
    [ "${COOKOPTS/!perlz/}" == "$COOKOPTS" ] &&
        find $install -type f \( -name '*.pm' -o -name '*.pl' \) -exec sed -i '/^=/,/^=cut/d' '{}' \;

    newsize=$(sizes strip)

    comp_summary "$time0" "$oldsize" "$newsize"
    IFS="$ifs"
}

 

 

 

2021-04-05

teamviewer



/lib/libc.so.6: version `GLIBC_2.17' not found (required by /opt/teamviewer/tv_bin/teamviewerd)

    libQt5WebKitWidgets.so.5 => not found
    libQt5X11Extras.so.5 => not found
    libQt5WebKit.so.5 => not found
    libQt5Quick.so.5 => not found
    libQt5Qml.so.5 => not found
    libQt5Widgets.so.5 => not found


1. teamviewer-15.16.8
root@slitaz:~# ldd /opt/teamviewer/tv_bin/teamviewerd
/opt/teamviewer/tv_bin/teamviewerd: /lib/libc.so.6: version `GLIBC_2.17' not found (required by /opt/teamviewer/tv_bin/teamviewerd)
    libdl.so.2 => /lib/libdl.so.2 (0xb77b3000)
    librt.so.1 => /lib/librt.so.1 (0xb77a9000)
    libpthread.so.0 => /lib/libpthread.so.0 (0xb778e000)
    libm.so.6 => /lib/libm.so.6 (0xb7760000)
    libc.so.6 => /lib/libc.so.6 (0xb75e7000)
    /lib/ld-linux.so.2 (0xb77b9000)


2. teamviewer-13.2.258818
Linux (v13.2.258818)
https://download.teamviewer.com/download/linux/version_13x/teamviewer_i386.deb

DEPENDS="alsa-lib bash xorg-libXext zlib"

root@slitaz:~# ldd /opt/teamviewer/tv_bin/TeamViewer
    libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb7714000)
    librt.so.1 => /lib/librt.so.1 (0xb770a000)
    libdl.so.2 => /lib/libdl.so.2 (0xb7705000)
    libQt5WebKitWidgets.so.5 => not found
    libQt5X11Extras.so.5 => not found
    libQt5DBus.so.5 => /usr/lib/libQt5DBus.so.5 (0xb7649000)
    libQt5WebKit.so.5 => not found
    libQt5Quick.so.5 => not found
    libQt5Qml.so.5 => not found
    libQt5Widgets.so.5 => not found
    libQt5Network.so.5 => /usr/lib/libQt5Network.so.5 (0xb743c000)
    libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0xb6d1a000)
    libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0xb66cc000)
    libm.so.6 => /lib/libm.so.6 (0xb669e000)
    libpthread.so.0 => /lib/libpthread.so.0 (0xb6682000)
    libc.so.6 => /lib/libc.so.6 (0xb650a000)
    /lib/ld-linux.so.2 (0xb7762000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb63d0000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb63b5000)
    libz.so.1 => /usr/lib/libz.so.1 (0xb639f000)
    libGL.so.1 => /usr/lib/libGL.so.1 (0xb6340000)
    libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb631c000)
    libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0xb626e000)
    libicui18n.so.54 => /usr/lib/libicui18n.so.54 (0xb604e000)
    libicuuc.so.54 => /usr/lib/libicuuc.so.54 (0xb5eeb000)
    libicudata.so.54 => /usr/lib/libicudata.so.54 (0xb46be000)
    libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb46b9000)
    libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb45c1000)
    libglapi.so.0 => /usr/lib/libglapi.so.0 (0xb45a1000)
    libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb459c000)
    libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb4594000)
    libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0xb458f000)
    libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xb4573000)
    libxcb-dri2.so.0 => /usr/lib/libxcb-dri2.so.0 (0xb456c000)
    libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb4565000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0xb4552000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0xb4432000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb4408000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0xb4403000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb43fc000)
    libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb43ea000)
    libpcre.so.1 => /usr/lib/libpcre.so.1 (0xb4387000)
    libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb42f2000)
    libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0xb42df000)
root@slitaz:~#

----
Available packages
-----------------------------------------------------------------------------------
libQt5Core              5.14.2            development
libQt5DBus              5.14.2            development
libQt5Designer          5.14.2            development
libQt5Gui               5.14.2            development
libQt5Help              5.14.2            development
libQt5Multimedia        5.14.2            development
libQt5Network           5.14.2            development
libQt5OpenGL            5.14.2            development
libQt5Plugins           5.14.2            development
libQt5Script            5.14.2            development
libQt5ScriptTools       5.14.2            development
libQt5Sql               5.14.2            development
libQt5Svg               5.14.2            development
libQt5Test              5.14.2            development
libQt5Xml               5.14.2            development
===================================================================================
15 available packages found for "libQt5"

https://forum.slitaz.org/topic/teamviewer-installation#post-49952 

2021-03-16

x86_64 - 210227_rootfs64.gz

 

210227_rootfs64.gz

/usr/bin/lzma-alone: line 1: syntax error: unexpected "("

ping: bad address 'www.slitaz.org'

nslookup: write to '127.0.0.1': Connection refused
;; connection timed out; no servers could be reached

ls: /lib/libns*: No such file or directory
glibc-base: missing libraries and link error

 

1.

root@slitaz:/opt/rootfs64# lzma d /opt/210227_rootfs64.gz -so | cpio -idm
55985 blocks

root@slitaz:/opt/rootfs64# tazdev -c /opt/rootfs64

Mounting virtual filesystems...                                      [ Done ]
Chrooting to: /opt/rootfs64

root@slitaz:/# /lib/libc.so.6
GNU C Library (GNU libc) release release version 2.32.
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 10.2.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see:
<https://www.gnu.org/software/libc/bugs.html>.

root@slitaz:/# ldd /lib/libc.so.6

/lib/libc.so.6:
    /lib/ld-linux-x86-64.so.2 (0x00007f3f073bb000)
    linux-vdso.so.1 (0x00007fffc6b2d000)

 
2.
root@slitaz:/# grep ARCH /etc/slitaz/slitaz.conf
SLITAZ_ARCH="i486"

root@slitaz:/# cat /var/lib/tazpkg/mirror
http://mirror1.slitaz.org/packages/cooking/

 
3.
root@slitaz:/# busybox | head -1
BusyBox v1.31.1 (2021-01-28 19:51:59 CET) multi-call binary.

root@slitaz:/# blkid -version
blkid from util-linux 2.36  (libblkid 2.36.0, 23-Jul-2020)

root@slitaz:/# dropbear -V
Dropbear v2020.81

root@slitaz:/# lzma --help
/usr/bin/lzma-alone: line 1: syntax error: unexpected "("

root@slitaz:/# parted --help
/usr/sbin/parted: line 1: syntax error: unexpected "("

root@slitaz:/# grub --help
/usr/sbin/grub: line 1: syntax error: unexpected "("

 
4.
root@slitaz:/# tazpkg -i libmagic-5.38-x86_64.tazpkg file-5.38-x86_64.tazpkg

root@slitaz:/# file /lib/libc.so.6
/lib/libc.so.6: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, stripped

root@slitaz:/# file /bin/busybox
/bin/busybox: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, stripped

root@slitaz:/# file /usr/bin/lzma-alone
/usr/bin/lzma-alone: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.30, stripped

root@slitaz:/# file /usr/sbin/grub
/usr/sbin/grub: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.30, stripped

root@slitaz:/# file /usr/sbin/parted
/usr/sbin/parted: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.30, stripped

root@slitaz:/# file /lib/liblz.so.1.0.0
/lib/liblz.so.1.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), statically linked, stripped

root@slitaz:/#  file usr/lib/libefivar.so.1.37
usr/lib/libefivar.so.1.37: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), statically linked, BuildID[sha1]=ad2926f231f798092c41d6dedd7bb87243d80686, stripped

root@slitaz:/# head -34 /var/lib/tazpkg/installed.md5
db805c755030485e1e4c69376208070c  busybox-1.31.1.tazpkg
c334e8b3f34f1db84c424e15ac47f841  cdrkit-1.1.11.tazpkg
c7d530c834b6dd72d25273969c151f71  cookutils-887.tazpkg
766b9b0dba7622a4d907e4a4e4b7627e  util-linux-blkid-2.35.1.tazpkg
d1262d5c293fa6e88d93d1c82811df35  util-linux-mount-2.35.1.tazpkg
0b9cbc238eb786cec9dc9b4e15b7531c  util-linux-smartcols-2.35.1.tazpkg
dfa7ad54d6250eea2957b899adb8f960  util-linux-uuid-2.35.1.tazpkg
e7b538706e3d04acad479f83801d0f6f  grub4dos-linux-0.4.4.tazpkg
02eecc43b9d5362fa4144bcf0bcb17fb  ipxe-1.20.1.tazpkg
dff993ca5d80cf550ecacaa0ea119e18  isapnptools-1.27.tazpkg
59ff501aba17d0e54132aa68ff0d4124  lzma-4.57.tazpkg
c94a60a44e12402dca75b334072c34af  lzlib-4.57.tazpkg
21203046fa30682c3cc11d6c71a622e1  pcmciautils-018.tazpkg
6dea5f833c9d894f6b4a94ce76380752  ppp-2.4.7.tazpkg
82849fc74b7dc9bef38d02dfbf5fb15e  rp-pppoe-3.13.tazpkg
cfe777464737c203ea6f8f68de327acb  slitaz-base-files-343.tazpkg
ad80aa99169bb31d2403a31785252d5d  slitaz-boot-scripts-466.tazpkg
67ec3083c3eba6942e7752a60994b523  slitaz-configs-base-317.tazpkg
83ae237d5d5e1248bed68a2ac2b9014f  slitaz-tools-1036.tazpkg
010251971d3215a8bf505d35ba28ba2b  syslinux-4.06.tazpkg
32971a7fa793e5d1d97a47b73dca085b  syslinux-extra-4.06.tazpkg
8a453ce04d021194a3acb77de573b4a0  tazinst-108.tazpkg
9fa605197d071f3de113a8b6499c055c  parted-3.2.tazpkg
6bd5914ab97189e78f4158c7e6685924  efibootmgr-16.tazpkg
f1a79076e9d96def430793ef79cd1c60  efivar-37.tazpkg
761083b6e6eddc41c624d4966fe0a256  tazlito-529.tazpkg
a8341b913745dfd3bca527645a41a015  tazpkg-944.tazpkg
249a5908f2baf65fcd7b437b786b395e  tazusb-209.tazpkg
97a1b95be6b0839d89c09efcc1e46f0e  tazirc-22.tazpkg
8922a3550aa075627dfce125d47ea591  udev-182.tazpkg
ab02e544ba3e51470e52b5ed24b38e2e  terminus-font-base-4.40.tazpkg
fb8a37a677b35c8b75e21c886b0b550e  acl-2.2.53-x86_64.tazpkg
8367787ae24613257fcd0898e404e60b  attr-2.4.48-x86_64.tazpkg
575c7c7845c96a61cc9843cb0f88f912  bzlib-1.0.8-x86_64.tazpkg
root@slitaz:/# 

 
5.
root@slitaz:/# ping -c4 www.slitaz.org
ping: bad address 'www.slitaz.org'

root@slitaz:/# nslookup www.slitaz.org
nslookup: write to '127.0.0.1': Connection refused
;; connection timed out; no servers could be reached

root@slitaz:/# cat /etc/resolv.conf
root@slitaz:/# ls -l /etc/resolv.conf
-rw-r--r--    1 root     root             0 Feb 27 15:44 /etc/resolv.conf

root@slitaz:/# ls -l /lib64
total 0
lrwxrwxrwx    1 root     root            27 Mar  8 02:00 ld-linux-x86-64.so.2 -> ../lib/ld-linux-x86-64.so.2
lrwxrwxrwx    1 root     root            27 Mar  8 02:00 ld-lsb-x86-64.so.3 -> ../lib/ld-linux-x86-64.so.2

root@slitaz:/# ls -l /lib/libns*
ls: /lib/libns*: No such file or directory

root@slitaz:/# tazpkg -lf glibc-base | grep libns

Recharging repository "Main"
================================================================================
Checking...                                                          [ Failed ]
Creating backup of the last packages list...                         [ Done ]
Getting "bundle.tar.lzma"...                                         [ Failed ]
Restoring database files...                                          [ Done ]
================================================================================
Recharging failed

/lib64/libnsl-2.32.so
/lib64/libnsl.so.1
/lib64/libnss_compat-2.32.so
/lib64/libnss_compat.so.2
/lib64/libnss_dns-2.32.so
/lib64/libnss_dns.so.2
/lib64/libnss_files-2.32.so
/lib64/libnss_files.so.2
/usr/lib64/libnsl.so
/usr/lib64/libnss_compat.so
/usr/lib64/libnss_dns.so
/usr/lib64/libnss_files.so

root@slitaz:/# ls -l /usr/lib64
total 12
drwxr-xr-x    2 root     root          4096 Mar  8 02:00 gconv
lrwxrwxrwx    1 root     root            23 Mar  8 02:00 libanl.so -> ../../lib64/libanl.so.1
lrwxrwxrwx    1 root     root            25 Mar  8 02:00 libcrypt.so -> ../../lib64/libcrypt.so.1
lrwxrwxrwx    1 root     root            22 Mar  8 02:00 libdl.so -> ../../lib64/libdl.so.2
-rw-r--r--    1 root     root           110 Feb 27 15:44 libm.so
lrwxrwxrwx    1 root     root            23 Mar  8 02:00 libnsl.so -> ../../lib64/libnsl.so.1
lrwxrwxrwx    1 root     root            30 Mar  8 02:00 libnss_compat.so -> ../../lib64/libnss_compat.so.2
lrwxrwxrwx    1 root     root            27 Mar  8 02:00 libnss_dns.so -> ../../lib64/libnss_dns.so.2
lrwxrwxrwx    1 root     root            29 Mar  8 02:00 libnss_files.so -> ../../lib64/libnss_files.so.2
lrwxrwxrwx    1 root     root            26 Mar  8 02:00 libresolv.so -> ../../lib64/libresolv.so.2
lrwxrwxrwx    1 root     root            22 Mar  8 02:00 librt.so -> ../../lib64/librt.so.1
lrwxrwxrwx    1 root     root            29 Mar  8 02:00 libthread_db.so -> ../../lib64/libthread_db.so.1
lrwxrwxrwx    1 root     root            24 Mar  8 02:00 libutil.so -> ../../lib64/libutil.so.1
drwxr-xr-x    2 root     root          4096 Feb 27 15:44 locale
root@slitaz:/#
 

 

https://forum.slitaz.org/topic/slitaz-future/page/9#post-49897

2021-03-13

Slitaz_share - Filou

 

980 of 980 Download

bandle.tar.lzma    03/08/21    92.3kb
packages.info      02/13/21    41.3kb
packages.list      02/13/21    0 Byte
packages.md5       02/13/21    0 Byte 

https://c.web.de/@337942326598965997/QhaNFMiJQhuEqY3q66F8Xg 

please check pkgdb

 $ tar tvf bundle.tar.lzma
-rw-r--r-- root/root       783 2021-02-09 17:53 mirrors
-rw-r--r-- root/root      4860 2021-02-09 17:53 extra.list
-rw-r--r-- root/root        32 2021-02-09 17:53 files-list.md5
-rw-r--r-- root/root      1892 2021-02-09 17:53 packages.info
-rw-r--r-- root/root    286552 2021-02-09 17:53 descriptions.txt
-rw-r--r-- root/root      1646 2021-02-09 17:53 packages.desc
-rw-r--r-- root/root         0 2021-02-09 17:53 packages.md5
-rw-r--r-- root/root      1076 2021-02-09 17:53 packages.txt
-rw-r--r-- root/root         0 2021-02-09 17:53 packages.list
-rw-r--r-- root/root         0 2021-02-09 17:53 packages.equiv

$ cat packages.info | wc -l
14

$ tar tvf bundle-0213.tar.lzma
-rw-r--r-- root/root       783 2021-02-13 21:27 mirrors
-rw-r--r-- root/root      4860 2021-02-13 21:28 extra.list
-rw-r--r-- root/root        32 2021-02-13 21:27 files-list.md5
-rw-r--r-- root/root     42338 2021-02-13 21:27 packages.info
-rw-r--r-- root/root    286552 2021-02-13 21:27 descriptions.txt
-rw-r--r-- root/root     35148 2021-02-13 21:27 packages.desc
-rw-r--r-- root/root         0 2021-02-13 21:27 packages.md5
-rw-r--r-- root/root     25359 2021-02-13 21:27 packages.txt
-rw-r--r-- root/root         0 2021-02-13 21:27 packages.list
-rw-r--r-- root/root       228 2021-02-13 21:27 packages.equiv

 

https://forum.slitaz.org/topic/slitaz-future/page/8#post-49893

2021-03-09

tazdev - check_mirror()

 

tazdev gen-chroot {name_env} --mirror="http://people.slitaz.org/~shann/slitaz64-stuff/repo/packages/unstable/"

Ref:

82 check_mirror() {

http://hg.slitaz.org/slitaz-dev-tools/file/3a966a7b4ac9/tazdev/tazdev#l82

20 # Main mirror to push and download (ISO, rootfs. etc).
21 MIRROR="mirror.slitaz.org"
22 MIRROR_PKGS="/var/www/slitaz/mirror/packages"
23 MIRROR_SOURCES="/var/www/slitaz/mirror/sources"

http://hg.slitaz.org/slitaz-dev-tools/file/3a966a7b4ac9/tazdev/tazdev.conf#l20

 

x86_64 - slitaz-vm.iso v2

 

slitaz-basevm.iso 2021-Mar-04 09:12:16 10.5M

root@slitaz:~# slitaz

SliTaz GNU/Linux
================================================================================
Release      : cooking
Architecture : x86_64
Kernel       : 5.4.101-vm
Machine type : x86_64
Home path    : /home/slitaz
Configs      : /etc/slitaz
Main config  : /etc/slitaz/slitaz.conf
Log files    : /var/log/slitaz
Packages DB  : /var/lib/tazpkg
Installed    : 22 packages
Mirror       : http://people.slitaz.org/~shann/slitaz64-stuff/repo/packages/unstable/
System date  : Fri Mar  5 05:21:52 UTC 2021
--------------
Boot options : initrd=/boot/rootfs.gz rw root=/dev/null BOOT_IMAGE=/boot/bzImage
================================================================================

 

 

2021-02-24

x86_64 - slitaz-vm.iso

Architecture : i486
Kernel : 5.4.91-vm
Machine type : x86_64

slitaz-vm.iso
https://people.slitaz.org/%7Eshann/slitaz64-stuff/slitaz-basevm.iso

root@slitaz:~# uname -a
Linux slitaz 5.4.91-vm #1 SMP Thu Jan 21 14:46:42 UTC 2021 x86_64 GNU/Linux

root@slitaz:~# slitaz

SliTaz GNU/Linux
================================================================================
Release      : cooking
Architecture : i486
Kernel       : 5.4.91-vm
Machine type : x86_64
Home path    : /home/slitaz
Configs      : /etc/slitaz
Main config  : /etc/slitaz/slitaz.conf
Log files    : /var/log/slitaz
Packages DB  : /var/lib/tazpkg
Installed    : 22 packages
Mirror       : http://mirror.slitaz.org/packages/unstable/
System date  : Sat Feb  6 10:19:24 UTC 2021
--------------
Boot options : initrd=/boot/rootfs.gz rw root=/dev/null BOOT_IMAGE=/boot/bzImage
================================================================================

x86_64 - tazdev

 
      Tazpkg catch from cooking by default for deps, you can skip them by :
      - use AUTO_INSTALL_DEPS="no" to /etc/slitaz/tazpkg.conf
      or
      - define notexist url in /var/lib/tazpkg/mirror (that my choice, point to http://mirror.slitaz.org/packages/unstable/)

      URL repo doesn't exist to ensure that tazpkg not try to fetch packages from cooking or another release present in mirror.


Tazdev - SliTaz developers and build host tool.
http://hg.slitaz.org/slitaz-dev-tools/file/3a966a7b4ac9/tazdev/tazdev

    # Tazdev - SliTaz developers and build host tool. System-wide config file
    # is located at /etc/slitaz/tazdev.conf. Please, keep the code clear and
    # well commented. Also keep in mind: configuration variables are $UPPERCASE
    # and variables initialized by tazdev itself are $lowercase.