Commit Graph

470 Commits (59023ecfce2ad49074e145a3c4862a16b6345d5a)
 

Author SHA1 Message Date
Ben 2854f83f2f Make consistent for desktop environment live images 4 years ago
Ben e470475f02 Update default generated files 4 years ago
Raphaël Hertzog 23b9b7b1b2 Merge branch 'wireshark-group' into 'master'
Make sure that the wireshark group exists

See merge request kalilinux/build-scripts/live-build-config!11
4 years ago
Arnaud Rebillout b7e6996a5d Make sure that the wireshark group exists
This it to be consistent with bin/kali-finish-install, where we also
create the wireshark group.
4 years ago
Steev Klimaszewski 11dfdae854
Install wireshark setuid
This installs wireshark setuid and also adds the kali (or user chosen during installation) to the wireshark group.
4 years ago
Raphaël Hertzog 05baf250ab
Force inclusion of unrar in the installer ISO 4 years ago
Raphaël Hertzog 86fbb065f0 Merge branch 'master' into 'master'
kali-user-setup: Add kali user to dialout group

See merge request kalilinux/build-scripts/live-build-config!8
4 years ago
Steev Klimaszewski 5bc39dd148 kali-user-setup: Add kali user to dialout group
This adds the kali user to the dialout group for serial port access on live images as well.
4 years ago
Raphaël Hertzog 45da7f75b5 Merge branch 'master' into 'master'
kali-finish-install: Add kali user to dialout group

See merge request kalilinux/build-scripts/live-build-config!7
4 years ago
Steev Klimaszewski 3544cf1c30 kali-finish-install: Add kali user to dialout group
This does away with the kaboxer specific setup that was just adding the kali user to the kaboxer group.  And make it a bit easier to add the user to multiple groups if we decide we want to add them to more in the future.
4 years ago
Raphaël Hertzog 1205bf686f
Pass "net.ifnames=0" to the kernel command line of the installer images
We want debian-installer to see "ethX" device names and not the
other names that we have disabled via kali-defaults anyway. That
discrepancy even breaks networking for minimal installations
where /etc/network/interfaces gets the wrong name.
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 f3a8a2d472
Make it easy to include local packages in the generated installer images 4 years ago
Raphaël Hertzog ef71f0e3e9
Check that files that we want to update do exist
On arm64 the set of available files is different because we don't use
isolinux and win32-loader.
4 years ago
Raphaël Hertzog 71ee6a3001
Group arm64 specific overrides in the same if statement 4 years ago
Raphaël Hertzog af6111b2f9
Indentation fixes 4 years ago
Steev Klimaszewski 0a7628f35b Fix missing close
Signed-off-by: Steev Klimaszewski <steev@kali.org>
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 319e6a39db Don't actually pass a hostname
This causes the install to fail.

Signed-off-by: Steev Klimaszewski <steev@kali.org>
4 years ago
Steev Klimaszewski 2d9668a335 Export a default console for arm64
Signed-off-by: Steev Klimaszewski <steev@kali.org>
4 years ago
Steev Klimaszewski 817f168d8c Inital arm64 work 4 years ago
Raphaël Hertzog 426ea9ff6d
Don't try to put on hold non-installed packages
Fixes #24
4 years ago
g0t mi1k e0dc0da671 Fix dead links 4 years ago
Raphaël Hertzog df945dd71b
Don't tweak the SSH config if persistence is enabled
And also ensure we run the initial configuration only once so that
the user can override our initial changes.

Fixes #22
4 years ago
Raphaël Hertzog 5989ec37de
Also set zsh by default for the root user 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 208c080989
Ensure initial user is part of kaboxer group 4 years ago
Raphaël Hertzog 7ec405792b
Enable zsh by default 4 years ago
Raphaël Hertzog cfd250bcab Merge branch 'release-retrieval-error-checking' into 'master'
Added error checking to the release retrieval step

See merge request kalilinux/build-scripts/live-build-config!5
5 years ago
cblack b924d8b810 Added error checking to the release retrieval step 5 years ago
Raphaël Hertzog 8c97080279
Use kali.download as default mirror for the build 5 years ago
Raphaël Hertzog ece604182c Merge branch 'master' into 'master'
Add comment about how to disable the boot beep

