Commit Graph

13 Commits (ee4d243ac562bc951f21be9c5a9124d89ae356b3)

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