找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 918|回复: 32

[分享] 折腾小米pad6 lxc容器运行的记录

[复制链接]
发表于 2026-8-25 21:36:06 | 显示全部楼层 |阅读模式
本帖最后由 winpefk 于 2026-8-26 23:58 编辑

首先,你得有一个能跑lxc的内核
比如我这个
  1. LXC version 3.1.0
  2. --- Namespaces ---
  3. Namespaces: enabled
  4. Utsname namespace: enabled
  5. Ipc namespace: enabled
  6. Pid namespace: enabled
  7. User namespace: enabled
  8. newuidmap is not installed
  9. newgidmap is not installed
  10. Network namespace: enabled
  11. Namespace limits: cgroup: 28801 ipc: ... mnt: ... net: ... pid: ... user: ... uts: ...

  12. --- Control groups ---
  13. Cgroups: enabled
  14. Cgroup namespace: enabled
  15. Cgroup v1 mount points:
  16. - /dev/blkio
  17. - /dev/cpuctl
  18. - /dev/cpuset
  19. - /dev/memcg
  20. Cgroup v2 mount points:
  21. - /sys/fs/cgroup
  22. Cgroup device: enabled
  23. Cgroup sched: enabled
  24. Cgroup cpu account: enabled
  25. Cgroup memory controller: enabled
  26. Cgroup cpuset: enabled

  27. --- Misc ---
  28. Veth pair device: enabled, not loaded
  29. Macvlan: enabled, not loaded
  30. Vlan: missing
  31. Bridges: enabled, not loaded
  32. Advanced netfilter: enabled, not loaded
  33. CONFIG_NF_NAT_IPV4: enabled, not loaded
  34. CONFIG_NF_NAT_IPV6: missing
  35. CONFIG_IP_NF_TARGET_MASQUERADE: enabled, not loaded
  36. CONFIG_IP6_NF_TARGET_MASQUERADE: missing
  37. CONFIG_NETFILTER_XT_TARGET_CHECKSUM: missing
  38. CONFIG_NETFILTER_XT_MATCH_COMMENT: enabled, not loaded
  39. FUSE (for use with lxcfs): enabled, not loaded

  40. --- Checkpoint/Restore ---
  41. checkpoint restore: missing
  42. CONFIG_FHANDLE: missing
  43. CONFIG_EVENTFD: enabled
  44. CONFIG_EPOLL: enabled
  45. CONFIG_UNIX_DIAG: missing
  46. CONFIG_INET_DIAG: enabled
  47. CONFIG_PACKET_DIAG: missing
  48. CONFIG_NETLINK_DIAG: missing
  49. File capabilities: enabled

  50. Note: Before booting a new kernel, you can check its configuration with:

  51.   CONFIG=/path/to/config ../lxc-checkconfig

复制代码
那么其实这个内核的获得不是一帆风顺的, 咱得先找到一个能用的内核源码. 我由于各种传闻 "什么云控之类的" 不敢升级hyperos,买来就解锁BL,然后快速刷入GSI, 至今底包 MIUI 14.3
然后git上面只能找到一堆适配hyperOS的内核, 对于miui底包机器一刷就砖.截图就不发了,git刚刚访问不稳定,大家自己可以去看一下.

hyperOS的刷机生态令我不敢更新, 遂开始rebase别人仓库适配内核.
这里先贴git提交日志, 以表示我不是大语言模型
然后贴github仓库, 自己搜索 dirt2022/android_kernel_xiaomi_pipa 仓库, 变基自 wcedla/android_kernel_xiaomi_ucmi (一个miui底包支持的内核,但bug多多,甚至也属于"刷了就砖"内核, 且开发者迅速弃坑)
我于是主动跳入火坑,在若干天内踩了若干坑, 可以从后面提交信息看出来.
现在如果还有运行miui底包的可以参考这个内核. 目前功能几乎没有问题. 预构建内核我就没法发网盘了,怕吞.
如果你有了内核,那么就直接make O=build menuconfig配置一下, 打开:

CONFIG_NAMESPACE,SYSVIPC,CONFIG_NAMESPACE下面的所有项目,还有 CONFIG_BRIDGE, CONFIG_VETH, CONFIG_MACVLAN, CONFIG_CGROUPS, 以及下面所有项目(带debug字样的可以不开)
跑一遍lxc-checkconfig, 看哪个红的,去自己补丁之