See merge request kalilinux/build-scripts/live-build-config!4
5 years ago
Steev Klimaszewski 76cd2ad701 Add comment about how to disable the boot beep 5 years ago
Raphaël Hertzog 962380d5d5 Use correct metapackage: kali-tools-top10 instead of kali-linux-top10
The latter is gone right now.
5 years ago
Raphaël Hertzog 1ee97cc44f Embed virtualization related packages in any offline image
This ensures that they can be installed by finish-install.d/08hw-detect
when virtualization is detected. Otherwise the lack of network breaks
this step.
5 years ago
Raphaël Hertzog 25d0c1004b live-installer: ensure sources.list is configured
By default, when you don't have any network or when you didn't enable
a network mirror, your sources.list is empty. We don't want this
so we hook into the finish-install step to make sure to set it up
if it's empty.
5 years ago
Raphaël Hertzog 830d863fa6 Change simple-cdd configuration to have full installer work offline
We move the default preseed to the kali profile so that the default
preseed can actually again enable simple-cdd-profiles that we need
because we want the other profiles to have their preseed and postinst
working (and they work through the script run when simple-cdd-profiles
is installed).

We add an offline profile that disables the network mirror (but not
the networking!) and we add a "postinst" script that is run in the
finish-install step to actually configure /etc/apt/sources.list that
is empty due to the preseed.
5 years ago
Raphaël Hertzog 7c3989f668 Add preseeding for atftpd so that it's started standalone
In theory, this change is not really needed here because the
package is not installed by d-i, it's already installed by live-build
in the live image. But I want this file to be consistent with the
version in debian-installer...
5 years ago
Raphaël Hertzog bd359f936d Drop the possibility to have custom configuration for each release
We don't make use of this at all.
5 years ago
Raphaël Hertzog 7cfe799267 Don't try to remove files from installer-* directories
Those are never copied into live-build's config directory and actually
the "packages" file is clashing with a "packages" directory which results
in a failure of the "rm -f" call.
5 years ago
Raphaël Hertzog efa2a2b697 Merge branch 'grubtheme' into 'master'
apply grub theme to submenus

See merge request kalilinux/build-scripts/live-build-config!3
5 years ago
Raphaël Hertzog 53f5e05f94 Merge branch 'speechsynth' into 'master'
speech synth improvements

See merge request kalilinux/build-scripts/live-build-config!2
5 years ago
Lyndon Brown 2a0d4fb7ea grub2: fix application of theme to submenus
the theme needs explicitly applying for submenus otherwise they are just
displayed with a default layout with a black background.

with the theme setting commands moved to a separate file, we can now
simply `source` that into each submenu.

this of course assumes that live-theme/theme.txt is suitable for submenus.
5 years ago
Lyndon Brown cce2cd88b6 grub2: split up grub.cfg
as done in upstream live-build MR #135.

the intention here is to prepare to fix application of the theme for submenus,
as addressed next.

we could accomplish that just by the theme.cfg portion of the split, but why
not do the config.cfg bit also now. this is similar to how syslinux is broken
up, and a part of the live-build MR #135 changes are to merge config/bootloader
files on top of the default set, rather than use them instead, thus
user/derivative configs only need to carry the bootloader files they actually
want to replace. breaking up grub.cfg helps towards this, so eventually kali
can drop carrying files that are identical to upstream ilve-build's.
5 years ago
Lyndon Brown 257c44add0 grub2: only add speech synth install entry if missing
live-build commit 24aab15d2a133075992ce3a216b1c3476dc7bd4c has added
generation of speech synth entries. this ensures that with the next
release of live-build, the kali one is not added as a duplicate.

we have to take a different approach here than for syslinux. the approach
relies upon an expectation that in the next live-build release the grub
config will include an install.cfg file containing install entries, like
syslinux, as a result of changes awaiting merge in MR #135 ([1]).

[1]: https://salsa.debian.org/live-team/live-build/-/merge_requests/135
5 years ago
Lyndon Brown 2e2ea5be15 isolinux: only add speech synth install entry if missing
live-build commit 24aab15d2a133075992ce3a216b1c3476dc7bd4c has added
generation of speech synth entries. this ensures that with the next
release of live-build, the kali one is not added as a duplicate.

note that live-build commit a25b77e0998ac455b48c8c523a08bd282229fb49
removes "video=vesa:ywrap,mtrr" from the entries it generates, so lack of
that is deliberate should you later compare the differences and wonder
about it.
5 years ago
Lyndon Brown 7df08dccf7 grub2: fix old kernel param delimiter in speech synth entry
ref: debian bug #775128

done in live-build auto-generated menu entries back in v5.0a3 for syslinux
(ba6b9adeff634845a9ab7cbd5218257a7aa254ab). was missing for grub entries
until a33938f8d47f23c23335ecf671b1db9afcd0b726 and
aadf8c4cacecc4664412c6bbc7b8e039e1dd772a.
5 years ago
Raphaël Hertzog 1826d94737 Ensure tasksel is included in installer images 5 years ago