Commit Graph

82 Commits (c00a132d10ce597d694da3c82eb82872583f8b3e)

Author SHA1 Message Date
Ben Wilson c00a132d10 Remove trailing spaces 4 years ago
Ben Wilson 665bb3af6f Delete duplicate files and move to consistent naming location 4 years ago
Ben Wilson d2701248c9 Add UEFI text on live image 4 years ago
Ben Wilson 8f77672b19 Switch shortcuts for live image and USB 4 years ago
Ben 0f0a9c5a04 Make boot options more consistent for live & installer images 4 years ago
Ben 01639825e0 Remove un-used space 4 years ago
Ben e470475f02 Update default generated files 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
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
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
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 5 years ago
Raphaël Hertzog 7ec405792b
Enable zsh by default 5 years ago
Steev Klimaszewski 76cd2ad701 Add comment about how to disable the boot beep 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 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 efa2a2b697 Merge branch 'grubtheme' into 'master'
apply grub theme to submenus

See merge request kalilinux/build-scripts/live-build-config!3
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 2dfcfb2a56 Ensure tasksel is available for the installer 5 years ago
Raphaël Hertzog b2f3c12776 Add back some firmware in the live image
But only those that are not pulled by kali-linux-core and that are safe
to install in the context of a live image.
5 years ago
Raphaël Hertzog 7a24712bb5 Replace the noswap boot option with systemd.swap=no
Cf 567a530760
5 years ago
Raphaël Hertzog ba60b1ce12 Drop the list of firmwares, kali-linux-core pulls those that we want
That is starting with version 2020.2.1 that I just uploaded.
5 years ago
Raphaël Hertzog 8b8412d78f Move definition of username, fullname and hostname to configuration file 5 years ago
Raphaël Hertzog 7577215611 Make some important .deb available for the installer
The lack of "locales" resulted in a non-configured locales on initial
installation. The lack of eject means the ISO is never ejected at the
end of the installation. The lack of pciutils/usbutils likely has other
bad consequences.
5 years ago
Raphaël Hertzog a6931f0fef *-volatile was renamed *-updates a long time ago in Debian 5 years ago
Raphaël Hertzog e184810035 Disable root user by default, use "kali" user in live mode 5 years ago
Raphaël Hertzog 19a5147d7d No need to wait update-kali-menu starting with kali-menu 2020.1.4 5 years ago
Raphaël Hertzog 580489de5a Add more debconf preseeding 5 years ago
Raphaël Hertzog 520f5d48af Drop the root specific .bashrc
It adds no value over the current setup. IIRC it was there to enable
completion by default but it's already enabled by default nowadays.
Also fixes the permission on /root as reported in
https://bugs.kali.org/view.php?id=5922
5 years ago
Raphaël Hertzog d1b694577f Preseed questions from kali-linux-default 5 years ago
Raphaël Hertzog 7e89bf9c0f Stop enabling pulseaudio manually
pulseaudio is already enabled by default in the user session.
5 years ago
Raphaël Hertzog 46c2551a03 Disable question about unattended-upgrades 5 years ago
Raphaël Hertzog eed6f43f83 Drop systemd config overrides also handled by kali-defaults
That way only kali-defaults needs to be changed when something changes
in the systemd/udev side.
5 years ago
Raphaël Hertzog fafc138872 Update the boot background picture 6 years ago
Raphaël Hertzog 6e485a3262 Rename package list for linux-headers so that it's actually used
package-lists/linux-headers.chroot needs a .list.chroot suffix to be
actually used.
6 years ago
Raphaël Hertzog 43c0daa0e8 Mark kernel related packages on hold in live images 6 years ago
Raphaël Hertzog cab92ee094 Force-enable cryptsetup in the initramfs
Fixes: https://bugs.kali.org/view.php?id=4945
7 years ago
Raphaël Hertzog 9b651831e1 Revert "Re-enable the creation of a regular user in the installer"
This reverts commit bab457c188.
7 years ago
Raphaël Hertzog 36dedbf1f4 Revert "Disable root user by default, use "kali" user in live mode"
This reverts commit c257ad007f.
7 years ago
Raphaël Hertzog d2d48e4d61 Drop files related to debian-installer-launcher
It's has been a while that we are no longer using this installer
startable from the running live system.
7 years ago
Raphaël Hertzog c257ad007f Disable root user by default, use "kali" user in live mode 7 years ago
Raphaël Hertzog 3c2d915115 Include linux headers in the live image 7 years ago