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
Ben Wilson
dfda6f9168
Fix typo with SUDO
4 years ago
Ben Wilson
142a3ba7b8
Remove duplicate clean
4 years ago
Ben Wilson
360ee78992
Fix formatting
4 years ago
Ben Wilson
d6dadb2c18
Add --clean option
4 years ago
Ben Wilson
6349d72df7
Ignore more traces of build output
4 years ago
Ben Wilson
d2b4645fb4
Log all commands
...
run_and_log doesn't like redirects, but I don't think thats an issue
4 years ago
Ben Wilson
305b60606f
Add failure checks
4 years ago
Ben Wilson
72ef3152a2
Force overwrite - happens with installer anyway
4 years ago