NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

install/56081: install-image fails to clean a too-small image file

>Number:         56081
>Category:       install
>Synopsis: install-image fails to clean a too-small image file
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 28 15:45:00 +0000 2021
>Originator:     Paul Goyette
>Release:        NetBSD 9.99.80
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 |     |
| Software Developer | 0786 F758 55DE 53BA 7731 |   |
System: NetBSD 9.99.80 NetBSD 9.99.80 (SPEEDY 2021-02-13 20:36:51 UTC) #0: Sat Feb 13 23:14:35 UTC 2021 amd64
Architecture: x86_64
Machine: amd64
(Filed under category install - pleasae update as appropriate!)

If you attempt a `` install-image'' and the size of the image
file is too small (specified by the INSTIMAGEMB= parameter in
src/distrib/$ARCH/installimage/Makefile), a subsequent attempt to
build the install-image target (even after updating the above build
parameter) fails due to a gpt label error.  It seems that the image
file still exists. 
seems that the too-small image file is not recreates
1. build a release
2. temporarily reduce the INSTIMAGEMB parameter to a too-small value
3. attempt a install-image
4. restore the INSTIMAGEMB parameter's value
5. attempt another install-image
Check if the image size is big enough (check already exists, with an
appropriate error message), and remove the image file if too small.


Home | Main Index | Thread Index | Old Index