Commit Graph

540 Commits (400f483dceefbb523330f2ffcfa04b6cd88c5543)
 

Author SHA1 Message Date
Arnaud Rebillout 400f483dce Keep trimming the image, remove documentation packages 1 month ago
Arnaud Rebillout d656988ac2 Improve readability in remove-bloat hook 1 month ago
Arnaud Rebillout bf08d592d3 Remove firmware-marvell-prestera 1 month ago
Arnaud Rebillout dd5e9ac8c2 Drop firmware-b43 entirely
The package might come back in Debian, or we might bring it back in Kali
(if there is demand for it). However, the discussion at
https://bugs.debian.org/1109025 suggests that the firmware blobs are not
redistributable.
3 months ago
Arnaud Rebillout 7d71965407 Comment out firmware-b43* while www.lwfinger.com is down
For details, refer to
https://gitlab.com/kalilinux/build-scripts/kali-live/-/issues/75
3 months ago
Arnaud Rebillout 50f52ab98e Revert "Remove firmware-nvidia-tesla-535-gsp"
This reverts commit d4ff85a587.

This firmware is automatically filtered out by latest live-build,
cf. previous commit.
5 months ago
Arnaud Rebillout b8f1f39fca Bump live-build requirement 5 months ago
Arnaud Rebillout d4ff85a587 Remove firmware-nvidia-tesla-535-gsp 5 months ago
g0t mi1k 90ecd70dd7 Fix typo 6 months ago
Arnaud Rebillout b31a1ddaa4 Sync 0031-kali-user-setup with kali-finish-install
Not sure why there was no info messsages at all in this script, I'm
adding it now to reduce the diff with kali-finish-install, hopefully I'm
not breaking anything by using stdout for informative messages...
7 months ago
Arnaud Rebillout f270865323 Document other duplicates of kali-finish-install 7 months ago
Arnaud Rebillout 8c4449180f Adjust .gitignore
Since commit cf029a87c9, I get this error:

```
$ git add --verbose kali-config/common/includes.chroot/usr/lib/live/config/0031-kali-user-setup
add 'kali-config/common/includes.chroot/usr/lib/live/config/0031-kali-user-setup'
The following paths are ignored by one of your .gitignore files:
kali-config/common/includes.chroot/usr/lib/live/config
hint: Use -f if you really want to add them.
hint: Disable this message with "git config advice.addIgnoredFile false"
```

