1. 01 Feb, 2023 1 commit
    • Arnaud Rebillout's avatar
      Update conf for debian-cd 3.1.36 · a0e7685a
      Arnaud Rebillout authored
      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.
      a0e7685a
  2. 31 Jan, 2023 1 commit
  3. 29 Jan, 2023 1 commit
  4. 27 Jan, 2023 1 commit
  5. 06 Jan, 2023 1 commit
  6. 13 Oct, 2022 1 commit
  7. 11 Oct, 2022 1 commit
    • Arnaud Rebillout's avatar
      Ensure python3-unicodedata2 is available in installer iso · 0dac9978
      Arnaud Rebillout authored
      Installation from the weekly installer image fails (2022-W40 and
      2022-W41). From syslog:
      
          in-target: The following packages have unmet dependencies:
          in-target:  king-phisher : Depends: python3-matplotlib (>= 1.4.3) but it is not installable
          in-target:                 Recommends: python3-mpltoolkits.basemap (>= 1.0.7) but it is not installable
      
      From a manual install, using the iso packages set in sources.list:
      
          # apt install king-phisher
          [...]
          The following packages have unmet dependencies:
           python3-fonttools : Depends: python3-unicodedata2 (>= 14.0.0) but it is not installable or
                                        python3-all (>= 3.11.0) but 3.10.6-1 is to be installed
          E: Unable to correct problems, you have held broken packages.
      
      Dependency chain is as follow:
      
          king-phisher
          +-- python3-matplotlib
            +-- python3-fonttools
              +-- python3-unicodedata2 (>= 14.0.0) | python3-all (>= 3.11.0)
      
      In the set of packages that are available in the iso, we don't have
      python3-unicodedata2 , however we have python3-all , BUT it's at version
      3.10.6-1 ... So nothing can satisfy the dependency.
      
      For now, let's manually force python3-unicodedata2 in the iso, as a
      workaround.
      0dac9978
  8. 01 Sep, 2022 2 commits
  9. 04 Aug, 2022 2 commits
    • Arnaud Rebillout's avatar
      Disable the encfs error message · d9040785
      Arnaud Rebillout authored
      Ths first line ('... boolean true') is needed to trick debian-cd into
      believing that the type of the question is a boolean.
      
      Otherwise debian-cd will think that the question doesn't exist, probably
      because it doesn't know the type, probably because there's no type to
      start with (this is an error message, not a question).
      
      FTR, without the first line, it fails with:
      
        2022-08-04 10:05:37,846 DEBUG Checking configuration...
        error: Cannot find a question for encfs/security-information
        2022-08-04 10:05:38,016 ERROR preseed file invalid:
          <<LBDIR>>/simple-cdd/profiles/kali.preseed
      d9040785
    • Arnaud Rebillout's avatar
      Add usr-is-merged to netinst · f20801c8
      Arnaud Rebillout authored
      f20801c8
  10. 01 Aug, 2022 1 commit
  11. 28 Jul, 2022 2 commits
  12. 01 Jul, 2022 1 commit
  13. 23 Jun, 2022 2 commits
  14. 11 Apr, 2022 1 commit
  15. 05 Apr, 2022 1 commit
    • Arnaud Rebillout's avatar
      get_user_list: output warning to stderr · dd2d78c7
      Arnaud Rebillout authored
      The function get_user_list returns a list of users on stdout, so
      obviously it can't use stdout to also display messages. Use stderr
      instead.
      
      Note that we could also silently skip if we find a directory in /home
      that is not a user. Does it happen in practice?
      dd2d78c7
  16. 04 Apr, 2022 4 commits
    • Raphaël Hertzog's avatar
      Merge branch 'vboxsf-group' into 'master' · c8b42879
      Raphaël Hertzog authored
      Add the kali user to the vboxsf group, if it exists
      
      See merge request !25
      c8b42879
    • Arnaud Rebillout's avatar
      Add kali user to the vboxsf group, if ever it exists · a90925b4
      Arnaud Rebillout authored
      The vboxsf group is created by the postinst script of the package
      virtualbox-guest-utils. The kali user needs to be part of this group
      in order to access VirtualBox's shared folders.
      
      This change does just that. It's effective for all the Live images
      (where VirtualBox guest additions are installed unconditionnally),
      and for the systems installed by the Installer image where VirtualBox
      was detected (and therefore VirtualBox guest additions were installed).
      
      Ref: <https://bugs.kali.org/view.php?id=7643>
      a90925b4
    • Arnaud Rebillout's avatar
      Add kali user to additional groups one by one · 6ea2a3ce
      Arnaud Rebillout authored
      Up to now, it was fine to use a command such as:
      
          usermod -a -G group1,group2,... kali
      
      However a limitation is that all the groups that are given to the option
      -G must exist. If that's not the case, usermod fails (return code: 6)
      without doing anything, and the user is not added to any group.
      
      So with this commit, we prepare the code to support optional groups,
      that might or might not exist. If ever a group does not exist, it's
      skipped silently.
      6ea2a3ce
    • Arnaud Rebillout's avatar
      Nitpicks in kali-{user-setup,finish-install} · da484826
      Arnaud Rebillout authored
      Changes:
      - order groups alphabetically
      - use the same comment "Ensure those groups exist" consistently in the 2
        scripts, and also drop the comment regarding a "generically named"
        function.
      - adds "|| true" to the usermod command in kali-user-setup (only for
        consistency, the script is not run with "set -e" anyway).
      
      After those changes, the two functions "configure_usergroups()" are very
      similar, and it's very easy to spot the differences between both.
      da484826
  17. 10 Mar, 2022 1 commit
  18. 23 Feb, 2022 1 commit
    • Arnaud Rebillout's avatar
      Ensure speech-dispatcher recommendations are in the installer · 1c93b09f
      Arnaud Rebillout authored
      In a real situation, those packages are installed by the chain of
      depends/recommends orca -> speech-dispatcher ->
      (speech-dispatcher-espeak-ng, sound-icons).
      
      However that chain is broken, in all likelyhood by debian-cd dependency
      handling, cf. #601203.
      
      This mention should ensure these packages are present in the generated
      ISO.
      
      Fixes: #46
      1c93b09f
  19. 26 Jan, 2022 2 commits
  20. 25 Jan, 2022 1 commit
  21. 20 Jan, 2022 2 commits
  22. 18 Jan, 2022 1 commit
  23. 17 Jan, 2022 3 commits
  24. 14 Jan, 2022 1 commit
  25. 12 Jan, 2022 1 commit
  26. 11 Jan, 2022 1 commit
  27. 15 Dec, 2021 1 commit
    • Raphaël Hertzog's avatar
      Ensure pipewire-pulse is in the installer · 8c0a1c7b
      Raphaël Hertzog authored
      In a real situation, the package is installed by a chain of recommends
      pipewire-bin -> wireplumber -> pipewire-pulse and that chain is broken
      either by debian-cd's dependency handling or by simple-cdd's logic to
      build its local mirror. But this mention should ensure its presence in
      the generated ISO.
      8c0a1c7b
  28. 10 Dec, 2021 2 commits
    • Arnaud Rebillout's avatar
      Indent nitpick · 9a252cc2
      Arnaud Rebillout authored
      9a252cc2
    • Arnaud Rebillout's avatar
      Revert "Remove empty folders" · 1ec65ba5
      Arnaud Rebillout authored
      This reverts commit d1ad9e1e.
      
      The empty directory `local_packages` was there for a reason.
      `simple-cdd` gives a warning when this directory doesn't exist:
      
        WARNING local package source /home/kali/live-build-config/simple-cdd/local_packages is neither a file nor a directory
      
      So re-instate this empty dir to keep the logs clean.
      
      I assume that `variant-minimal` was also there for a good reason.
      1ec65ba5