Page MenuHomeFreeBSD

Convert bsdinstall/distextract for libbsddialog
ClosedPublic

Authored by asiciliano on Dec 20 2021, 2:46 AM.
Tags
None
Referenced Files
F163120302: D33581.diff
Mon, Jul 20, 6:16 AM
F163076540: D33581.id100319.diff
Sun, Jul 19, 9:11 PM
Unknown Object (File)
Sun, Jul 19, 2:24 AM
Unknown Object (File)
Sat, Jul 18, 5:06 PM
Unknown Object (File)
Fri, Jul 17, 9:50 AM
Unknown Object (File)
Mon, Jun 22, 6:27 AM
Unknown Object (File)
Sun, Jun 21, 1:56 PM
Unknown Object (File)
Jun 7 2026, 12:48 PM
Subscribers

Details

Summary

Convert bsdinstall/distextract for libbsddialog.

This review depends on libbsddialog 0.0.2 https://reviews.freebsd.org/D33580

Test Plan

Download some txz from distfetch https://reviews.freebsd.org/D33425
then:

env DISTRIBUTIONS="kernel.txz tests.txz" BSDINSTALL_CHROOT="./extractdir" BSDINSTALL_DISTDIR="/home/test" ./distextract
`

┌────────Archive Extraction────────┐                      
│ kernel.txz       [    Done     ] │                      
│ tests.txz        [    Done     ] │                      
│                                  │                      
│ Extracting distribution files... │                      
│                                  │                      
│  ┌─Overall Progress───────────┐  │                      
│  │            100%            │  │                      
│  └────────────────────────────┘  │                      
└──────────────────────────────────┘

`
ls extractdir/boot/kernel/
... kmods and company ...

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

This revision is now accepted and ready to land.Dec 21 2021, 3:14 PM
usr.sbin/bsdinstall/distextract/Makefile
5–6

HAVE_BSDDIALOG is not necessary here, why adding it?

usr.sbin/bsdinstall/distextract/Makefile
5–6

Ops sorry, of course it is an error (I opened the tzseup Makefile instead of the distfetch Makefile).
Should I update the review or can you fix before to commit?

asiciliano marked an inline comment as not done.

Update review to fix Makefile:

  • delete -DHAVE_BSDDIALOG
This revision now requires review to proceed.Dec 26 2021, 6:52 AM

Address Revision Feedback: fix Makefile

usr.sbin/bsdinstall/distextract/Makefile
5–6

Makefile fixed

This revision was not accepted when it landed; it landed in state Needs Review.Jan 1 2022, 8:53 PM
This revision was automatically updated to reflect the committed changes.

pushed with modification for it to build properly in base (warning about const char * vs char *