Commit Graph

81 Commits (bb399b8bf63635f53d2ab546f41d1924a5c84467)

Author SHA1 Message Date
Daniel Ruiz de Alegría bb399b8bf6
Update script to copy grub theme to installer iso 3 years ago
Arnaud Rebillout 9a252cc2d9
Indent nitpick 3 years ago
g0t mi1k 6d475a2833 Add --help 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
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 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
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
Ben Wilson 4b6aa7a76d Symlink to live file, rather than copying (we do it with preseed anyway) 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 665bb3af6f Delete duplicate files and move to consistent naming location 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 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
Ben Wilson e48e8826b6 Add OS check 4 years ago
Ben Wilson 85cad5075b Fix number typo 4 years ago
Ben Wilson d74576cccb Swap spaces for tabs 4 years ago
Ben 60ef618b2a Bash formatting 4 years ago
Ben 5f61581bc2 Debug output 4 years ago
Ben ca00ef5564 Spaces to tabs 4 years ago
Ben 0304a6f02e Switch around ordering to match live image 4 years ago
Ben 375693311b Add error check for IMAGE_TYPE 4 years ago
Ben 39747af093 Add --debug & --live arguments 4 years ago
Ben 93c9188c34 Swap spaces for tabs
To make it more consistent
4 years ago
Ben de6a0ee0d1 Space out commands a bit more 4 years ago
Ben 305d006cb6 Add comments to build.sh 4 years ago
Raphaël Hertzog 9bc29959fc
Drop the check on the host architecture when you build installer images
The installer images can be built on any architecture.
4 years ago
Raphaël Hertzog af6111b2f9
Indentation fixes 4 years ago
Steev Klimaszewski 87ab0c95ac Move arm64 changes into auto/config instead of in build.sh
Signed-off-by: Steev Klimaszewski <steev@kali.org>
4 years ago
Steev Klimaszewski 043f2fe798 Ensure grub is on the iso for arm64
Signed-off-by: Steev Klimaszewski <steev@kali.org>
4 years ago
Steev Klimaszewski 69b9412be6 ARM64 fixes for UEFI and bootloader setting.
Export the bootloader so we don't attempt to install syslinux/patch isolinux which fails on arm64.

Also pass disable to uefi-secure-boot as we don't currently support it.

Signed-off-by: Steev Klimaszewski <steev@kali.org>
4 years ago
Steev Klimaszewski 817f168d8c Inital arm64 work 4 years ago
Raphaël Hertzog 897caba82b
Use the same kali-finish-install script in live and installer images
This ensures that we do the same set of customizations whatever way
Kali is installed.
4 years ago
Raphaël Hertzog 1826d94737 Ensure tasksel is included in installer images 5 years ago
Raphaël Hertzog d8a34f1df3 Make installer images really separate and change default installer image
The default installer image now includes the packages for all the
options available in tasksel during initial installation, so all
the kali-linux-* except kali-linux-everything and most of the
kali-desktop-*.
5 years ago
Raphaël Hertzog d789b34160 Drop the -f option in the mv call
It hides the error message when the file is missing.  And even without -f,
by default, there's no prompt about overwriting files.
5 years ago
Raphaël Hertzog 36bafa26b4 Fix path of installer image for non-default non-netinst images 5 years ago
Raphaël Hertzog 40ebd62591 Rename the live images to kali-linux-VERSION-live-VARIANT-ARCH.iso 5 years ago