Repository navigation
Conversation
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
In UKI mode with an existing BOOT partition, the partition was being moved to a new location in step 5 (to make room for expanded EFI), but the boot partition content was never copied because copy_partitions() skipped boot partition handling entirely in UKI mode. Now copy the boot partition from source-read in UKI mode when boot_part_exist=true, just like in GRUB mode.
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
…ce.sh
- SC2086/SC1012: dpkg-query format string uses ${dpkg-Package} and \n
which are intentionally not expanded by shell (interpreted by dpkg-query)
- SC2016: add_run_cmd argument is a script to be executed later, variables
should not be expanded at definition time
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
…ainers os-prober scans all devices and fails with 'Device or resource busy' errors when running inside Docker containers with NBD devices. This causes grub2-mkconfig to fail to find kernel images, resulting in grub.cfg without menuentry sections. Disable os-prober by setting GRUB_DISABLE_OS_PROBER=true before running grub2-mkconfig, similar to how DEB workflow handles it.
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
Step 9 now chroots the source-write snapshot with /boot and /boot/efi mounted from the output partitions, so the generated initrd and UKI land directly on the output image while the rootfs, already verity-formatted from source-read, stays untouched. The read-only compat flag set during shrink is cleared on the snapshot before mounting it rw. setup_chroot_mounts gains optional boot/EFI override arguments because the boot_part and efi_part globals still point at the source-mod NBD, which is disconnected in step 5. Step 10 tears down dm targets under the output device (the LVs now live there), flushes buffers on the output, source-read and source-write devices, then disconnects all three NBDs with nbd_disconnect_and_wait so the build file lock is released before any image operation. The same retarget applies to the dm-remove hooks and the step 8 teardown, which referenced the stale source device. Step 11 renames the build qcow2 into place for qcow2 output and converts it to vpc for VHD output, restoring the VHD path PR #110 dropped, and a guard fails the run when no output file was produced. Assisted-by: Claude Code:qwen3.8-flash[1M] Signed-off-by: Kun Lai <laikun@linux.alibaba.com>
Summary
rootfs.imgfile and finalqemu-img convertstep with a qcow2 overlay/snapshot architecture, reducing full rootfs copies from 3 → 1source-mod), then forked into two independent snapshots (source-readfor verity hash,source-writefor dracut initrd generation)--device/operate_on_devicesupport: deprecate in-place device conversion in favor of file-based (--in/--out) onlyrpm -qoutputs error to stdout on uninstalled packages, which was captured as the version stringboot_partvariable when source has no separate boot partition--wipe-freed-spaceoption (no longer needed with qcow2 overlay architecture)Test plan