Skip to content

Commit

Permalink
fix: rock4cplus build and missing from installers
Browse files Browse the repository at this point in the history
Fixes #10

Signed-off-by: Tom Plant <[email protected]>
Signed-off-by: Andrey Smirnov <[email protected]>
  • Loading branch information
pl4nty authored and smira committed Apr 8, 2024
1 parent 50e082e commit 2f7901a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions installers/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies:
- stage: rock64
- stage: rockpi4
- stage: rockpi4c
- stage: rock4cplus
- stage: profiles
- stage: u-boot-nanopi-r4s
platform: linux/arm64
Expand Down
2 changes: 1 addition & 1 deletion installers/rock4cplus/src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (i *rock4cplus) GetOptions(extra rock4cplusExtraOptions) (overlay.Options,
}, nil
}

func (i *rock4cplus) Install(options overlay.InstallOptions[rockPi4cExtraOptions]) error {
func (i *rock4cplus) Install(options overlay.InstallOptions[rock4cplusExtraOptions]) error {
var f *os.File

f, err := os.OpenFile(options.InstallDisk, os.O_RDWR|unix.O_CLOEXEC, 0o666)
Expand Down

0 comments on commit 2f7901a

Please sign in to comment.