Commit Graph

17 Commits (00a213b179c2048e2ac887d3b18d653dcf9297ab)

Author SHA1 Message Date
Arnaud Rebillout 00a213b179
Depend on Kali's fork of debian-cd, and disable DEP11 support
More details can be found at:
* https://gitlab.com/kalilinux/internal/roles/packager/-/issues/30
* https://salsa.debian.org/images-team/debian-cd/-/merge_requests/31
2 years ago
Raphaël Hertzog e521a18dcf
Enable non-free-firmware by default everywhere
Even though it's currently empty, we want users to have this component
enabled so that they don't miss on updates when we start to move
packages from non-free to non-free-firmware.
2 years ago
Arnaud Rebillout 243700c73f
Enable Kali Purple installer theme
Other things that I tried, but that didn't work, below:

I tried adding the preseed to simple-cdd/profiles/kali-purple.preseed,
however that didn't work, I guess that this preseed file is loaded only
later during installation, and that at this point the GUI was already
loaded and it's too late to set the theme.

I also tried to do this in simple-cdd.conf:

  # Theming
  if echo " $profiles " | grep -q " kali-purple "; then
    export KERNEL_PARAMS="${KERNEL_PARAMS} debian-installer/theme=Clearlooks-Purple "
  fi

But it doesn't work, seemingly 'profiles' is not set when simple-cdd
loads the conf, and even though we build with the command:

    build-simple-cdd [...] --profiles "$profiles" [...]

Given the fact that uppercase variables are exported, and what we
actually want to change is KERNEL_PARAMS, it seems that the most
straightforward is just to preset it from build.sh.
2 years ago
Arnaud Rebillout ede795dc4c
Drop comment in simple-cdd.conf
Kali won't have a non-free-firmware component in the short-term.
2 years ago
Arnaud Rebillout ee4d243ac5
Set simple-cdd profiles from build.sh (instead of guessing from config)
With this change, we do NOT set profiles based on DISKTYPE anymore.
Instead, we set profiles (and auto_profiles) in build.sh, depending on
the variant.

This change is in preparation for next commit, where we'll introduce a
new installer variant.
2 years ago
Arnaud Rebillout a0e7685a32
Update conf for debian-cd 3.1.36
Otherwise we get plenty of error messages:

DEBUG build/debian-cd stderr: Use of uninitialized value
$ENV{"NONFREE_COMPONENTS"} in split at
<<DIR>>/simple-cdd/debian-cd/tools/which_deb line 23.
2 years ago
Raphaël Hertzog 69bf2252e4
Enable offline installation for all images except NETINST
We recently switched from DVD to BD (Bluray Disc) because the image
didn't fit in a single layer DVD anymore and that changed broke
a further check enabling the offline logic.
4 years ago
Ben Wilson c00a132d10 Remove trailing spaces 4 years ago
Raphaël Hertzog 1205bf686f
Pass "net.ifnames=0" to the kernel command line of the installer images
We want debian-installer to see "ethX" device names and not the
other names that we have disabled via kali-defaults anyway. That
discrepancy even breaks networking for minimal installations
where /etc/network/interfaces gets the wrong name.
4 years ago
Raphaël Hertzog f3a8a2d472
Make it easy to include local packages in the generated installer images 4 years ago
Raphaël Hertzog 71ee6a3001
Group arm64 specific overrides in the same if statement 4 years ago
Steev Klimaszewski 319e6a39db Don't actually pass a hostname
This causes the install to fail.

Signed-off-by: Steev Klimaszewski <steev@kali.org>
4 years ago
Steev Klimaszewski 2d9668a335 Export a default console for arm64
Signed-off-by: Steev Klimaszewski <steev@kali.org>
4 years ago
Steev Klimaszewski 817f168d8c Inital arm64 work 4 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 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 51e3fbe99f Add --installer option to build images with simple-cdd 5 years ago