misc: remove functions now in osutils, update references in project

This commit is contained in:
Clayton Craft
2023-02-20 21:56:21 -08:00
parent 33c61b3c94
commit 0179a0ca5c
5 changed files with 9 additions and 73 deletions

View File

@@ -22,6 +22,7 @@ import (
"gitlab.com/postmarketOS/postmarketos-mkinitfs/internal/filelist/modules"
"gitlab.com/postmarketOS/postmarketos-mkinitfs/internal/filelist/osksdl"
"gitlab.com/postmarketOS/postmarketos-mkinitfs/internal/misc"
"gitlab.com/postmarketOS/postmarketos-mkinitfs/internal/osutil"
"gitlab.com/postmarketOS/postmarketos-mkinitfs/pkgs/deviceinfo"
)
@@ -63,7 +64,7 @@ func main() {
defer misc.TimeFunc(time.Now(), "mkinitfs")
kernVer, err := misc.GetKernelVersion()
kernVer, err := osutil.GetKernelVersion()
if err != nil {
log.Println(err)
retCode = 1