Package: bootcd
Version: 4.04
Severity: normal
Tags: upstream patch
Dear Maintainer,
"bootcd" appears to rely, but not depend, on the "isolinux" package:
root@nb150:~# bootcdwrite
[...]
--- Building Modifications ---
cp: cannot stat '/usr/lib/syslinux/isolinux.bin': No such file or directory
Please consider specifying this requirement among the package dependences.
Upon manual installation via:
root@nb150:~# apt-get install isolinux
.... it is possible to proceed a step further with bootcd, but the directory
name where it looks for the "isolinux.bin" file appears wrongly in uppercase
letters:
[...]
cp: cannot stat '/usr/lib/syslinux/isolinux.bin': No such file or directory
exit=1
--- OUTPUT from <cp /usr/lib/syslinux/isolinux.bin
//var/spool/bootcd/changes/isolinux> ---
cp: cannot stat '/usr/lib/syslinux/isolinux.bin': No such file or directory
A temporary fix is to symlink it:
root@nb150:~# ln -s /usr/lib/ISOLINUX/isolinux.bin
/usr/lib/syslinux/isolinux.bin
Finally, please consider deploying the attached patch for improved performances
on SMP systems. It parses the number of parallel threads that the local CPU can
support, and deploys mkzftree accordingly via its "-p" option.
Many thanks,
--
Alberto.
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: jessie/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14.15-rt9 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bootcd depends on:
ii aufs-tools 1:3.2+20130722-1.1
ii busybox 1:1.22.0-8
ii cpio 2.11+dfsg-2
ii dosfstools 3.0.26-3
ii fdutils 5.5-20060227-7
ii file 1:5.19-1
ii genisoimage 9:1.1.11-3
ii initramfs-tools 0.116
ii realpath 1.19
ii syslinux 3:6.03~pre18+dfsg-1
Versions of packages bootcd recommends:
ii wodim 9:1.1.11-3
Versions of packages bootcd suggests:
ii discover 2.1.2-7
pn elilo <none>
ii ssh 1:6.6p1-7
-- no debconf information
468a469,473
> # Determine the number of threads on a SMP system:
> MAX_NUM_THREADS=$(lscpu -p | grep -v "#" | wc -l)
>
> echo "The local CPU appears to support " ${MAX_NUM_THREADS} "parallel
> compression threads while compressing."
>
471c476
< run "rm -rf $VAR/compressed_dir; mkzftree $VAR/input_dir
$VAR/compressed_dir"
---
> run "rm -rf $VAR/compressed_dir; mkzftree -p $MAX_NUM_THREADS
> $VAR/input_dir $VAR/compressed_dir"