Commit Graph

447 Commits (fad74bec02a1588b67401c8f0b56353a464f509b)
 

Author SHA1 Message Date
Raphaël Hertzog 1bddde91e9
kali-linux-headless is the package depending on firmwares
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.
4 years ago
Raphaël Hertzog 69bf2252e4
Enable offline installation for all images except NETINST
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.
4 years ago
Arnaud Rebillout 1458b05c8e
Install xrdp
« 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_645975695

Fixes: #33
4 years ago
Raphaël Hertzog d6fadc55dc
Add "everything" variant for the installer image
It's easy to do but the resulting image is not so useful so we will
likely not generate it.
4 years ago
Raphaël Hertzog 3991285477
Clarify that this file only lists packages made available
The packages listed here are not automatically installed. The end users
select what to install dynamically through tasksel.
4 years ago
Raphaël Hertzog f50c8a35ca
Add the "everything" variant for the live image 4 years ago
Arnaud Rebillout 499cc3a3dc
Whitespace typo 4 years ago
Arnaud Rebillout 5667da24fc
Also install xserver-xorg-input-all explicitly
For the complete explanation, refer to:
https://gitlab.com/kalilinux/build-scripts/live-build-config/-/issues/32
4 years ago
Arnaud Rebillout 623576629a
Move xserver-xorg-video-all in firmware.list, rename it to hardware-support.list 4 years ago
Arnaud Rebillout f7ecc1411c Merge branch 'install-virt-pkgs' into 'master'
Install packages for virtualization support in the live image

See merge request kalilinux/build-scripts/live-build-config!15
4 years ago
Arnaud Rebillout b7e23058ed
Use wget in place of curl
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.
4 years ago
Arnaud Rebillout b5de1c0c3f
Make sure to install xserver-xorg-video-all 4 years ago
Arnaud Rebillout 71d6357806
Install packages for virtualization support in the live image 4 years ago
Arnaud Rebillout 88e5ec963b
Favor os-release over debian_version, as it gives more details on the host OS
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
4 years ago
Arnaud Rebillout d8c4e39495
Add the kali user to the adm group
So that the kali user can run `journalctl` or read log files in
`/var/log`, without the need for sudo.

Fixes: #31
4 years ago
Raphaël Hertzog dbbf0c2b9e
Switch DISKTYPE to BD for Bluray Disk
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.
4 years ago
Steev Klimaszewski 7ffbec1d9c Merge branch 'fix-typo' into 'master'
Fix typo

See merge request kalilinux/build-scripts/live-build-config!13
4 years ago
Raphaël Hertzog 378de1e283
Protect some variable expansions with quotes
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.
4 years ago
Kevin Chevreuil - Kaisen 2859575880 Fix typo 4 years ago
Raphaël Hertzog 541e36278f
Drop -v switch on rm calls in clean()
They remove thousands of files and the output is overwhelming, moving
away any useful history out of the terminal history.
4 years ago
Raphaël Hertzog 7058d21c73
Ignore the images path, not only files below it
On my system, "images" is a symlink pointing to another directory and I
want to ignore that symlink too.
4 years ago
Raphaël Hertzog 5bdd0c4566
Revert "Log all commands"
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.
4 years ago
Raphaël Hertzog 46eb0991f4
Fix equality comparison with proper /bin/sh syntax 4 years ago
Raphaël Hertzog 7dd011be60
Re-add trailing spaces in preseed.cfg
Trailing spaces are meaningful, they are a separator between the type
of the field and the empty value that follows!
4 years ago
Raphaël Hertzog 6dcbf56610
Revert "Remove un-used default profile"
This reverts commit e695c81d1a.

The default profile is always enabled by simple-cdd and we want to
override it!
4 years ago
Raphaël Hertzog 80b754cf64
Fix indentation in setup_usergroups 4 years ago
Raphaël Hertzog 834f065072
Revert "Swap spaces for tabs to match other files"
This reverts commit c6b70bf355.
4 years ago
g0t mi1k aec5ad9a43 Remove clean up of live 4 years ago
g0t mi1k ae09606437 Add full path when deleting 4 years ago
g0t mi1k 49947646a4 Be verbose when deleting 4 years ago
g0t mi1k c6b70bf355 Swap spaces for tabs to match other files 4 years ago
g0t mi1k 71f3cbaef4 Update path location 4 years ago
g0t mi1k 15d9b060bc Merge branch 'misc' into 'master'
Consistencies between installer and live images

See merge request kalilinux/build-scripts/live-build-config!12
4 years ago
Ben Wilson 30ba4008a7 Remove un-used file
"Start installer with speech synthesis"
4 years ago
Ben Wilson 42df63a41d Live image text to match installer image 4 years ago
Ben Wilson cd665ff03d Comments where items are used (live images) 4 years ago
Ben Wilson 3630d2bea5 Remove un-used line 4 years ago
Ben Wilson 4b6aa7a76d Symlink to live file, rather than copying (we do it with preseed anyway) 4 years ago
Ben Wilson e695c81d1a Remove un-used default profile 4 years ago
Ben Wilson d1ad9e1ea2 Remove empty folders 4 years ago
Ben Wilson d007e371ec Fix formatting 4 years ago
Ben Wilson c00a132d10 Remove trailing spaces 4 years ago
Ben Wilson c78ef580bc Add shorthand support for arch 4 years ago
Ben Wilson 0bf7ea3728 Fix number typo 4 years ago
Ben Wilson c4c1d7e86d Move to new home 4 years ago
Ben Wilson dc7099cf0c Don't track these files as they will be overwritten during build 4 years ago
Ben Wilson 665bb3af6f Delete duplicate files and move to consistent naming location 4 years ago
Ben Wilson f4e3de7a1d Fix formatting to make it easier to read 4 years ago
Ben Wilson db5e3cfd2d Fix issue if folder wasn't yet there (fresh run) 4 years ago
Ben Wilson fadc99ef88 Group defining variables together 4 years ago