如果提示 cgroup v1 systemd没挂载, 自己(在安卓宿主的root shell下: mkdir /sys/fs/cgroup/systemd 然后mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd

如果提示缺少 Cgroup v1 freezer controller
就 mkdir /dev/freezer, 然后 mount -t cgroup -o none,name=freezer cgroup /dev/freezer (也在安卓root shell里面运行)

(有些内核需要LLVM=1启用clang工具链,比如我的, 那么就是 make O=build LLVM=1 menuconfig && make O=build LLVM=1 -j $(nproc))
根文件系统构造可以参考第二页.
lxc配置文件书写可以参考AI
  1. commit d204418f93b61a78894fd83e4e401b67fa1743c5 (HEAD -> main, origin/main)
  2. Author: dirt2022 <fk186@qq.com>
  3. Date:   Mon Aug 24 08:23:22 2026 +0000

  4.     Config: support lxc container.

  5. commit f7d1be7a02a081205f5b02cbfbbebb952d1c1402
  6. Author: dirt2022 <fk186@qq.com>
  7. Date:   Sun Aug 23 14:58:20 2026 +0000

  8.     README: Add readme.md

  9. commit 855fa51507364de676950ae004a9b59286c7d40a
  10. Author: dirt2022 <fk186@qq.com>
  11. Date:   Sun Aug 23 08:47:09 2026 +0000

  12.     Audio: dirtyhack: Fix audio playback of aw882xx chips.

  13.     Since the ACDB database always provides wrong information,
  14.     causing opensource aw882xx driver enter mute mode forever.

  15.     Moreover,Mi official firmware (MIUI 14.3) may also dirty hacked,
  16.     which caused extra debugging difficulties.

  17.     Now we dirty hacked slot_mapping_cfg->offset in q6afe.c. (The hack triggers only when TDM port_id == 0x9020)

  18.     Proof (logcat from stock firmware):
  19.     I afe_find_cal_topo_id_by_port: port id: 0x9020, dev_acdb_id: 10011
  20.     I afe_find_cal_topo_id_by_port: top_id:1000ff01 acdb_id:10011 afe_port_id:0x9020

  21.     I afe_get_cal_topology_id: port_id = 0x9020 acdb_id = 10011 topology_id = 0x1000ff01 cal_type_index=8 ret=0

  22.     E afe_callback: cmd = 0x100fa returned error = 0x2
  23.     E afe_apr_send_pkt: DSP returned error[ADSP_EBADPARAM]
  24.     ...
  25.     I [Awinic][2-0034]aw882xx_mute: mute state=0
  26.     E [Awinic]aw_check_dsp_ready: rx topo id is 0x0
  27.     I [Awinic][2-0034]aw882xx_startup_work: enter
  28.     D [Awinic]aw882xx_dsp_write_spin: write spin done
  29.     I [Awinic][2-0034]aw882xx_spin_set_record_val: set record spin val done
  30.     I [Awinic][2-0035]aw882xx_mute: mute state=0
  31.     I [Awinic][2-0034]aw882xx_start_pa: enter
  32.     I [Awinic][2-0034]aw882xx_dev_reg_update: done
  33.     ...
  34.     D [Awinic][2-0034]aw_pid_2113_set_volume: value:65, min_val: 65, real_value: 0x51
  35.     D [Awinic][2-0034]aw_pid_2113_set_volume: value:113, min_val: 113, real_value: 0x91
  36.     D [Awinic][2-0034]aw_pid_2113_set_volume: value:161, min_val: 161, real_value: 0xd1
  37.     ... // normal playback.

  38. commit 041465500f201469e41267519c34fc64dd3e4935
  39. Author: dirt2022 <fk186@qq.com>
  40. Date:   Sat Aug 22 01:27:03 2026 +0000

  41.     Audio: Without AW_SND_SOC_AW882XX_TDM the kernel failed to build.

  42. commit 95556d602d63c5072116a7eb821cbcc8fd55c110
  43. Author: dirt2022 <fk186@qq.com>
  44. Date:   Fri Aug 21 15:40:32 2026 +0000

  45.     Audio: Okay, the AW882XX_SPEAKER_NAME should be "aw882xx_smartpa.x-00xx", not "x-00xx"

  46. commit bf196bc265764c21d8a24140ab657596c353c95f
  47. Author: dirt2022 <fk186@qq.com>
  48. Date:   Fri Aug 21 07:20:52 2026 +0000

  49.     Fix wrong DAI name of aw882xx.

  50.     Enable necessary build config in konaautoconf.h, konaauto.conf

  51.     The tert_mi2s_rx_aw882xx_dai_links array was previously defined inside
  52.     the wrong conditional block, causing it to be excluded from compilation.

  53. commit 4c7b940537371a9abc156694f01bddabef116e4d
  54. Author: dirt2022 <fk186@qq.com>
  55. Date:   Thu Aug 20 15:37:34 2026 +0000

  56.     Fix: add tert_mi2s_rx_aw882xx_dai_links for pipa.

  57. commit 2b81d1c24793f7ce06800e76272e8ba2b2b099a2
  58. Author: dirt2022 <fk186@qq.com>
  59. Date:   Thu Aug 20 10:27:54 2026 +0000

  60.     Log: enable aw882x driver debug info.

  61. commit ebf17002f9a25f2d6f3efcebf3b999e4f852bf9f
  62. Author: dirt2022 <fk186@qq.com>
  63. Date:   Thu Aug 20 08:49:58 2026 +0000

  64.     Audio: Add aw882x driver, include aw_compative_layer (aw_send_afe_cal_apr, aw_set_port_id, etc.) in qcom q6afe.

  65. commit 6fb9cb4f439797fb407aea5de43647c18f2427d0
  66. Author: dirt2022 <fk186@qq.com>
  67. Date:   Wed Aug 19 14:07:17 2026 +0000

  68.     Defconfig: try to builtin qca6390 driver to fix wifi.

  69. commit 228e565c5327b11fb7233a3c510ca8e984fc54cb
  70. Author: dirt2022 <fk186@qq.com>
  71. Date:   Wed Aug 19 08:24:05 2026 +0000

  72.     Fix: build error due to old fashioned function declaration in nt36532 chipset driver.

  73. commit d1cda30452d847c228358178578e9f2ae151f627
  74. Author: dirt2022 <fk186@qq.com>
  75. Date:   Wed Aug 19 08:19:05 2026 +0000

  76.     Fix: touch screen never works due to incorrect Makefile in drivers/input/touchscreen/Makefile, which forgot to include nt36532 chipset.

  77. commit 64599b76545956e2493f80865024575b57fcceb4
  78. Author: dirt2022 <fk186@qq.com>
  79. Date:   Wed Aug 19 04:29:57 2026 +0000

  80.     Fix uninitialized pointer problem.

  81.     This bq_err refer to the uninitialized pointer *bq, which can cause kernel panic while booting up.

  82. commit 9cf3365f91031e315cebe806763a6ff39c943998
  83. Author: dirt2022 <fk186@qq.com>
  84. Date:   Tue Jul 21 11:15:29 2026 +0000

  85.     rtmutex: Drop rt_mutex::wait_lock before scheduling
  86.     commit d33d26036a0274b472299d7dcdaa5fb34329f91b upstream.

  87.     rt_mutex_handle_deadlock() is called with rt_mutex::wait_lock held.  In the
  88.     good case it returns with the lock held and in the deadlock case it emits a
  89.     warning and goes into an endless scheduling loop with the lock held, which
  90.     triggers the 'scheduling in atomic' warning.

  91.     Unlock rt_mutex::wait_lock in the dead lock case before issuing the warning
  92.     and dropping into the schedule for ever loop.

  93.     [ tglx: Moved unlock before the WARN(), removed the pointless comment,
  94.             massaged changelog, added Fixes tag ]

  95.     Fixes: 3d5c9340d194 ("rtmutex: Handle deadlock detection smarter")
  96.     Signed-off-by: Roland Xu <mu001999@outlook.com>
  97.     Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  98.     Cc: stable@vger.kernel.org
  99.     Link: https://lore.kernel.org/all/ME0P300MB063599BEF0743B8FA339C2CECC802@ME0P300MB0635.AUSP300.PROD.OUTLOOK.COM
  100.     Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

  101. commit 7332c2f40d36b4774e470ccab8b2cc7e529037f5
  102. Author: dirt2022 <fk186@qq.com>
  103. Date:   Sun Jul 12 03:25:46 2026 +0000

  104.     chores: Fix a typo in previous commit.

  105. commit 036175390f82def4b1cebb9e5ba7431fdb6b1ef3
  106. Author: dirt2022 <fk186@qq.com>
  107. Date:   Sun Jul 12 02:19:52 2026 +0000

  108.     rtmutex: Use waiter::task instead of current in remove_waiter()

  109.     remove_waiter() is used by the slowlock paths, but it is also used for proxy-lock rollback in rt_mutex_start_proxy_lock() when invoked from futex_requeue().
  110.     In the latter case waiter::task is not current, but remove_waiter() operates on current for the dequeue operation.

  111.     That results in several problems:
  112.     1) the rbtree dequeue happens without waiter::task::pi_lock being held
  113.     2) the waiter task's pi_blocked_on state is not cleared, which leaves a dangling pointer primed for UAF around.
  114.     3) rt_mutex_adjust_prio_chain() operates on the wrong top priority waiter task Use waiter::task instead of current in all related operations in remove_waiter() to cure those problems.

  115.     [ tglx: Fixup rt_mutex_adjust_prio_chain(), add a comment and amend the changelog ]
  116.     Fixes: 8161239a8bcc ("rtmutex: Simplify PI algorithm and make highest prio task get lock")

  117.     Reported-by: Yuan Tan <yuantan098@gmail.com>
  118.     Reported-by: Yifan Wu <yifanwucs@gmail.com>
  119.     Reported-by: Juefei Pu <tomapufckgml@gmail.com>
  120.     Reported-by: Xin Liu <bird@lzu.edu.cn>
  121.     Signed-off-by: Keenan Dong <keenanat2000@gmail.com>
  122.     Signed-off-by: Thomas Gleixner <tglx@kernel.org>
  123.     Cc: stable@vger.kernel.org

  124. commit 6819901f6d7717d081c81faa1aa95361861b020b
  125. Author: dirt2022 <fk186@qq.com>
  126. Date:   Sat Jul 4 13:31:40 2026 +0000

  127.     Chores: fix warnings.

  128.     Using bit operations instead of directly assigning values to Boolean variables to avoid warnings from clang.

  129.     Here is the warning:
  130.     warning: implicit truncation from 'int' to a one-bit
  131.     wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]

  132. commit a3361d7c6c4938c3e139a92500806da9e65db37d
  133. Author: dirt2022 <fk186@qq.com>
  134. Date:   Thu Jul 2 08:40:26 2026 +0000

  135.     Add: A common .gitignore, with "build/", "out/" directory included.

  136. commit baba01f5ba6f9d80014375bdf3d2ee4c07df76e9
  137. Author: dirt2022 <fk186@qq.com>
  138. Date:   Thu Jul 2 08:18:07 2026 +0000

  139.     Initial commit.
  140.     Cloned and rebased from: https://github.com/wcedla/android_kernel_xiaomi_ucmi

  141.     Try to support pipa (Mi Pad 6, shipped with MIUI, not hyperos).

  142.     Add missing device tree.

  143.     Let Mihw, millet, perfevents and these xiaomi specific features not pollute the kernel.

  144.     Remove Github CI Action files of this repo.