This is because wildcards were dropped, ie `config/* became `config/`
and `chroot/*` became `chroot/`, and I don't really understand *why* it
caused the change in behavior, but let's not go down the rabbit hole.

It seems to me that we want to ignore directories at the root, so be
explicit about that, and that's enough to fix the issue.
7 months ago
Daniel Ruiz de Alegría f7c53c8738
Update boot menu background 7 months ago
Arnaud Rebillout b1be7b0cf4 Remove texlive-latex-extra (temporary)
In order to free some space on the live iso, which is too big at the
moment
7 months ago
Arnaud Rebillout 8ca1bfd664 Set executable bit on remove-bloat-from-recommended-packages.chroot
Doesn't change anything to the build. It's just that it's easier to spot
scripts when looking at the git repo with eg. `tree`: executable files
are highlighted.
7 months ago
Arnaud Rebillout bc4f41d5fe Add compat symlinks for xfce variants
The variants were renamed in 530b22106b,
breaking scripts that used the old name (like, our own build infra that
uses `--variant everything`, for example).

This commit adds compat symlinks so that things keep working.
7 months ago
Daniel Ruiz de Alegría 7abf80c77f
Optimize boot menu image 8 months ago
Daniel Ruiz de Alegría a7ed79a2f6
Merge remote-tracking branch 'origin/master' 8 months ago
Daniel Ruiz de Alegría 75b83129e6
Update boot menu background 8 months ago
g0t mi1k 843e7f3e5f Merge branch 'restructure' into 'main'
Restructure to split up live-build and simple-cdd

See merge request kalilinux/build-scripts/kali-live!18
9 months ago
g0t mi1k a328af3e0c Drop duplicate get-image-path 9 months ago
g0t mi1k a9d7f357ab Keep consistency with lines 9 months ago
g0t mi1k 7f241a3c73 Keep output consistency by dropping full stop 9 months ago
g0t mi1k 82780ef866 Hide output if package doesn't exists 9 months ago
g0t mi1k 3d6141b877 Move log, so --help doesn't trigger 9 months ago
g0t mi1k 61f2913e70 Change directory as soon as possible 9 months ago
g0t mi1k 789854a921 Add error handling when trying to create folder 9 months ago
g0t mi1k bd5b40620f Show full path of output file 9 months ago
g0t mi1k 5dbdcad8ed Add comments 9 months ago
g0t mi1k 4e4382e8c1 Sync preseed files 9 months ago
g0t mi1k fb95194293 Consistency: tabs to spaces 9 months ago
g0t mi1k 26efadcc71 Refresh live profile 9 months ago
g0t mi1k 530b22106b Prefix desktop to variant
Tool metapackages
9 months ago
g0t mi1k cf029a87c9 Clean up ignored 9 months ago
g0t mi1k 2d05f2b85b Drop --salt 9 months ago
g0t mi1k 2a549aa31a Split simple-cdd/debian-cd & live-build
## Live
`--live` = kali-live (previouly live-build-config)
<https://gitlab.com/kalilinux/build-scripts/kali-live>
Uses live-build

## Installer
`--installer` = kali-installer
<https://gitlab.com/kalilinux/build-scripts/kali-installer>
Uses simple-cdd (which is a wrapper for debian-cd)
9 months ago
Arnaud Rebillout 796bb62679
Configure default terminal according to the kali desktop package installed
This is necessary in case more than one terminal is installed, and they
both have the same alternative priority.

For example, while installing all packages at once, sometimes apt will
resolve a dependency "x-terminal-emulator" to one of the many packages
that provide it, for example "zutty". And then it will also install the
terminal listed in the "kali-desktop-${desktop}" metapackage that is
selected, eg. "qterminal" for "kali-desktop-xfce".

Both zutty and qterminal have a alternative priority of 40 at the
moment, so if zutty gets unpacked first, it will have precendence and be
the default terminal.

It's a long-standing issue. By the past, We tried to make sure that the
default desktop terminal is installed first, by listing it early in the
dependencies of the "kali-desktop-{desktop}" metapackage, and it kind of
works with the debian-installer, but it was hard to make it work (we had
to do some changes in tasksel), and it's still brittle as it relies on
apt's dependency solving, which is apt's internal sauce and might change
(hint, apt will get a new solver soon, cf [1]).

As it turns out, it doesn't work for the live iso, somehow we still get
zutty taking precedence over qterminal, I didn't check why, it probably
has to do with how live-build constructs the apt command-line in order
to install everything.

In any case: I think our approach so far didn't work, so with this
commit, we take another approach: we set the default terminal from the
finish-install script, for both the installer iso and the live iso. That
should solve the issue for good.

[1]: https://blog.jak-linux.org/2024/05/14/solver3/
1 year ago
Arnaud Rebillout 7d666c4f78
Add a function require_package to factorize code 1 year ago
Arnaud Rebillout 1834c9fcb0
Bump live-build requirement 1 year ago
Arnaud Rebillout 3499b2f3fb
Add eatmydata to offline.downloads
This should fix:

    in-target: E: Unable to locate package eatmydata
    eatmydata-udeb/eatmydata-install: error: unable to find /usr/bin/eatmydata after installing the eatmydata package

Cf. 31fb818dec
1 year ago
Arnaud Rebillout 50779f66db
Add espeakup to the list of offline packages
At the moment it's missing, leading to:

    finish-install: info: Running /usr/lib/finish-install.d/06espeakup
    [...]
    in-target: E: Unable to locate package espeakup
1 year ago
Arnaud Rebillout cdca823618
Add console-data for the live image
- https://bugs.kali.org/view.php?id=8741
- https://bugs.debian.org/1070679
1 year ago
Arszilla e4b6f567aa
Update .gitignore because wget-log was not included 2 years ago
Arnaud Rebillout 81bd738d0c Merge branch 'master' into 'master'
Add missing files to .gitignore

See merge request kalilinux/build-scripts/live-build-config!38
2 years ago
Arszilla 08ae4d4b9f
Add missing files to .gitignore 2 years ago
g0t mi1k 5faa0da23a Merge branch 'quote-args-in-debug-logs' into 'master'
Quote arguments where needs be, in debug logs

See merge request kalilinux/build-scripts/live-build-config!37
2 years ago
Arnaud Rebillout 56873621bd
Quote arguments where needs be, in debug logs
Before, looks like that:

    RUNNING: build-simple-cdd --verbose --debug --force-root
    --conf simple-cdd.conf --dist kali-rolling
    --debian-mirror http://kali.download/kali/
    --profiles kali offline
    --auto-profiles kali offline

After, looks like that:

    RUNNING: build-simple-cdd --verbose --debug --force-root
    --conf simple-cdd.conf --dist kali-rolling
    --debian-mirror http://kali.download/kali/
    --profiles 'kali offline'
    --auto-profiles 'kali offline'
2 years ago
Arnaud Rebillout 56fb4a09c3 Merge branch 'misc' into 'master'
Miscellaneous consistencies

See merge request kalilinux/build-scripts/live-build-config!36
2 years ago
Arnaud Rebillout 84891983b0 Merge branch 'kali.download' into 'master'
Simple-CDD: Switch to kali.download as default mirror

See merge request kalilinux/build-scripts/live-build-config!34
2 years ago
Ben Wilson ae9b552efd
Misc formatting 2 years ago