This is a temporary fix to be able to build fixed netinst
images for 2021.3 but in the long term, we need to move the
firmware dependencies to a dedicated package to avoid that kind
of issue.
Relates to #36.
We recently switched from DVD to BD (Bluray Disc) because the image
didn't fit in a single layer DVD anymore and that changed broke
a further check enabling the offline logic.
« XRDP is what enables Hyper-V's Enhanced session mode. It also enables
Hyper-V to automatically connect via RDP, which is what fixes input
lag/allows simpler window resizing/shared clipboard. »
Big thanks to @jetbennett for the detailed report. For more context:
https://gitlab.com/kalilinux/build-scripts/live-build-config/-/issues/32#note_645975695Fixes: #33
This is the only line that requires curl. Other than that, Live Build
already depends on wget (through debootstrap), so let's use it as it's
already a requirement.
On a Debian unstable system, the file `/etc/debian_version` contains
only `11.0`, so the script `build.sh` gives me this kind of log:
OS: 11.0
Not super informative. However the file `/usr/lib/os-release` provides
more details, and by using it we can get the following log:
OS: Debian GNU/Linux 11 (bullseye)
For a Kali system:
OS: Kali GNU/Linux 2021.2
The DVD size limit has been reached and the build currently fails due to
this. We don't really want to burn DVD as ISO images are written on USB
keys and the exact size doesn't really matter for use in virtual
machines. So let's instruct debian-cd to build a bluray image so that
we no longer are annoyed with the size limit.
At least everywhere where we can end up with the output of "pwd"
in the variable so that we don't break when some directory has
spaces or other unusual characters in it.
This reverts commit d2b4645fb4.
Initial commit said “run_and_log doesn't like redirects, but I don't
think thats an issue” but it is a real issue when the whole point of the
command is to modify/overwrite a file with a redirection.
Keep only run_and_log for the final file moves.