Commit Graph

83 Commits (dc7099cf0c4ec83deba9812299b241e55ddb3c4c)

Author SHA1 Message Date
Ben Wilson f4e3de7a1d Fix formatting to make it easier to read 4 years ago
Ben Wilson db5e3cfd2d Fix issue if folder wasn't yet there (fresh run) 4 years ago
Raphaël Hertzog af6111b2f9
Indentation fixes 4 years ago
Steev Klimaszewski 0a7628f35b Fix missing close
Signed-off-by: Steev Klimaszewski <steev@kali.org>
4 years ago
Steev Klimaszewski 87ab0c95ac Move arm64 changes into auto/config instead of in build.sh
Signed-off-by: Steev Klimaszewski <steev@kali.org>
4 years ago
Steev Klimaszewski 817f168d8c Inital arm64 work 4 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 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 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 8b8412d78f Move definition of username, fullname and hostname to configuration file 5 years ago
Raphaël Hertzog e184810035 Disable root user by default, use "kali" user in live mode 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 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 6db9a1890c Don't try to eject the ISO on shutdown/reboot 6 years ago
Raphaël Hertzog 36dedbf1f4 Revert "Disable root user by default, use "kali" user in live mode"
This reverts commit c257ad007f.
7 years ago
Raphaël Hertzog c257ad007f Disable root user by default, use "kali" user in live mode 7 years ago
Raphaël Hertzog 9f285e9440 Support building images out of kali-last-snapshot 7 years ago
Raphaël Hertzog 0bf54092e6 Disable the renaming of network interfaces in the installer
So that the generated /etc/network/interfaces contains "eth0" and
not any name assigned by systemd/udev since this renaming is already
disabled in the installed system.

Fixes https://bugs.kali.org/view.php?id=4090
8 years ago
Raphaël Hertzog f41fb8bb62 Allow setting the local mirror in .mirror 8 years ago
Raphaël Hertzog d1c52bc69e Fix the default mirror 8 years ago
Raphaël Hertzog 4d3d131d8b Add grub configuration that works with the Kali theme 8 years ago
Raphaël Hertzog 5a7a8631c0 Drop old code for sana-security 9 years ago
Raphaël Hertzog 7573a0db43 Update auto/config to use kali-rolling by default 9 years ago
Raphaël Hertzog 69bc31dd7a Only enable/use security.kali.org for sana
security.kali.org is phased out because it's no longer useful since we are
based on Debian Testing.
9 years ago
Raphaël Hertzog 1699c4d478 Drop moto specific hack 10 years ago
Raphaël Hertzog c4283fa90a Enable memtest in live-build configuration
The default menu includes it so better include the required binary too.
10 years ago
Raphaël Hertzog 413b2774a9 Let the data/debian-cd symlink point to sid
It's more likely to always exists. The wheezy target is just
gone with newer live-builds...
10 years ago
Raphaël Hertzog f78f6d0697 Use debootstrap and not cdebootstrap
live-build 5.x dropped support for cdebootstrap.
10 years ago
Raphaël Hertzog 9d6112bc6f Don't fail when some of the directories are symlinks 10 years ago
Raphaël Hertzog 8e4083995d Use the correct $dist-proposed-updates repository
Up to now, --proposed-updates always enabled kali-proposed-updates
when in fact it should have enabled the proposed-updates repository
of the target distribution.
10 years ago
Raphaël Hertzog 1f4a3d1fe3 Allow users to run "lb config" outside of build.sh
In that case, the user has not selected any variant and
will use its own set of files.
10 years ago
Raphaël Hertzog eda639ee40 Drop local settings committed by mistake 10 years ago
Raphaël Hertzog 5676bc0b03 Move all configuration into kali-config and put the right bits into place from auto/config
* Add new --variant option to build alternative images of Kali.
* Add new --version option to decide of the name of the generated file.
* Add new --subdir option to indicate where the image must be moved.
10 years ago
Raphaël Hertzog 54e6f66540 Drop "noconfig=sudo" as it's no longer needed with current live-config
It was working around a bug that has been fixed long ago.
10 years ago
Raphaël Hertzog eb4950fa3f Revert "Add debian-installer preseed file to override apt configuration"
This reverts commit 9eeb33247b.

live-build puts the preseed file in the initrd so it actually replaces
the preseed file put in place by debian-installer. That preseed
actually hardcodes the release for the need of the mini.iso but
the live image does not need such an hardcode as d-i can figure
it out by itself by analyzing the repositories on the ISO.
10 years ago
Sophie Brun 9eeb33247b Add debian-installer preseed file to override apt configuration
We want to override the apt configuration from the preseed in the
initrd because it harcodes the kali repository and we want
kali-rolling ISO to use the kali-rolling repository too!

We do it in a way that still allows the user to put his own
preseed file.
10 years ago
Raphaël Hertzog ef1cf2936e Fix parameter loss when processing the "--"
The shift was called twice when the script was processing the "--"
argument. Also add a comment explaining why we are skipping it.
10 years ago
Raphaël Hertzog c5d7d55303 Make it possible to pass live-build config options on the command line 10 years ago
Raphaël Hertzog c78457bddb Drop more files generated by live-build
If we don't drop them, they are kept forever and never updated
as wanted. This was problematic for live.list.chroot which
doesn't have the same content depending on the --initsystem option
we use.
10 years ago
Raphaël Hertzog a76b36ec0b Properly catch errors even when we use --verbose
The usage of the pipe did hide errors from us when we were using
--verbose. We use a bashism to detect failures in pipes so update
the shebang accordingly.
10 years ago
Raphaël Hertzog a01c43b20c Add --verbose option to ./build.sh to display logs in real-time 10 years ago
Sophie Brun d1886f45dc Use sysvinit for kali as systemd not available 10 years ago
Raphaël Hertzog 1e88216758 Test the symlink for the distribution being built 11 years ago
Raphaël Hertzog eee29ac78b Use systemd for kali-rolling / kali-dev 11 years ago
Raphaël Hertzog dbf0a7c20c Misc improvements
* Better support of build out of checkout.
* Update version check to ensure we have latest live-build for Kali.
11 years ago
Raphaël Hertzog 6d09948b8d Add support for kali-rolling 11 years ago
Mati Aharoni (Kali Linux Developer) 20d0a2798f Cleanup 11 years ago