Xfburn now working in EasyOS
This has been a headache. Brasero is the same. They use udev to identify the optical drive; except they don't. Xfburn displays "No burners are currently available" at startup.
Googling, there are thousands of reports about this. The only fix that seems to work is to create a udev rule hard-coded for the serial-number of the optical drive, for example reported here:
https://forums.linuxmint.com/viewtopic.php?t=366884
There is some little difference in the udev rules, or so it
seems, in EasyOS compared with say a stock Debian, that is causing
this break. Well, except that this problem is being reported in
the mainstream distros, such as Mint.
The guys on the forum alerted me to this problem:
https://forum.puppylinux.com/viewtopic.php?t=16759
It is very easy to find the optical drive, it is always at /dev/sr0 or /dev/sr1. So why do these apps introduce complications that break them?
I found a solution; xfburn has a compile option to not used udev. Thank goodness they have kept that option. My guess is that would be older code, that probes /dev/sr0 and /dev/sr1 directly. Yes, it works; I blanked a DVD-RW, then wrote a .iso to it.
woofQ2, the build system for EasyOS, has a mechanism to substitute one's own .deb for the official one; I reported on this mechanism awhile ago:
https://bkhome.org/news/202511/fix-for-cpp-and-gcc-pulled-into-easysfs.html
Did the same thing for xfburn:
# apt-get download xfburn
Get:1 http://pkgmaster.devuan.org/merged excalibur/main amd64 xfburn amd64 0.7.2-1 [428 kB]
Fetched 428 kB in 3s (157 kB/s)
W: Download is performed unsandboxed as root as file '/mnt/sda2/downloads/downloads3/input694/0-xfburn/xfburn_0.7.2-1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
#
# dpkg-deb -x xfburn_0.7.2-1_amd64.deb extract1
# dpkg-deb --control xfburn_0.7.2-1_amd64.deb extract1/DEBIAN
#
# dpkg -b extract1 xfburn_999.0_amd64.deb
dpkg-deb: building package 'xfburn' in 'xfburn_999.0_amd64.deb'.
When it was opened up in 'extract1', edited the 'DEBIAN/control' file and changed the version to "9:999.0". Also replaced all of the 'usr' folder with my compiled xfburn, and a custom usr/share/applications/xfburn.desktop
In woofQ2, this new .deb went into woofq2/builtin/deb-local. The 'xfburn_999.0_amd64.deb' has the same dependencies as the original, and woofQ2 will find those in the Devuan repository.
Note, if you would like to use my xfburn .deb in your distro, it
will be inside the woofQ2 tarball at next upload. For EasyOS, it
will be builtin in the next release.
Tags: easy