复制代码





发表于 2026-8-25 21:39:30 来自手机 | 显示全部楼层
我想弱弱地问一句,lxc是什么?我光猫里有这个。

点评

linux容器  详情 回复 发表于 2026-8-25 21:49
回复

使用道具 举报

 楼主| 发表于 2026-8-25 21:45:28 | 显示全部楼层
二楼发启动日志, 容器秒开
..../root/android_kernel_xiaomi_pipa # lxc-start -n mycontainer -F
Failed to find module 'autofs4'
Failed to find module 'unix'
systemd 257.13-1~deb13u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +BTF -XKBCOMMON -UTMP +SYSVINIT +LIBARCHIVE)
Detected virtualization lxc.
Detected architecture arm64.
Warning! Reported kernel version 4.19.157-perf-gd204418f93b6 is older than systemd's required baseline kernel version 5.4. Your mileage may vary.

Welcome to Debian GNU/Linux 13 (trixie)!

bpf-restrict-fs: BPF LSM hook not enabled in the kernel, BPF LSM not supported.
Queued start job for default target graphical.target.
[  OK  ] Created slice system-getty.slice - Slice /system/getty.
[  OK  ] Created slice system-modprobe.slice - Slice /system/modprobe.
[  OK  ] Created slice user.slice - User and Session Slice.
[  OK  ] Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[  OK  ] Reached target cryptsetup.target - Local Encrypted Volumes.
[  OK  ] Reached target integritysetup.target - Local Integrity Protected Volumes.
[  OK  ] Reached target paths.target - Path Units.
[  OK  ] Reached target remote-fs.target - Remote File Systems.
[  OK  ] Reached target slices.target - Slice Units.
[  OK  ] Reached target swap.target - Swaps.
[  OK  ] Reached target veritysetup.target - Local Verity Protected Volumes.
[  OK  ] Listening on systemd-creds.socket - Credential Encryption/Decryption.
[  OK  ] Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[  OK  ] Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[  OK  ] Listening on systemd-journald.socket - Journal Sockets.
         Mounting run-lock.mount - Legacy Locks Directory /run/lock...
