fix arch 'all' example

This commit is contained in:
Jeff Carr 2024-11-16 11:00:46 -06:00
parent fbf9f4e802
commit df17901f47
5 changed files with 52 additions and 51 deletions

View File

@ -48,12 +48,12 @@ func newControl(parent *gui.Node) *controlBox {
c.grid.NextRow()
c.Architecture = gadgets.NewBasicDropdown(c.grid, "Architecture")
c.Architecture.AddText("riscv")
c.Architecture.AddText("all")
c.Architecture.AddText("riscv64")
c.Architecture.AddText("ppc64")
c.Architecture.AddText("amd64")
c.Architecture.AddText("arm")
c.Architecture.AddText("noarch")
c.Architecture.AddText("src")
c.Architecture.SetText("amd64")
c.Architecture.AddText("arm64")
c.Architecture.SetText("riscv64")
c.grid.NextRow()
c.InstallPath = gadgets.NewBasicCombobox(c.grid, "Install Path")

View File

@ -1,5 +1,7 @@
.PHONY: build
# this is how the mirrors.wit.com debian package is created
all: build
build:

View File

@ -1,11 +1,12 @@
Build-Depends:
Source:
Package: mirrors.wit.com
Build-Depends:
Maintainer: Jeff Carr <jcarr@wit.com>
Packager: Jeff Carr <jcarr@wit.com>
Architecture: noarch
Architecture: all
Depends:
URL: https://mirrors.wit.com/
Recommends:
Version: 0.0.3
Version: 0.0.6
Description: apt keys and source file
This was packaged with go-deb from go.wit.com

View File

@ -1,41 +1,41 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBGclJM8BDAC2IEoi7FeQjqOUXliXEwwbtpCpMpRFHBNGtY475Noah/HY12AI
xirECOjWoD3CojsGEvP7L+QUYa/XsRv35SqSS36ZpTnT9+8PD/I3Ezsp/6Obqahs
ojJy+17KqhOLsK5XfdU1v8fuQ7/0ebn6xsDt+shSpOFxwwF0LNI8BJgTU7+jVhPK
l7IE6CC3RdjJGJG35BBHPFMR1UlVM2PU2JQv7RLLAoufkKMmxI7TAi8CGpjU2RvL
cqndnaH9HJ9qvEBdoz2MfV3lbHeFGMpr3oqu9Xw6tJ4WR3ERaxBZZh+l9vuIWyK1
1JnOC0SzmSD36htPBab7pcyqNosb1tkohxxLs4y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jnYXCS
3qKufnc1RPb36s8a4LYBITKBHzxg+0/xmcU9idIK/i8eua3mXoLiQ2xzwPBF2GSw
yGA=
=tw/F
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -73,12 +73,10 @@ func (c *controlBox) readControlFile() error {
// log.Warn("not sure what to do with Package", c.Package.String(), value)
// }
case "Architecture":
// todo: add logic to find OS arch
if c.Architecture.String() != value {
log.Warn("not sure what to do with Architecture", c.Architecture.String(), value)
if value == "noarch" {
log.Warn("attempting to set noarch")
c.Architecture.SetText(value)
}
log.Warn("attempting to set arch to", value)
c.Architecture.SetText(value)
}
default: