Commit Graph

379 Commits (28595758801e22595f5dbb7915472c41278bff57)
 

Author SHA1 Message Date
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
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 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 fe1277ad1b Switch back installer to live one
The netinst installer is causing too many issues for unexperienced
users that are installing without enabling the network. They are ending
up in a console and are stuck there. See https://bugs.kali.org/view.php?id=6053
and the many duplicates.

The live installer is not offering close control on what metapackage
gets installed but at least you are sure to have a usable system at the
end.
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 40ebd62591 Rename the live images to kali-linux-VERSION-live-VARIANT-ARCH.iso 5 years ago
Raphaël Hertzog c6bd9ae1cf Fix installer image to cope with default 686-pae kernel that we use on i386
Debian defaults to linux-image-686 for i386 on all levels (simple-cdd,
debian-cd, debian-installer). Kali modified debian-installer to use
linux-image-686-pae in debian-installer (for the benefit of the live
image mainly!). We have to adjust simple-cdd (by way of the
kernel_packages configuration item) and debian-cd (with some live
patching of a copy).
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 98a1cab91d Move new options to .getopt.sh so that upstream script can recognize them 5 years ago
Raphaël Hertzog 51e3fbe99f Add --installer option to build images with simple-cdd 5 years ago
Raphaël Hertzog c03076b68c build.sh: --arch can no longer be specified multiple times
Simplify logic in build.sh by dropping support for building multiple
architectures in a single call.
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 a57e9e0ccb Build a "cdrom" installer and not a "netboot" one
In the live-build code, netinst and netboot have the same meaning,
and it means netboot, an installer that fetches the d-i udebs over
the network. But we don't want that, we want the udeb to be available
in the ISO so that it keeps working even after a kernel update in
kali-rolling.
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 45dfa51b33 Switch to netinst flavor of debian-installer 5 years ago
Raphaël Hertzog 513930643e Add quiet on the kernel command line to better show the plymouth splash 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
g0tmi1k 21729f3298 Change filename output to match the rest
Old: kali-linux-kde-2019.3-amd64.iso
New: kali-linux-2019.3-kde-amd64.iso
5 years ago
Raphaël Hertzog 6db9a1890c Don't try to eject the ISO on shutdown/reboot 6 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