tmp.mount: Directory /tmp to mount over is not empty, mounting anyway.
         Mounting tmp.mount - Temporary Directory /tmp...
         Starting modprobe@configfs.service - Load Kernel Module configfs...
         Starting modprobe@drm.service - Load Kernel Module drm...
         Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
         Starting modprobe@fuse.service - Load Kernel Module fuse...
systemd-journald.service: bpf-firewall: Attaching egress BPF program to cgroup /sys/fs/cgroup/unified/system.slice/systemd-journald.service failed: Operation not permitted
         Starting systemd-journald.service - Journal Service...
modprobe@efi_pstore.service: Unable to locate executable '/sbin/modprobe': No such file or directory
modprobe@drm.service: Unable to locate executable '/sbin/modprobe': No such file or directory
modprobe@fuse.service: Unable to locate executable '/sbin/modprobe': No such file or directory
         Starting systemd-modules-load.service - Load Kernel Modules...
         Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
modprobe@configfs.service: Unable to locate executable '/sbin/modprobe': No such file or directory
         Starting systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully...
modprobe@configfs.service: Deactivated successfully.
[  OK  ] Finished modprobe@configfs.service - Load Kernel Module configfs.
modprobe@drm.service: Deactivated successfully.
[  OK  ] Finished modprobe@drm.service - Load Kernel Module drm.
modprobe@efi_pstore.service: Deactivated successfully.
[  OK  ] Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
modprobe@fuse.service: Deactivated successfully.
[  OK  ] Finished modprobe@fuse.service - Load Kernel Module fuse.
         Mounting sys-fs-fuse-connections.mount - FUSE Control File System...
         Mounting sys-kernel-config.mount - Kernel Configuration File System...
