Commit Graph

195 Commits (main)

Author SHA1 Message Date
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
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
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 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 5f67ec4ee2 Don't try to install kali-linux-light in the light variant
The package has no purpose and will be dropped. Light is just
a simple desktop with kali-linux-core and no tools.
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 2b4837d48b Ensure we have firmwares in the netinst image too 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 51e3fbe99f Add --installer option to build images with simple-cdd 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 5 years ago
Raphaël Hertzog fd8d5a5f4d Make the XFCE image the default one 5 years ago
Raphaël Hertzog f2a4dd5e0c Add a new 'large' variant that embeds kali-linux-large and is GNOME based 6 years ago
g0tmi1k fb784ec12d Updated rest for new metapackages 6 years ago
g0tmi1k c2ad849ad5 WIP: Switching to new metapackages 6 years ago
Raphaël Hertzog fddafca50c Add a "minimal" variant to build a very small ISO
This variant doesn't add any packages, thus it will only contain
whatever is configured in kali-config/common/.
6 years ago
g0tmi1k 17f0767535 Switch to metapackages - missed e17 6 years ago
g0tmi1k 46fc9dd692 Switch to metapackages 6 years ago
g0tmi1k a255c57c4c Re-sort the order + add in doc links 6 years ago
Sophie Brun 5a6d126c90 Add a X display manager for e17 variant (see 5438)
Replace transitional e17 package with enlightenment
6 years ago
Sophie Brun a9fee89200 Fix the kali default background for e17 variant (see 5438) 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 ea8c33a64b Replace iceweasel by firefox-esr in the light image 7 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
Raphaël Hertzog f23aa1f502 Drop distribution check that is always true 7 years ago
Raphaël Hertzog bab457c188 Re-enable the creation of a regular user in the installer 7 years ago
Raphaël Hertzog 1ffe309f33 Drop work-around for old systemd 7 years ago
Raphaël Hertzog 0fe406672d Revert "Re-enable the creation of a regular user in the installer"
This reverts commit 46d4373feb.
7 years ago
Raphaël Hertzog 46d4373feb Re-enable the creation of a regular user in the installer 7 years ago
Raphaël Hertzog 3c2b83a0c3 Default sshd_config has again changed, update our live-config script accordingly
The default file in openssh-server 1:7.5p1-10 now has:
 PasswordAuthentication yes
 #PermitRootLogin prohibit-passwd
8 years ago
Sophie Brun 31fb818dec Enable eatmydata in kali-installer to boost speed installation 8 years ago
Raphaël Hertzog 67ba131d97 Run updatedb to initialize locate's database 8 years ago
Raphaël Hertzog c60a3600d6 Work-around systemctl bug that resulted in missing pulseaudio symlinks 8 years ago
Raphaël Hertzog 38e99d47ff Use 8-bit PNG for splash image 8 years ago
Raphaël Hertzog 4d3d131d8b Add grub configuration that works with the Kali theme 8 years ago
Raphaël Hertzog 9137e1d3ba Handle systems without / merged in /usr
debootstrap's change that enabled this feature got reverted
and now our live-config scripts are no longer used. Make sure
to put them back at the correct place when needed.
8 years ago
Raphaël Hertzog 45d776a8ae Move live-config files to correct place for a merged /usr 9 years ago
Raphaël Hertzog 9ca9b4c92f Fix sshd configuration to enable password-based root logins
The old setting "without-password" has been replaced by
"prohibit-password" in the Debian package.
9 years ago
Raphaël Hertzog 518a4a2afa Modify e17 image to have a kali wallpaper 9 years ago
Raphaël Hertzog 91371b28e1 Add xorg to e17 variant 9 years ago
Raphaël Hertzog 3cf98a2d09 Add a temporary work-around for udev rule renaming USB network interfaces 9 years ago
Raphaël Hertzog e7b766f01b Move hook scripts to the location expected by live-build 4.x
And drop compatibility with live-build 3.x at the same time.
9 years ago
Raphaël Hertzog 934602351b Drop configuration for the old moto release 9 years ago
Raphaël Hertzog 5d63406ca5 No longer manually disable some services
With the fix of https://bugs.kali.org/view.php?id=1871 we can
rely on the package setup to not enable the services which are
blacklisted (in preset files provided by base-files).
9 years ago
Raphaël Hertzog 5b1a163ada Disable more services by default 9 years ago
Raphaël Hertzog bd43adb9b2 Drop security.kali.org from the apt-setup preseed 9 years ago
Raphaël Hertzog e5df215b53 Improve the wait script to use latest feature of kali-menu 10 years ago
Raphaël Hertzog 37e36d09a7 Use the preseed option to disable source repositories by default 10 years ago
Raphaël Hertzog 4140766500 Disable udev's renaming of the network interfaces 10 years ago
Raphaël Hertzog c2287efafd Add new firmware packages available in safi and newer 10 years ago
Raphaël Hertzog f0ab224322 Manually enable pulseaudio in root's user session
That's because auto-spawning does not work for root.
10 years ago
Raphaël Hertzog 5a169b3eef Add new kali-hacks.chroot hook script to work around bugs 10 years ago
Raphaël Hertzog 0c3b18b814 Modify structure for compatibility with live-build 5.x
And change sleep.chroot to wait for update-kali-menu to disappear.
10 years ago
Raphaël Hertzog 2309fa05b0 Do not register atftpd in inetd
That way it's handled with its init script which is disabled by default.
This should fix https://bugs.kali.org/view.php?id=2841
10 years ago
Raphaël Hertzog 4635b427e1 Revert "Change the label of the encrypted persistance boot patameter"
This reverts commit 5c03d478d9.
10 years ago
Raphaël Hertzog d8a73e078e Rename firmware.chroot into firmware.list.chroot so that it's used 10 years ago
Mati Aharoni (Kali Linux Developer) 5c03d478d9 Change the label of the encrypted persistance boot patameter 10 years ago
Raphaël Hertzog edcdb10e40 Clean up the definition of the light variant
Rely on kali-desktop-xfce.
10 years ago
Raphaël Hertzog f723b96454 Add multiple variants corresponding to desktops that people like to use 10 years ago
Raphaël Hertzog bc7f18bf75 Add a "light" variant 10 years ago
Raphaël Hertzog 5676bc0b03 Move all configuration into kali-config and put the right bits into place from auto/config
* Add new --variant option to build alternative images of Kali.
* Add new --version option to decide of the name of the generated file.
* Add new --subdir option to indicate where the image must be moved.
10 years ago