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

@@ -12,6 +12,7 @@ import (
"gitlab.com/postmarketOS/postmarketos-mkinitfs/internal/filelist"
"gitlab.com/postmarketOS/postmarketos-mkinitfs/internal/misc"
"gitlab.com/postmarketOS/postmarketos-mkinitfs/internal/osutil"
)
type Modules struct {
@@ -31,7 +32,7 @@ func New(modulesList []string, modulesListPath string) *Modules {
func (m *Modules) List() (*filelist.FileList, error) {
log.Println("- Including kernel modules")
kernVer, err := misc.GetKernelVersion()
kernVer, err := osutil.GetKernelVersion()
if err != nil {
return nil, err
}