[  OK  ] Mounted run-lock.mount - Legacy Locks Directory /run/lock.
[  OK  ] Mounted tmp.mount - Temporary Directory /tmp.
[  OK  ] Finished systemd-modules-load.service - Load Kernel Modules.
[  OK  ] Finished systemd-remount-fs.service - Remount Root and Kernel File Systems.
[  OK  ] Mounted sys-fs-fuse-connections.mount - FUSE Control File System.
         Starting systemd-sysctl.service - Apply Kernel Variables...
[  OK  ] Mounted sys-kernel-config.mount - Kernel Configuration File System.
[  OK  ] Started systemd-journald.service - Journal Service.
[  OK  ] Finished systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully.
         Starting systemd-journal-flush.service - Flush Journal to Persistent Storage...
[  OK  ] Reached target time-set.target - System Time Set.
         Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev...
[  OK  ] Finished systemd-sysctl.service - Apply Kernel Variables.
[  OK  ] Finished systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev.
[  OK  ] Reached target local-fs-pre.target - Preparation for Local File Systems.
[  OK  ] Reached target local-fs.target - Local File Systems.
[  OK  ] Listening on systemd-sysext.socket - System Extension Image Management.
[  OK  ] Finished systemd-journal-flush.service - Flush Journal to Persistent Storage.
         Starting systemd-tmpfiles-setup.service - Create System Files and Directories...
