fix arch 'all' example
This commit is contained in:
parent
fbf9f4e802
commit
df17901f47
|
@ -48,12 +48,12 @@ func newControl(parent *gui.Node) *controlBox {
|
||||||
c.grid.NextRow()
|
c.grid.NextRow()
|
||||||
|
|
||||||
c.Architecture = gadgets.NewBasicDropdown(c.grid, "Architecture")
|
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("amd64")
|
||||||
c.Architecture.AddText("arm")
|
c.Architecture.AddText("arm64")
|
||||||
c.Architecture.AddText("noarch")
|
c.Architecture.SetText("riscv64")
|
||||||
c.Architecture.AddText("src")
|
|
||||||
c.Architecture.SetText("amd64")
|
|
||||||
c.grid.NextRow()
|
c.grid.NextRow()
|
||||||
|
|
||||||
c.InstallPath = gadgets.NewBasicCombobox(c.grid, "Install Path")
|
c.InstallPath = gadgets.NewBasicCombobox(c.grid, "Install Path")
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
|
|
||||||
|
# this is how the mirrors.wit.com debian package is created
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
Build-Depends:
|
Source:
|
||||||
Package: mirrors.wit.com
|
Package: mirrors.wit.com
|
||||||
|
Build-Depends:
|
||||||
Maintainer: Jeff Carr <jcarr@wit.com>
|
Maintainer: Jeff Carr <jcarr@wit.com>
|
||||||
Packager: Jeff Carr <jcarr@wit.com>
|
Packager: Jeff Carr <jcarr@wit.com>
|
||||||
Architecture: noarch
|
Architecture: all
|
||||||
Depends:
|
Depends:
|
||||||
URL: https://mirrors.wit.com/
|
URL: https://mirrors.wit.com/
|
||||||
Recommends:
|
Recommends:
|
||||||
Version: 0.0.3
|
Version: 0.0.6
|
||||||
Description: apt keys and source file
|
Description: apt keys and source file
|
||||||
This was packaged with go-deb from go.wit.com
|
This was packaged with go-deb from go.wit.com
|
||||||
|
|
|
@ -1,41 +1,41 @@
|
||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
mQGNBGclJM8BDAC2IEoi7FeQjqOUXliXEwwbtpCpMpRFHBNGtY475Noah/HY12AI
|
mQGJBGclv30BC+C8IqGbd/Nm875TnpTgDEtXUQEc31/NyLPmyJ3fuVlAWAscu6vA
|
||||||
xirECOjWoD3CojsGEvP7L+QUYa/XsRv35SqSS36ZpTnT9+8PD/I3Ezsp/6Obqahs
|
vDiN7/THxilDSDgosKAb9q1lB5jjO9FB179yPOnaSWNsUAxeUXxOSkZmGlicnP/8
|
||||||
ojJy+17KqhOLsK5XfdU1v8fuQ7/0ebn6xsDt+shSpOFxwwF0LNI8BJgTU7+jVhPK
|
Ds+4ncwfiqBcUOMO/UBa3VRYuZJ2DUv4Pg9hapLXrEp58tKZpVloVbf1QYlMJ8XQ
|
||||||
l7IE6CC3RdjJGJG35BBHPFMR1UlVM2PU2JQv7RLLAoufkKMmxI7TAi8CGpjU2RvL
|
NK72NLhbVGg3acjF1SBYQ5INFSD8pTJbnNFr2s0gvSAFLJHWw/UOFRi/pXSsH0YG
|
||||||
cqndnaH9HJ9qvEBdoz2MfV3lbHeFGMpr3oqu9Xw6tJ4WR3ERaxBZZh+l9vuIWyK1
|
UXnR7TwTYDEcLtJOZ00u+CiSxWcA89a7Ga/1wn/Z9xEMnCMchU+ncAK21Di+QV3S
|
||||||
1JnOC0SzmSD36htPBab7pcyqNosb1tkohxxLs4yHfy1BdiGJPxIHrozCsrpGCNA2
|
kDFeZNbQ3iUcTu5t2hYFzRXuIWaNLtbvudVbZc0Q16ahXAt569mTkw0ac8vqt7U3
|
||||||
ZrHr8wC1YvSm4Wn7nwwnrRejfyD/nYfwVARPqtk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1QCjOYxcyVCdbhqwwrcNNcQ971PPuNQz4nmCo/AictzEoI+v
|
||||||
sLczLUXZeffAKzDaMsnWMT7yV7mr4QmXW8nuLaYE7AjA2Cl7vnV6a8Uz8r9NJSqd
|
Yf9ZeMTsi5AKR+vUzrgMql5FrHNyrGfji9bdeuLU7ppJ9EwZHxdnLsYfdX3NJP4B
|
||||||
2vJb/dBfCRH4FQGOS8o2oCSlKmSnqLKXZGhWUcgzkmHKkj2H0t7XdS/UDlVPWXQv
|
Wo31QIh+km1Fj1sJVoi4URaRywKfTEk2fwopijYNWgryuwPjSwD2blY6zrH7JVTa
|
||||||
9eUD8MXxPeH7R00Yubn8sMQeaygmrxkIeWk/l1Rh+2Fwc63+uL3FbREQyRxwNuSp
|
N7EqQ6pLm4opH7+cIPnmR4Bm4FXI3K0a0sPLwkP0avEJmpLRCEKZc16EcN7GWP8S
|
||||||
Gx8vuxdbJyUgUbetcjSO2ySKe/3n5N4kzgS0m+/BQ+3dFbZz6x7qIrQzlRxXdH/C
|
Its6iW5jTGIMpxSCjCY6Njryq9rsPqlQ+0B6BYJssnNepkYflhry7blY7VQH8yXX
|
||||||
HPa281thIR/0RHp7VH7yMlzh/iTbOhmyo13F8pcJ9IIKgBBGE5fZDeHri1/8eNEY
|
Rp5qDMkDBXhwCYP6YTyHLMAfaizRjVC5kKCNguzyS6hjktnoOtxJdRkfLNjnYXCS
|
||||||
PI+QhFxd3KZ7dnFrrq1NsXRWk2SfIl5fh1Mk/gPSf2cppkEDKg0cOP2HQOQ3cqUL
|
3qKufnc1RPb36s8a4LYBITKBHzxg+0/xmcU9idIK/i8eua3mXoLiQ2xzwPBF2GSw
|
||||||
X4aT7W+u+dxTCOk1pVyKT3Vo
|
yGA=
|
||||||
=N1/z
|
=tw/F
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
-----END PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
|
@ -73,12 +73,10 @@ func (c *controlBox) readControlFile() error {
|
||||||
// log.Warn("not sure what to do with Package", c.Package.String(), value)
|
// log.Warn("not sure what to do with Package", c.Package.String(), value)
|
||||||
// }
|
// }
|
||||||
case "Architecture":
|
case "Architecture":
|
||||||
|
// todo: add logic to find OS arch
|
||||||
if c.Architecture.String() != value {
|
if c.Architecture.String() != value {
|
||||||
log.Warn("not sure what to do with Architecture", c.Architecture.String(), value)
|
log.Warn("attempting to set arch to", value)
|
||||||
if value == "noarch" {
|
c.Architecture.SetText(value)
|
||||||
log.Warn("attempting to set noarch")
|
|
||||||
c.Architecture.SetText(value)
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue