Switch common, storage and image to monorepo.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
This commit is contained in:
Jan Kaluza
2025-09-01 10:52:33 +02:00
parent dedeb24e9f
commit a98154a978
1258 changed files with 3187 additions and 3716 deletions

View File

@@ -1,3 +1,4 @@
//go:build !cgo
// +build !cgo
// Copyright 2018 psgo authors
@@ -21,7 +22,7 @@ package host
import (
"encoding/binary"
"fmt"
"io/ioutil"
"os"
"unsafe"
)
@@ -46,7 +47,7 @@ const (
func getFromAuxv(what uint, whatName string) (uint, error) {
dataLen := int(unsafe.Sizeof(int(0)))
p, err := ioutil.ReadFile("/proc/self/auxv")
p, err := os.ReadFile("/proc/self/auxv")
if err != nil {
return 0, err
}