This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:Miouyouyou/configurator into Miouyo…
…uyou-main
- Loading branch information
Showing
25 changed files
with
299 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ncurses |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Determine the CPU frequency |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
./install.sh |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/sh | ||
|
||
abort() | ||
{ | ||
local message=${1} | ||
|
||
echo $message | ||
exit 1 | ||
} | ||
|
||
MAIN_FILES="configuration library softwares tools README.md" | ||
DESC_FILES="DESC DESC.fr DESC.ja DESC.zh_CN" | ||
MODES="cli gui" | ||
UI_FILES="ui" | ||
PACKAGING_FILES="build/DEPS.main build/POSTINST.sh" | ||
|
||
cp ${DESC_FILES} "armbian" && | ||
mkdir -p "armbian/all-archs" && | ||
cp ${PACKAGING_FILES} "armbian" | ||
|
||
[[ $? -eq 0 ]] || abort "Could copy the basic armbian dependency files" | ||
|
||
for mode in ${MODES} | ||
do | ||
mkdir -p "armbian/all-archs/${mode}/module" && | ||
cp -r ${MAIN_FILES} "armbian/all-archs/${mode}/module" && | ||
cp "module.${mode}" "armbian/all-archs/${mode}/module/module" && | ||
cp "build/DEPS.${mode}" "armbian/all-archs/${mode}" | ||
done | ||
|
||
[[ $? -eq 0 ]] || abort "Could not copy the modules content" | ||
|
||
cp -r ${UI_FILES} "armbian/all-archs/gui/module" | ||
|
||
[[ $? -eq 0 ]] || abort "Could not copy the UI files" |
Oops, something went wrong.