[  OK  ] Finished systemd-tmpfiles-setup.service - Create System Files and Directories.
[  OK  ] Reached target sysinit.target - System Initialization.
[  OK  ] Started apt-daily.timer - Daily apt download activities.
[  OK  ] Started apt-daily-upgrade.timer - Daily apt upgrade and clean activities.
[  OK  ] Started dpkg-db-backup.timer - Daily dpkg database backup timer.
[  OK  ] Started systemd-tmpfiles-clean.timer - Daily Cleanup of Temporary Directories.
[  OK  ] Reached target timers.target - Timer Units.
[  OK  ] Listening on dbus.socket - D-Bus System Message Bus Socket.
[  OK  ] Listening on sshd-unix-local.socket - OpenSSH Server Socket (systemd-ssh-generator, AF_UNIX Local).
[  OK  ] Listening on systemd-hostnamed.socket - Hostname Service Socket.
[  OK  ] Reached target sockets.target - Socket Units.
[  OK  ] Reached target basic.target - Basic System.
         Starting dbus.service - D-Bus System Message Bus...
         Starting ssh.service - OpenBSD Secure Shell server...
         Starting systemd-logind.service - User Login Management...
         Starting systemd-user-sessions.service - Permit User Sessions...
         Starting dpkg-db-backup.service - Daily dpkg database backup service...
[  OK  ] Finished systemd-user-sessions.service - Permit User Sessions.
[  OK  ] Started console-getty.service - Console Getty.
[  OK  ] Reached target getty.target - Login Prompts.
[  OK  ] Started dbus.service - D-Bus System Message Bus.
[  OK  ] Started systemd-logind.service - User Login Management.
[  OK  ] Started ssh.service - OpenBSD Secure Shell server.
[  OK  ] Reached target multi-user.target - Multi-User System.
[  OK  ] Reached target graphical.target - Graphical Interface.
[  OK  ] Finished dpkg-db-backup.service - Daily dpkg database backup service.

Debian GNU/Linux 13 localhost console

localhost login:

点评

