Commit Graph

497 Commits (81bd738d0cfaba62a5dc007c2817899f02814c45)
 

Author SHA1 Message Date
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
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