Hi,
Some good news, I tested:
1) Build my unofficial DVD set (17 DVDs), and merge them using the merge
script on my Debian machine.
2) Build my unofficial DLBD set (2 DLBDs), and merge them using the
merge script on my Debian machine.
3) Merge 2 DLBDs using the merge script under a Alpine Linux environment
(everything is almost busybox).
4) Run d-i cdrom-check on merged.iso from 1), 2), and 3).
5) Do fresh install into virtual machine, then install random packages
selected from {SOME-ISO-NAME}.list.gz .
These experiments all succeeded. Thank you very much! Good Job! :)
On 2022/6/24 00:53, Thomas Schmitt wrote:
Run time for an All-in-one ISO is estimated about 6 to 7 times the time
of DVD-1+2+3.
So i expect ~230 seconds for full MD5 regeneration, ~ 50 seconds for
a loop that runs on dash, and ~6 seconds with a bashism.
For now i decided to take the 50 seconds with dash.
I think runtime is not a issue, 50 seconds is totally acceptable. But if
you really want to reduce runtime I would suggest using `sort -s -u -k 2
merged_md5sum.txt' instead of processing each line by hand. By using
stable sort (`-s') and unique (`-u'), only first record of duplicate set
will be output. So as long as md5sum.txt in Disc1 comes first, it will
definitely in final result. I saw there are some other logic to process
md5 records from different group of files, so we can use `grep' and
`grep -v' to split them, process them separately, then merge them
finally. Unfortunately the option `-s' of `sort' is not standard
(although widely accepted), and BusyBox has bugs about it and must use
`sort -s -k 2 | uniq -f 1' to workaround (Link:
https://bugs.busybox.net/show_bug.cgi?id=14871).
Thank you again :)
Best Regards,
Zhang Boyang