Commit Graph

195 Commits (main)

Author SHA1 Message Date
Arnaud Rebillout 37a9e1ab9f
Drop comment about the installer-everything image 3 years ago
Daniel Ruiz de Alegría d6419ec940
Fix cpp error message parsing comments in grub-theme.in (fixes #43) 3 years ago
Sophie Brun 459f3c75a7
Change the Title for Live menu Bios mode 3 years ago
Daniel Ruiz de Alegría 648025c21d
Grub theme tweaks 3 years ago
Daniel Ruiz de Alegría 12af40e63d
Add boot theme for installer image 3 years ago
Daniel Ruiz de Alegría fb21ce9c7c
Update syslinux boot theme 3 years ago
Daniel Ruiz de Alegría 3a48abc388
Update grub theme 3 years ago
Arnaud Rebillout 1ec65ba50c
Revert "Remove empty folders"
This reverts commit d1ad9e1ea2.

The empty directory `local_packages` was there for a reason.
`simple-cdd` gives a warning when this directory doesn't exist:

  WARNING local package source /home/kali/live-build-config/simple-cdd/local_packages is neither a file nor a directory

So re-instate this empty dir to keep the logs clean.

I assume that `variant-minimal` was also there for a good reason.
3 years ago
Raphaël Hertzog 0f9a2fcbc5
Disable kali-linux-large in the installer image
We would like to provide kali-linux-large in our installer images
but we end up with ISO images that are too big for our CDN. So disable
it for now.
3 years ago
Arnaud Rebillout 27ed601b0b
Revert "Add cryptsetup-initramfs to the list of packages"
This reverts commit 50a06be454.

This commit was needed only in order to include the package in the
2021.3a Kali images. Not needed anymore, and not needed to build 2021.4.
3 years ago
Arnaud Rebillout fb799cf349
Nitpick, sort some lists alphabetically 3 years ago
Arnaud Rebillout b8cf725719
Install open-vm-tools in the arm64 Live image 3 years ago
Steev Klimaszewski caae8735cd Revert "Move open-vm-tools-desktop out of the if statement"
This reverts commit aaf1a294ee.

The arm64 version of openvm-tools-desktop is still hiding in kali-experimental
so adding it in now would break the ISO builds.
4 years ago
Steev Klimaszewski aaf1a294ee Move open-vm-tools-desktop out of the if statement
Now that the open-vm-tools package supports arm64 and VMWare fusion is available for the M1 Macbooks, lets make sure that open-vm-tools-desktop is also available for arm64.
4 years ago
Arnaud Rebillout 50a06be454
Add cryptsetup-initramfs to the list of packages
Fixes:
* https://bugs.kali.org/view.php?id=7339
* https://bugs.kali.org/view.php?id=7373
4 years ago
Raphaël Hertzog ce9af61f73
Ensure presence of kali-linux-firmware on netinst image
Fixes #36
4 years ago
Raphaël Hertzog 154bd211e7
Hardcode the list of firmware instead of relying on -headless 4 years ago
Raphaël Hertzog 1bddde91e9
kali-linux-headless is the package depending on firmwares
This is a temporary fix to be able to build fixed netinst
images for 2021.3 but in the long term, we need to move the
firmware dependencies to a dedicated package to avoid that kind
of issue.

Relates to #36.
4 years ago
Arnaud Rebillout 1458b05c8e
Install xrdp
« XRDP is what enables Hyper-V's Enhanced session mode. It also enables
Hyper-V to automatically connect via RDP, which is what fixes input
lag/allows simpler window resizing/shared clipboard. »

Big thanks to @jetbennett for the detailed report. For more context:
https://gitlab.com/kalilinux/build-scripts/live-build-config/-/issues/32#note_645975695

Fixes: #33
4 years ago
Raphaël Hertzog d6fadc55dc
Add "everything" variant for the installer image
It's easy to do but the resulting image is not so useful so we will
likely not generate it.
4 years ago
Raphaël Hertzog 3991285477
Clarify that this file only lists packages made available
The packages listed here are not automatically installed. The end users
select what to install dynamically through tasksel.
4 years ago
Raphaël Hertzog f50c8a35ca
Add the "everything" variant for the live image 4 years ago
Arnaud Rebillout 499cc3a3dc
Whitespace typo 4 years ago
Arnaud Rebillout 5667da24fc
Also install xserver-xorg-input-all explicitly
For the complete explanation, refer to:
https://gitlab.com/kalilinux/build-scripts/live-build-config/-/issues/32
4 years ago
Arnaud Rebillout 623576629a
Move xserver-xorg-video-all in firmware.list, rename it to hardware-support.list 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 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 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 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 c6b70bf355 Swap spaces for tabs to match other files 4 years ago
g0t mi1k 71f3cbaef4 Update path location 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 d1ad9e1ea2 Remove empty folders 4 years ago
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 15076bb3d3 Make consistent for live and installer images 4 years ago
Ben 2854f83f2f Make consistent for desktop environment live images 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
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