Recent Releases of u-root
u-root - Updates for Tamago (bare metal) and converting commands to packages
There are a lot of changes here, the two most significant being better support for Tamago and the "packagization" of many commands so that other projects (e.g. charmbracelet) can more easily integrate our code.
- Go
Published by rminnich 6 months ago
u-root - v0.14.0 - breaking u-root build system changes
[!IMPORTANT] TL;DR: When Go modules are enabled, you won't be able to run
u-rootfrom any arbitrary directory after this release.u-rootmust be run somewhere with a Go module or Go workspace. (WithGO111MODULE=offthe behavior should be as it always has been.)
u-rootwill now work exactly whengo buildworks as well.Use Go workspaces to compile commands from multiple modules together locally. A tool called goanywhere can create a workspace on the fly. Check out the README for more.
Go workspaces are not as suitable to be committed to a git repository. The recommended method for source-control-committed multi-module commands is described by the mkuimage README.
This change pulls in https://github.com/u-root/gobusybox/pull/110, in which we stop supporting module builds without a go.mod. In essence, from this point forward, the u-root tool will support builds exactly when go build and go list also work. https://github.com/u-root/gobusybox/pull/110 reduces a lot of maintenance burden, trivially starts supporting Go workspaces and Go module replace directives, and increases gobusybox code's readability.
Multi-module builds can be done easily with standard Go methods, as described in the README. Go workspaces, vendored Go workspaces, Go modules, and vendored Go modules are all supported. Completely offline builds can easily done with vendored Go modules or workspaces.
For ease of use, the goanywhere tool was created. goanywhere creates a temporary directory with a Go workspace of the given commands, and then execs a binary passing along the Go command paths. Use like goanywhere ./u-root/cmds/core/{init,gosh} ./cpu/cmds/cpud -- u-root [other u-root args]. This approaches the easy usability of u-root up to this point.
goanywhere does not work with templates. goanywhere only accepts file system paths at this time.
This also fixes the issue where binary mode builds didn't always work in the same cases where gbb builds worked. Both are now always supported in the exact same circumstances.
This change also pulls in https://github.com/u-root/mkuimage/pull/28, in which we support generic template YAML files named ".mkuimage.yaml" in the current working directory or any of its parents. Templates support the existing command expansions, but also support configs (invoked with u-root -config=$config) in which one can specify build configuration and mixed-builder (bb/binary) builds. They will be documented in a README at a later time.
[!NOTE]
If you have any issues, please file an issue and use the last release before this change, which is
v0.13.1.
What's Changed
- cmds/core/df: remove redurant else by @binjip978 in https://github.com/u-root/u-root/pull/2933
- Add a playbook entry showing how to set verbose init by @rminnich in https://github.com/u-root/u-root/pull/2934
- pkg/dt: fix revive superfluous-else linter by @binjip978 in https://github.com/u-root/u-root/pull/2936
- Breaking change: u-root works exactly when go build or go list also work. by @hugelgupf in https://github.com/u-root/u-root/pull/2923
Full Changelog: https://github.com/u-root/u-root/compare/v0.13.1...v0.14.0
- Go
Published by hugelgupf about 2 years ago
u-root - v0.13.1
TL;DR
Maintenance release before the anticipated breaking change of https://github.com/u-root/u-root/pull/2923.
2914 fixed a DHCP client forever hang introduced by #2845 in cases where the link never comes up.
cmds/boot/{systemboot,fbnetboot,localboot}have been moved tocmds/exp/{systemboot,fbnetboot,localboot}as they are less maintained than the remaining boot commands incmds/boot.
What's Changed
- Enable GOCOVERDIR test coverage on dhclient test by @hugelgupf in https://github.com/u-root/u-root/pull/2905
- Modify boot.OSImages by @hugelgupf in https://github.com/u-root/u-root/pull/2902
- Collect pxeboot coverage by @hugelgupf in https://github.com/u-root/u-root/pull/2910
- Update uio by @hugelgupf in https://github.com/u-root/u-root/pull/2909
- update golangci-lint by @binjip978 in https://github.com/u-root/u-root/pull/2908
- Swap ubinary.NativeEndian for binary.NativeEndian by @hugelgupf in https://github.com/u-root/u-root/pull/2913
- dhclient: actually time out on DAD & routing by @hugelgupf in https://github.com/u-root/u-root/pull/2914
- move golangci-lint to config file by @binjip978 in https://github.com/u-root/u-root/pull/2912
- fix ST1005 incorrectly formatted error string by @binjip978 in https://github.com/u-root/u-root/pull/2915
- pkg/boot/bzimage: type should have the same receiver name by @binjip978 in https://github.com/u-root/u-root/pull/2916
- tools/testramfs: simplify clone flags by @binjip978 in https://github.com/u-root/u-root/pull/2917
- An update to vmtest by @hugelgupf in https://github.com/u-root/u-root/pull/2918
- pkg/spidev: uintptr can't be negative by @binjip978 in https://github.com/u-root/u-root/pull/2919
- fix deferring close before checking error by @binjip978 in https://github.com/u-root/u-root/pull/2920
- fix Printf with dynamic first argument and no further arguments by @binjip978 in https://github.com/u-root/u-root/pull/2921
- cmds/exp/ectool: add explicit type to constants by @binjip978 in https://github.com/u-root/u-root/pull/2922
- Remove kr/pty dependency by @hugelgupf in https://github.com/u-root/u-root/pull/2925
- Update README.md for Go version 1.21 by @johnnylinwiwynn in https://github.com/u-root/u-root/pull/2927
- nit: update precompiled arch kernel image url by @leongross in https://github.com/u-root/u-root/pull/2930
- fix linter version by @binjip978 in https://github.com/u-root/u-root/pull/2931
- Move less-maintained boot commands by @hugelgupf in https://github.com/u-root/u-root/pull/2924
Full Changelog: https://github.com/u-root/u-root/compare/v0.13.0...v0.13.1
- Go
Published by hugelgupf about 2 years ago
u-root - v0.13.0
Summary
- gosh is now the default shell. Head on over to https://github.com/u-root/u-root/discussions/2900 if you have comments.
- elvish is scheduled for deletion in v0.14.0. Head on over to https://github.com/u-root/u-root/discussions/2900 if you have comments.
- flash (SPI) tools have gotten a lot of improvements, try out the
cmds/fwtools/flashcommand! Thank you @rminnich! - new commands:
cmds/core/nohup, like the regularnohuputility ("invoke a utility immune to hangups"). Thank you @binjip978!cmds/exp/dumpmemmap, parses and dumps every interpretation of physical memory available on the system (/proc/iomem,/sys/firmware/memmap,/sys/firmware/fdt, and/sys/kernel/debug/memblock).
- kexec tooling has received cleanups, unit testing, and integration test coverage collection.
What's Changed
- build(deps): bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 by @dependabot in https://github.com/u-root/u-root/pull/2842
- Increase test timeout to 15m by @hugelgupf in https://github.com/u-root/u-root/pull/2844
- dhclient: ensure DHCPv6 address is routable if using non-multicast address by @hugelgupf in https://github.com/u-root/u-root/pull/2845
- fix the mtd test if /dev/mtd0 can not be opened by @rminnich in https://github.com/u-root/u-root/pull/2846
- flash/op: add String() and Bytes() for OpCode by @rminnich in https://github.com/u-root/u-root/pull/2847
- Spidevchip by @rminnich in https://github.com/u-root/u-root/pull/2848
- pkg/flash: update flash to use chips package by @rminnich in https://github.com/u-root/u-root/pull/2849
- pkg/acpi: lift loop condition and remove Sprintf by @binjip978 in https://github.com/u-root/u-root/pull/2851
- fwtools/spidev: use the ID function from pkg spidev by @rminnich in https://github.com/u-root/u-root/pull/2853
- pkg/impi/ocp: remove comparison with boolean constants by @binjip978 in https://github.com/u-root/u-root/pull/2855
- Update vmtest, expand arm testing by @hugelgupf in https://github.com/u-root/u-root/pull/2857
- Update spidev command to use spidev.id by @rminnich in https://github.com/u-root/u-root/pull/2854
- pkg/gpio: wrap errors and remove second trim by @binjip978 in https://github.com/u-root/u-root/pull/2858
- Ping using x/net/icmp by @binjip978 in https://github.com/u-root/u-root/pull/2839
- pkg/tarutil: use testdata and a bit of test coverage by @binjip978 in https://github.com/u-root/u-root/pull/2860
- pkg/dhclient: wrap errors by @binjip978 in https://github.com/u-root/u-root/pull/2863
- wrap erros by @binjip978 in https://github.com/u-root/u-root/pull/2865
- New Docker Images & GH workflow to build them by @hugelgupf in https://github.com/u-root/u-root/pull/2867
- Retrigger build by @hugelgupf in https://github.com/u-root/u-root/pull/2868
- Enable console output for x86 kernel by @hugelgupf in https://github.com/u-root/u-root/pull/2869
- Pin versions in vmtest.yaml and enable multiboot and uefiboot tests by @hugelgupf in https://github.com/u-root/u-root/pull/2870
- Capitalize log statements by @hugelgupf in https://github.com/u-root/u-root/pull/2866
- cmds/exp/syscallfilter: build with more architectures by @binjip978 in https://github.com/u-root/u-root/pull/2871
- Collect coverage from kexec load commands by @hugelgupf in https://github.com/u-root/u-root/pull/2873
- Build edk2 univeral payload by @hugelgupf in https://github.com/u-root/u-root/pull/2875
- pkg/strace: fix linux/arm64 test by @binjip978 in https://github.com/u-root/u-root/pull/2876
- Spidevwrite by @rminnich in https://github.com/u-root/u-root/pull/2859
- kexec: memory map improvements (incl dumpmemmap command) by @hugelgupf in https://github.com/u-root/u-root/pull/2864
- cmds/core/hohup: nohup command by @binjip978 in https://github.com/u-root/u-root/pull/2861
- vfile: save memory by removing TOCTTOU protections by @hugelgupf in https://github.com/u-root/u-root/pull/2880
- memmap: rename /sys/firmware/memmap parser by @hugelgupf in https://github.com/u-root/u-root/pull/2881
- wrap errors by @binjip978 in https://github.com/u-root/u-root/pull/2879
- kexec: switch segments to use []byte by @hugelgupf in https://github.com/u-root/u-root/pull/2883
- FindSpace with options by @hugelgupf in https://github.com/u-root/u-root/pull/2878
- termios: support netbsd by @caarlos0 in https://github.com/u-root/u-root/pull/2882
- dt: API to create device trees compactly by @hugelgupf in https://github.com/u-root/u-root/pull/2885
- Tests for arm64 kexec, eliminate KexecOpts.Mmap{...} options by @hugelgupf in https://github.com/u-root/u-root/pull/2884
- kexec: remove JSON confg file by @hugelgupf in https://github.com/u-root/u-root/pull/2887
- fwtools/flash: allow user to set size and offset by @rminnich in https://github.com/u-root/u-root/pull/2889
- Reduce memory usage of amd64 userspace kexec by @hugelgupf in https://github.com/u-root/u-root/pull/2888
- Sfdp rules by @rminnich in https://github.com/u-root/u-root/pull/2890
- kexec arm64: also test memory map parsing logic, add ability to ignore additional pieces of physical memory by @hugelgupf in https://github.com/u-root/u-root/pull/2901
- Replace pkg/uio with uio/uio by @hugelgupf in https://github.com/u-root/u-root/pull/2896
- kexec,memory: some utilities by @hugelgupf in https://github.com/u-root/u-root/pull/2903
- Make gosh default shell by @hugelgupf in https://github.com/u-root/u-root/pull/2904
New Contributors
- @caarlos0 made their first contribution in https://github.com/u-root/u-root/pull/2882
Full Changelog: https://github.com/u-root/u-root/compare/v0.12.0...v0.13.0
- Go
Published by hugelgupf about 2 years ago
u-root - v0.12.0
A lot has changed in ~1 year. The build system has better module support. Some improvements to the boot infrastructure. A lot of tinygo support. A better gosh shell.
What's Changed
- cmds/core/time: remove testutil by @binjip978 in https://github.com/u-root/u-root/pull/2602
- cmds/core/cmp: major cleanup; cmds/core/comm: minor cleanup, tinygo test works for both now by @rminnich in https://github.com/u-root/u-root/pull/2612
- cmds/core/time: make it build with tinygo, tidy up by @rminnich in https://github.com/u-root/u-root/pull/2613
- pkg/strace/epsocket: fix handling of IP4/IP6 by @rminnich in https://github.com/u-root/u-root/pull/2614
- vfile: add ability to ignore time conflicts by @hugelgupf in https://github.com/u-root/u-root/pull/2617
- cmds/exp/rush: make it build with tinygo by @rminnich in https://github.com/u-root/u-root/pull/2616
- boot: Load Options by @hugelgupf in https://github.com/u-root/u-root/pull/2618
- cmds/core/find: move command from main and add tests by @binjip978 in https://github.com/u-root/u-root/pull/2619
- boot: improved Load API by @hugelgupf in https://github.com/u-root/u-root/pull/2620
- cmds/core: rename commands in os/exec style by @binjip978 in https://github.com/u-root/u-root/pull/2624
- cmds/core/tar: add errors and end to end test by @binjip978 in https://github.com/u-root/u-root/pull/2625
- Introduce ipmi.OpenPath and make blobs.BlobStats public. by @chrisfenner in https://github.com/u-root/u-root/pull/2621
- Upgrade dhcp by @hugelgupf in https://github.com/u-root/u-root/pull/2627
- replace raw casts with a helper type for blob IDs by @chrisfenner in https://github.com/u-root/u-root/pull/2630
- boot: serialize downloaded image info for reload by @10000TB in https://github.com/u-root/u-root/pull/2629
- cmds/core/tail: fix follow by @binjip978 in https://github.com/u-root/u-root/pull/2628
- build(deps): bump golang.org/x/net from 0.1.0 to 0.7.0 by @dependabot in https://github.com/u-root/u-root/pull/2623
- pkg/ldd: filter dependencies without a filesystem path by @florianGla in https://github.com/u-root/u-root/pull/2633
- Tinygorush by @rminnich in https://github.com/u-root/u-root/pull/2634
- build(deps): bump golang.org/x/crypto from 0.0.0-20210921155107-089bfa567519 to 0.1.0 by @dependabot in https://github.com/u-root/u-root/pull/2636
- cmds/core/mktemp: remove testutil by @binjip978 in https://github.com/u-root/u-root/pull/2626
- menu: allow passing in loadOptions by @10000TB in https://github.com/u-root/u-root/pull/2637
- cmds/core/free: remove global flags and add tests by @binjip978 in https://github.com/u-root/u-root/pull/2638
- Remove the dependency on un-idiomatic Go strings for IPMI blobs. by @chrisfenner in https://github.com/u-root/u-root/pull/2640
- id remove testutils, add more tests by @binjip978 in https://github.com/u-root/u-root/pull/2641
- u-root command: add checkArgs function by @rminnich in https://github.com/u-root/u-root/pull/2642
- Simplify smbios_transfer and fix typos by @chrisfenner in https://github.com/u-root/u-root/pull/2643
- Add allowlist filtering for PCI devices by @andrewsun2898 in https://github.com/u-root/u-root/pull/2639
- cmds/core/base64: remove deprecated ioutil by @binjip978 in https://github.com/u-root/u-root/pull/2644
- cmds/core/gosh: replace go-prompt with bubbline by @MDr164 in https://github.com/u-root/u-root/pull/2606
- cmds/core/tail: use io.SeekEnd instead of deprecated os.SEEK_END by @binjip978 in https://github.com/u-root/u-root/pull/2645
- Dd for tinygo by @rminnich in https://github.com/u-root/u-root/pull/2646
- Tinygoupdate by @rminnich in https://github.com/u-root/u-root/pull/2647
- pkg/uzip: remove deprecated by @binjip978 in https://github.com/u-root/u-root/pull/2648
- cmds/exp/ssh: remove ioutil and double import by @binjip978 in https://github.com/u-root/u-root/pull/2650
- Add CreateTeeWriter function to logutil by @andrewsun2898 in https://github.com/u-root/u-root/pull/2652
- cmds/core/hexdump: use constants and os.WriteFile by @rminnich in https://github.com/u-root/u-root/pull/2651
- grep remove testutil by @binjip978 in https://github.com/u-root/u-root/pull/2649
- cmds/core/time: add -p flag to time command by @binjip978 in https://github.com/u-root/u-root/pull/2653
- cmds/core/wc: fix bug with early quit if file is not exists by @binjip978 in https://github.com/u-root/u-root/pull/2654
- Add correct tags and files such that govulncheck works by @rminnich in https://github.com/u-root/u-root/pull/2656
- netboot: trim down heap allocations. by @10000TB in https://github.com/u-root/u-root/pull/2655
- cmds/core/grep: fix line number (-n) by @binjip978 in https://github.com/u-root/u-root/pull/2658
- Strings format by @binjip978 in https://github.com/u-root/u-root/pull/2663
- Add file limit to cpio file creation by @andrewsun2898 in https://github.com/u-root/u-root/pull/2659
- cmds/core/wget: allow args after URL by @rminnich in https://github.com/u-root/u-root/pull/2672
- tamago: update to tamago 1.20.3 by @rminnich in https://github.com/u-root/u-root/pull/2673
- README.md: adjust -files documentation mistake and example by @rminnich in https://github.com/u-root/u-root/pull/2674
- pkg/boot/grub: Add multiboot2 and module2 grub keywords by @ShellyChang110 in https://github.com/u-root/u-root/pull/2664
- cmds/core/gosh: make autocomplete disable-able by @rminnich in https://github.com/u-root/u-root/pull/2675
- cmds/core/grep: add fixed strings flag by @binjip978 in https://github.com/u-root/u-root/pull/2677
- build(deps): bump github.com/cloudflare/circl from 1.1.0 to 1.3.3 by @dependabot in https://github.com/u-root/u-root/pull/2679
- Idea on how to fix: fork syscall bug by @robertmin1 in https://github.com/u-root/u-root/pull/2671
- cmds/core/grep: fix -l flag not showing filenames by @binjip978 in https://github.com/u-root/u-root/pull/2680
- cmds/core/grep: fix empty fixed-string by @binjip978 in https://github.com/u-root/u-root/pull/2683
- gosh: add a -interactive switch to disable terminal noise by @rminnich in https://github.com/u-root/u-root/pull/2684
- sync roadmap with current state of core commands by @binjip978 in https://github.com/u-root/u-root/pull/2686
- README: fix reference to bb docs, add note on templates by @orangecms in https://github.com/u-root/u-root/pull/2688
- HSS: Support reading HSS from EEPROM by @ylchenfj in https://github.com/u-root/u-root/pull/2690
- README: use internal references in description, dedup notes on embedding initramfs by @orangecms in https://github.com/u-root/u-root/pull/2689
- sort -C and -u flags by @binjip978 in https://github.com/u-root/u-root/pull/2691
- Add basic GRUB default boot entry support by @ShellyChang110 in https://github.com/u-root/u-root/pull/2693
- cmds/core/sort: add -f flag consider all chars uppercase by @binjip978 in https://github.com/u-root/u-root/pull/2694
- cmds/core/sort: add -b ignore blanks option by @binjip978 in https://github.com/u-root/u-root/pull/2695
- Remove unused DCE test by @hugelgupf in https://github.com/u-root/u-root/pull/2696
- cmds/core/sort: ignore blanks break ties by length by @binjip978 in https://github.com/u-root/u-root/pull/2697
- fix typo in help flags by @elee1766 in https://github.com/u-root/u-root/pull/2698
- Add stdin, stdout, stderr options to StartShell struct by @andrewsun2898 in https://github.com/u-root/u-root/pull/2699
- cmds/core/gosh: reintroduce nocomp mode without bubbline by @MDr164 in https://github.com/u-root/u-root/pull/2685
- cmds/core/sort: add numeric flag by @binjip978 in https://github.com/u-root/u-root/pull/2704
- pkg/dt: look-up direct children and prune sub-trees by @DavidDecotigny in https://github.com/u-root/u-root/pull/2708
- update to go-tpm 0.9.0 by @chrisfenner in https://github.com/u-root/u-root/pull/2703
- pkg/ldd: show Stderr output of interpreter in case of ExitError by @jochil in https://github.com/u-root/u-root/pull/2710
- grep improvements by @elee1766 in https://github.com/u-root/u-root/pull/2712
- build(deps): bump google.golang.org/grpc from 1.27.1 to 1.53.0 by @dependabot in https://github.com/u-root/u-root/pull/2713
- Update containerd/console version by @andrewsun2898 in https://github.com/u-root/u-root/pull/2715
- cmds/core/grep: remove unused struct and rearrange fields by @binjip978 in https://github.com/u-root/u-root/pull/2714
- use -s and -q as quite, remove global params by @binjip978 in https://github.com/u-root/u-root/pull/2716
- boot/localboot/grub.go: Fix typo by @ArthurHeymans in https://github.com/u-root/u-root/pull/2717
- cmds/core/find: add missing file types by @binjip978 in https://github.com/u-root/u-root/pull/2719
- Set default bubbline window size by @andrewsun2898 in https://github.com/u-root/u-root/pull/2720
- Introduce basic test for pkg/tss by @chrisfenner in https://github.com/u-root/u-root/pull/2722
- pkg/ls:FromOSFileInfo: fix a panic if fi.Sys() returns the wrong type by @rminnich in https://github.com/u-root/u-root/pull/2723
- kcmdline: improve command-line parsing & tests by @hugelgupf in https://github.com/u-root/u-root/pull/2718
- Fix argument name for shasum command by @a-urth in https://github.com/u-root/u-root/pull/2709
- Update README.md by @hugelgupf in https://github.com/u-root/u-root/pull/2729
- gosh: make tab complete optional at build by @hugelgupf in https://github.com/u-root/u-root/pull/2728
- Update gobusybox by @hugelgupf in https://github.com/u-root/u-root/pull/2727
- update test images by @rminnich in https://github.com/u-root/u-root/pull/2732
- strace: add riscv64 to pkg and cmd by @rminnich in https://github.com/u-root/u-root/pull/2730
- cmds/core/ping: fix counter bug by @binjip978 in https://github.com/u-root/u-root/pull/2724
- Change to use 'pxeboot' and 'boot' commands for systemboot since they are better maintained and used by @ShellyChang110 in https://github.com/u-root/u-root/pull/2705
- Add a playbook for solving problems by @rminnich in https://github.com/u-root/u-root/pull/2731
- netcat tests by @binjip978 in https://github.com/u-root/u-root/pull/2733
- cmds/core/netcat: fix connection refused error in test by @binjip978 in https://github.com/u-root/u-root/pull/2734
- Update Gobusybox by @hugelgupf in https://github.com/u-root/u-root/pull/2735
- pkg/ls: add support for windows by @rminnich in https://github.com/u-root/u-root/pull/2736
- cmds/core/cmp: remove global flags by @binjip978 in https://github.com/u-root/u-root/pull/2738
- cmds/core/comm: remove global flags by @binjip978 in https://github.com/u-root/u-root/pull/2739
- Cpio windows by @rminnich in https://github.com/u-root/u-root/pull/2740
- cmds/core/echo: remove global flags by @binjip978 in https://github.com/u-root/u-root/pull/2742
- cmds/core/dmesg: remove global flags and return err by @binjip978 in https://github.com/u-root/u-root/pull/2743
- cmds/core/netcat: add support for udp by @binjip978 in https://github.com/u-root/u-root/pull/2737
- cmds/core/pwd: add test for follow links by @binjip978 in https://github.com/u-root/u-root/pull/2744
- cmds/core/scp: fix staticcheck issue by @binjip978 in https://github.com/u-root/u-root/pull/2747
- cmds/core/mkdir: remove global flags by @binjip978 in https://github.com/u-root/u-root/pull/2749
- gzip options tests and simple command test by @binjip978 in https://github.com/u-root/u-root/pull/2751
- cmds/core/uniq: remove global flags by @binjip978 in https://github.com/u-root/u-root/pull/2753
- cmds/exp/tac: tac tests by @binjip978 in https://github.com/u-root/u-root/pull/2754
- cmds/core/tail: simplify loops and remove global flags by @binjip978 in https://github.com/u-root/u-root/pull/2756
- cmds/core/cpio: add tests for list by @binjip978 in https://github.com/u-root/u-root/pull/2759
- pkg/mount/magic.go: Add BTRFS magic value by @CodingVoid in https://github.com/u-root/u-root/pull/2752
- cmds/core/mkdir: fix empty mode test if umask is not 022 by @binjip978 in https://github.com/u-root/u-root/pull/2760
- Fix /etc/ lossage in CreateRootfs by @rjkroege in https://github.com/u-root/u-root/pull/2746
- pkg/boot/linux.go: Decompress kernel before doing kexec by @CodingVoid in https://github.com/u-root/u-root/pull/2755
- cmds/core/seq: remove global flags, reflect and simplify tests by @binjip978 in https://github.com/u-root/u-root/pull/2761
- update go-tpm by @chrisfenner in https://github.com/u-root/u-root/pull/2764
- cmds/core/ts: add tests by @binjip978 in https://github.com/u-root/u-root/pull/2765
- cmds/contrib: rename files so it only tries to build on linux by @rminnich in https://github.com/u-root/u-root/pull/2766
- cmds/core/mv: remove globals flags by @binjip978 in https://github.com/u-root/u-root/pull/2767
- cmds/core/more: add more tests by @binjip978 in https://github.com/u-root/u-root/pull/2770
- cmds/core/uname: add tests, remove domain flag by @binjip978 in https://github.com/u-root/u-root/pull/2772
- cmds/core/tee: remove globals by @rminnich in https://github.com/u-root/u-root/pull/2773
- cmds/core/hostname: tests and change build suffix by @binjip978 in https://github.com/u-root/u-root/pull/2776
- build(deps): bump golang.org/x/net from 0.7.0 to 0.17.0 by @dependabot in https://github.com/u-root/u-root/pull/2780
- cmds/exp/crc: add tests by @binjip978 in https://github.com/u-root/u-root/pull/2777
- move contrib/ to fwtools/ by @rminnich in https://github.com/u-root/u-root/pull/2779
- /pkg/hsskey: Include backup HSS by @Fusxfaranto in https://github.com/u-root/u-root/pull/2771
- cmds/core/xargs: minimal xargs, just passing args by @binjip978 in https://github.com/u-root/u-root/pull/2782
- Add cmds/exp/vmboot as experimental bootloader by @ChriMarMe in https://github.com/u-root/u-root/pull/2778
- pci: fix json annotation for BARs by @vamposdecampos in https://github.com/u-root/u-root/pull/2790
- pkg/align: add support for baremetal (tinygo / tamago) by @rminnich in https://github.com/u-root/u-root/pull/2794
- chore: remove refs to deprecated io/ioutil by @testwill in https://github.com/u-root/u-root/pull/2792
- gosh: correctly set up history file by @rminnich in https://github.com/u-root/u-root/pull/2798
- cmds/exp/freq: remove globals by @binjip978 in https://github.com/u-root/u-root/pull/2789
- cmds/exp/srvfiles: add tests by @binjip978 in https://github.com/u-root/u-root/pull/2799
- build(deps): bump google.golang.org/grpc from 1.53.0 to 1.56.3 by @dependabot in https://github.com/u-root/u-root/pull/2791
- fbptcat: dump raw contents of FBPT table by @princegeutler in https://github.com/u-root/u-root/pull/2762
- boot/localboot: make initramfs optional by @dpeckett in https://github.com/u-root/u-root/pull/2788
- cpio/utils: use path, not filepath, on archives by @rminnich in https://github.com/u-root/u-root/pull/2803
- Revamp ldd API by @hugelgupf in https://github.com/u-root/u-root/pull/2802
- cmds/core/sync: move sync under linux build tag by @binjip978 in https://github.com/u-root/u-root/pull/2800
- Add a readelf command by @rminnich in https://github.com/u-root/u-root/pull/2801
- Update go to 1.21 in go.mod by @rminnich in https://github.com/u-root/u-root/pull/2804
- cmds/core/xargs: add max-args flag by @binjip978 in https://github.com/u-root/u-root/pull/2806
- Add reading HSS from arbitrary files by @colinmitchell-ggl in https://github.com/u-root/u-root/pull/2793
- cmds/core/cat: make files variadic and io tests by @binjip978 in https://github.com/u-root/u-root/pull/2807
- cmds/core/xargs: add trace flag by @binjip978 in https://github.com/u-root/u-root/pull/2808
- Fix dmesg test so that testtool works in CI by @rminnich in https://github.com/u-root/u-root/pull/2809
- if /dev/fuse does not exist, skip fusermount tests by @rminnich in https://github.com/u-root/u-root/pull/2810
- cmds/core/xargs: add promt flag by @binjip978 in https://github.com/u-root/u-root/pull/2811
- cmds/core: rename lsdrivers and timeout by @binjip978 in https://github.com/u-root/u-root/pull/2812
- tinygobb: update and make it work again by @rminnich in https://github.com/u-root/u-root/pull/2815
- cmds/core/df: skip mount point on permission error by @binjip978 in https://github.com/u-root/u-root/pull/2813
- cmds/core/ntp: fix spelling by @binjip978 in https://github.com/u-root/u-root/pull/2817
- Add our OpenSSF score by @rminnich in https://github.com/u-root/u-root/pull/2816
- remove usage of golint and references in README by @rminnich in https://github.com/u-root/u-root/pull/2818
- fix for staticcheck ST1005 warning by @binjip978 in https://github.com/u-root/u-root/pull/2819
- cmds/core/touch: command with RFC3339 datetime by @binjip978 in https://github.com/u-root/u-root/pull/2820
- cmds/exp/readelf: remove redundant argument by @binjip978 in https://github.com/u-root/u-root/pull/2822
- pkg/ls: create fileinfo_tamago by @rminnich in https://github.com/u-root/u-root/pull/2821
- ls: remove all globals by @rminnich in https://github.com/u-root/u-root/pull/2823
- dhcpv6: correct PreferredLifetime and ValidLifetime got from dhcpv6 l… by @TangYiwei2022 in https://github.com/u-root/u-root/pull/2827
- cmds/core/touch: add access time test by @binjip978 in https://github.com/u-root/u-root/pull/2825
- pkg/securelaunch: integration tests by @pjcolp in https://github.com/u-root/u-root/pull/2824
- build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 by @dependabot in https://github.com/u-root/u-root/pull/2826
- Update dhcp by @hugelgupf in https://github.com/u-root/u-root/pull/2830
- Update gobb by @hugelgupf in https://github.com/u-root/u-root/pull/2829
- pkg/boot/kexec: fix typo in Godoc comment by @orangecms in https://github.com/u-root/u-root/pull/2836
- pkg/dhcplient: remove redurant fmt.Sprintf by @binjip978 in https://github.com/u-root/u-root/pull/2835
- Use new vmtest, move tests to Github Actions, move to Go 1.21 by @hugelgupf in https://github.com/u-root/u-root/pull/2828
- Spidev by @rminnich in https://github.com/u-root/u-root/pull/2838
- cmds/core/chmod: fix issue with multiple files by @binjip978 in https://github.com/u-root/u-root/pull/2837
- Spidev by @rminnich in https://github.com/u-root/u-root/pull/2840
New Contributors
- @chrisfenner made their first contribution in https://github.com/u-root/u-root/pull/2621
- @florianGla made their first contribution in https://github.com/u-root/u-root/pull/2633
- @robertmin1 made their first contribution in https://github.com/u-root/u-root/pull/2671
- @ylchenfj made their first contribution in https://github.com/u-root/u-root/pull/2690
- @elee1766 made their first contribution in https://github.com/u-root/u-root/pull/2698
- @DavidDecotigny made their first contribution in https://github.com/u-root/u-root/pull/2708
- @jochil made their first contribution in https://github.com/u-root/u-root/pull/2710
- @ArthurHeymans made their first contribution in https://github.com/u-root/u-root/pull/2717
- @a-urth made their first contribution in https://github.com/u-root/u-root/pull/2709
- @CodingVoid made their first contribution in https://github.com/u-root/u-root/pull/2752
- @rjkroege made their first contribution in https://github.com/u-root/u-root/pull/2746
- @vamposdecampos made their first contribution in https://github.com/u-root/u-root/pull/2790
- @testwill made their first contribution in https://github.com/u-root/u-root/pull/2792
- @princegeutler made their first contribution in https://github.com/u-root/u-root/pull/2762
- @dpeckett made their first contribution in https://github.com/u-root/u-root/pull/2788
- @TangYiwei2022 made their first contribution in https://github.com/u-root/u-root/pull/2827
Full Changelog: https://github.com/u-root/u-root/compare/v0.11.0...v0.12.0
- Go
Published by hugelgupf about 2 years ago
u-root - v0.11.0
What's Changed
- cmds/core/which: fix default usage by @binjip978 in https://github.com/u-root/u-root/pull/2515
- bump release to v0.10.0 by @MDr164 in https://github.com/u-root/u-root/pull/2516
- pkg/dhclient: Allow custom client v6 port by @birdperson-lives in https://github.com/u-root/u-root/pull/2518
- pkg/syscallfilter: remove test obsoleted by go 1.19 by @rminnich in https://github.com/u-root/u-root/pull/2519
- update golang version of project and testimages to 1.19 by @RiSKeD in https://github.com/u-root/u-root/pull/2510
- Add
-cmdlinetofbnetbootto override kernel cmdline args by @staticfloat in https://github.com/u-root/u-root/pull/2524 - cmds/core/shasum: work with multiple files by @binjip978 in https://github.com/u-root/u-root/pull/2525
- cmds/core/uniq: add ignore case flag by @binjip978 in https://github.com/u-root/u-root/pull/2520
- cmds/core/tail restructure for better test coverage by @binjip978 in https://github.com/u-root/u-root/pull/2526
- pkg/cpio: add utility function WriteRecordsAndDirs by @rminnich in https://github.com/u-root/u-root/pull/2532
- efivarfs: Fix fs_test.go to end with mutable file by @birdperson-lives in https://github.com/u-root/u-root/pull/2531
- cmds/core/tail: fix issue with multiple new lines by @binjip978 in https://github.com/u-root/u-root/pull/2533
- cmds/core/readlink: remove testutil by @binjip978 in https://github.com/u-root/u-root/pull/2534
- Rewrite cpio pkg tests as fuzzy tests by @RiSKeD in https://github.com/u-root/u-root/pull/2528
- fix unchecked errors in cmds/exp/netbootxyz & pkg/boot by @RiSKeD in https://github.com/u-root/u-root/pull/2539
- Fuzzing for grub related parsing by @RiSKeD in https://github.com/u-root/u-root/pull/2535
- cmds/core/ip: parse gateway IP instead of CIDR by @Lencerf in https://github.com/u-root/u-root/pull/2541
- pkg/boot/syslinux: fuzzing for syslinux configs by @RiSKeD in https://github.com/u-root/u-root/pull/2536
- oss-fuzz integration prep: add dictionaries & .options to improve fuz… by @RiSKeD in https://github.com/u-root/u-root/pull/2543
- pkg/pty/pty_test:Skip test if /dev/tty does not exist by @Lencerf in https://github.com/u-root/u-root/pull/2548
- add loong64 for ubinary by @zhangwenlong8911 in https://github.com/u-root/u-root/pull/2545
- termios: Support FreeBSD by @patmaddox in https://github.com/u-root/u-root/pull/2544
- Fix broken link by @leongross in https://github.com/u-root/u-root/pull/2546
- Fix broken CRC32 checks for signed bzimage files. by @abrender in https://github.com/u-root/u-root/pull/2547
- libinit: Implement ErrNoModulesFound by @Foxboron in https://github.com/u-root/u-root/pull/2501
- CI: replace golint with revive and run ineffassign in subdirectories by @RiSKeD in https://github.com/u-root/u-root/pull/2530
- cmds/core/cat: don't pass cmdline args as a [FILE] by @binjip978 in https://github.com/u-root/u-root/pull/2552
- Add missing syscall import in Darwin by @patmaddox in https://github.com/u-root/u-root/pull/2553
- Fix error checking fbnetboot/main.go by @abrender in https://github.com/u-root/u-root/pull/2556
- Improvement: Make gosh work by @ChriMarMe in https://github.com/u-root/u-root/pull/2554
- [fbnetboot] Fix error in retry logic. by @abrender in https://github.com/u-root/u-root/pull/2557
- [fbnetboot] Change type assertion to errors.As by @abrender in https://github.com/u-root/u-root/pull/2558
- pkg/dt: Move kernel-independent parts of parsing to fdt.go by @rminnich in https://github.com/u-root/u-root/pull/2560
- cmds/exp/gosh: fuzzing of gosh cmd by @RiSKeD in https://github.com/u-root/u-root/pull/2555
- pkg/dt: create idiomatic New(), minimize Linux special-ness by @rminnich in https://github.com/u-root/u-root/pull/2561
- [oss-fuzz integration]: misc fixes in fuzzing tests by @RiSKeD in https://github.com/u-root/u-root/pull/2562
- cmds/core/tee add test coverage by @binjip978 in https://github.com/u-root/u-root/pull/2542
- Tamago ci by @rminnich in https://github.com/u-root/u-root/pull/2564
- esxi, ipxe & smbios pkg: additional fuzzing tests by @RiSKeD in https://github.com/u-root/u-root/pull/2565
- cmds/core/wget: remove testutil by @binjip978 in https://github.com/u-root/u-root/pull/2540
- gotest: run benchmarks in VMs by @hugelgupf in https://github.com/u-root/u-root/pull/2581
- Remove old busybox by @hugelgupf in https://github.com/u-root/u-root/pull/2584
- Small independent fixes of #2583 by @hugelgupf in https://github.com/u-root/u-root/pull/2586
- binary builder: basic test by @hugelgupf in https://github.com/u-root/u-root/pull/2587
- Support Go package paths & GBB_PATH by @hugelgupf in https://github.com/u-root/u-root/pull/2588
- Actually compile Go VM tests; halve CircleCI test time by @hugelgupf in https://github.com/u-root/u-root/pull/2589
- pkg/termios: add openbsd support by @bradfitz in https://github.com/u-root/u-root/pull/2593
- cmds/core/tr: increase coverage and remove testutil by @binjip978 in https://github.com/u-root/u-root/pull/2585
- Move gosh to cmds/core by @jensdrenhaus in https://github.com/u-root/u-root/pull/2598
- pkg/termios: fix darwin regression from previous commit, add tests by @bradfitz in https://github.com/u-root/u-root/pull/2594
- Add debugfs to libinit by @ericvh in https://github.com/u-root/u-root/pull/2596
- Add ttyhvc0 to libinit by @ericvh in https://github.com/u-root/u-root/pull/2597
- Forthcleanup -- fix up code, tests, etc. by @rminnich in https://github.com/u-root/u-root/pull/2601
- cifuzz: do not report non-reproducible crashes by @RiSKeD in https://github.com/u-root/u-root/pull/2600
- cmds/core/cat: handle "-" to comply with POSIX by @binjip978 in https://github.com/u-root/u-root/pull/2567
- Fix follow mode in tail by @ericvh in https://github.com/u-root/u-root/pull/2595
- [mktemp] Remove hard coded /tmp in mktemp_test.go by @abrender in https://github.com/u-root/u-root/pull/2563
- cmds/core/ip: fix arg parsing by @Lencerf in https://github.com/u-root/u-root/pull/2605
- Tinygoize by @rminnich in https://github.com/u-root/u-root/pull/2604
- bump to v-1.11.0 by @rminnich in https://github.com/u-root/u-root/pull/2608
New Contributors
- @birdperson-lives made their first contribution in https://github.com/u-root/u-root/pull/2518
- @staticfloat made their first contribution in https://github.com/u-root/u-root/pull/2524
- @zhangwenlong8911 made their first contribution in https://github.com/u-root/u-root/pull/2545
- @patmaddox made their first contribution in https://github.com/u-root/u-root/pull/2544
- @leongross made their first contribution in https://github.com/u-root/u-root/pull/2546
- @bradfitz made their first contribution in https://github.com/u-root/u-root/pull/2593
- @ericvh made their first contribution in https://github.com/u-root/u-root/pull/2596
Full Changelog: https://github.com/u-root/u-root/compare/v0.10.0...v0.11.0
- Go
Published by MDr164 about 3 years ago