4.19( 我的主力机也是4.19,导致没法跑droidspace官方的Archlinux ARM(新版本systemd抛弃了5.10以下的旧内核)  详情 回复 发表于 2026-8-26 01:23
回复

使用道具 举报

发表于 2026-8-25 21:49:57 | 显示全部楼层
本帖最后由 fkltd-123 于 2026-8-25 22:05 编辑
ctx 发表于 2026-8-25 21:39
我想弱弱地问一句,lxc是什么?我光猫里有这个。

linux容器
lxc
玩podman呗
https://github.com/containers/podman-py/releases
回复

使用道具 举报

发表于 2026-8-25 21:50:45 | 显示全部楼层
了解一下。
回复

使用道具 举报

发表于 2026-8-25 21:53:04 | 显示全部楼层
一个汉奸品牌的机子,扔了吧。
回复

使用道具 举报

 楼主| 发表于 2026-8-25 22:01:23 | 显示全部楼层
fkltd-123 发表于 2026-8-25 21:57
楼上,说白手套
字研xx,首发搞通

技术贴,请不要打扰,谢谢.
回复

使用道具 举报

发表于 2026-8-25 22:14:31 | 显示全部楼层
看看楼主的技术贴,学习一下
回复

使用道具 举报

发表于 2026-8-25 22:18:14 | 显示全部楼层
了解一下
回复

使用道具 举报

发表于 2026-8-25 22:30:46 | 显示全部楼层
了解一下
回复

使用道具 举报

发表于 2026-8-25 23:35:29 | 显示全部楼层
技术贴,必须支持
回复

使用道具 举报

发表于 2026-8-25 23:59:13 来自手机 | 显示全部楼层
感谢分享
回复

使用道具 举报

发表于 2026-8-26 01:23:59 | 显示全部楼层
winpefk 发表于 2026-8-25 21:45
二楼发启动日志, 容器秒开
..../root/android_kernel_xiaomi_pipa # lxc-start -n mycontainer -F
Failed t ...

4.19(
我的主力机也是4.19,导致没法跑droidspace官方的Archlinux ARM(新版本systemd抛弃了5.10以下的旧内核)

点评

没事,也就是一些高级功能缺失而已,并不会造成容器拒绝启动  详情 回复 发表于 7 天前
还有,我估计也就是抱怨一下而已, 估计不会直接拒绝运行 另外,开nftables重新编译一下内核,估计还能顶一会儿  详情 回复 发表于 2026-8-26 08:00
可以试图看一下能不能pmOS+android dualboo  详情 回复 发表于 2026-8-26 07:51
回复

使用道具 举报

发表于 2026-8-26 06:18:46 | 显示全部楼层
不一定那天会用到!
回复

使用道具 举报

发表于 2026-8-26 06:58:58 | 显示全部楼层
回复

使用道具 举报

发表于 2026-8-26 07:01:23 | 显示全部楼层
学习学习
回复

使用道具 举报

 楼主| 发表于 2026-8-26 07:51:08 来自手机 | 显示全部楼层
hzyry2046 发表于 2026-8-26 01:23
4.19(
我的主力机也是4.19,导致没法跑droidspace官方的Archlinux ARM(新版本systemd抛弃了5.10以下的 ...

可以试图看一下能不能pmOS+android dualboo

点评

没pmOS的树( 同族设备的树wiki上面标记是不开机的状态  详情 回复 发表于 2026-8-27 21:39
回复

使用道具 举报

 楼主| 发表于 2026-8-26 08:00:15 来自手机 | 显示全部楼层
本帖最后由 winpefk 于 2026-8-26 08:17 编辑
hzyry2046 发表于 2026-8-26 01:23
4.19(
我的主力机也是4.19,导致没法跑droidspace官方的Archlinux ARM(新版本systemd抛弃了5.10以下的 ...

还有,我估计也就是抱怨一下而已, 估计不会直接拒绝运行
另外,开nftables重新编译一下内核,估计还能顶一会儿
systemd core/src/main.c 2630:
                if (strverscmp_improved(uts.release, KERNEL_BASELINE_VERSION) < 0)
                        log_warning("Warning! Reported kernel version %s is older than systemd's required baseline kernel version %s. "
                                    "Your mileage may vary.", uts.release, KERNEL_BASELINE_VERSION);
                else
                        log_debug("Kernel version %s, our baseline is %s", uts.release, KERNEL_BASELINE_VERSION);

                break; // 跳出上层switch()判断
        }

所以其实是不会退出的,只不过一个warning烦人一点而已
回复

使用道具 举报

发表于 2026-8-26 08:11:39 来自手机 | 显示全部楼层
技术贴 学习一下
回复

使用道具 举报

发表于 2026-8-26 08:14:21 | 显示全部楼层
进来学习的
回复

使用道具 举报

发表于 2026-8-26 08:49:35 | 显示全部楼层
感谢分享
回复

使用道具 举报

发表于 2026-8-26 08:50:39 | 显示全部楼层
没有接触过,学习了。
回复

使用道具 举报

发表于 2026-8-26 09:27:17 | 显示全部楼层
路过,没看懂
回复

使用道具 举报

发表于 2026-8-26 10:01:13 | 显示全部楼层
感谢楼主的提供思路
回复

使用道具 举报

发表于 2026-8-26 10:08:33 | 显示全部楼层
路过学习一下
回复

使用道具 举报

发表于 2026-8-26 10:39:55 来自手机 | 显示全部楼层
谢谢分享
回复

使用道具 举报

发表于 2026-8-26 10:55:27 | 显示全部楼层
感谢分享
回复

使用道具 举报

发表于 2026-8-26 11:29:41 | 显示全部楼层
进来了解下
回复

使用道具 举报

发表于 2026-8-26 12:33:14 | 显示全部楼层
太专业了,看不懂
回复

使用道具 举报

发表于 2026-8-26 16:50:14 | 显示全部楼层
强啊实力
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1|闽公网安备35020302032614号 )

GMT+8, 2026-9-5 23:04

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表