mirror of
https://github.com/fbelavenuto/arpl.git
synced 2026-01-04 15:42:07 +08:00
Compare commits
9 Commits
v0.4-alpha
...
v0.4-alpha
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8b9b1439b3 | ||
|
|
da89a97182 | ||
|
|
19ec462570 | ||
|
|
8cc750a527 | ||
|
|
c5ec8f7d24 | ||
|
|
82acaabe26 | ||
|
|
dc7076709c | ||
|
|
eeec01864f | ||
|
|
dc102f5af7 |
3
.github/FUNDING.yml
vendored
Normal file
3
.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# These are supported funding model platforms
|
||||||
|
|
||||||
|
github: fbelavenuto
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -4,7 +4,7 @@ arpl*.img
|
|||||||
arpl*.vmdk
|
arpl*.vmdk
|
||||||
*.zip
|
*.zip
|
||||||
.buildroot
|
.buildroot
|
||||||
test.sh
|
test*.sh
|
||||||
docker/Dockerfile
|
docker/Dockerfile
|
||||||
docker/cache
|
docker/cache
|
||||||
*.bak
|
*.bak
|
||||||
|
|||||||
@@ -45,8 +45,6 @@ sudo cp "${BINARIES_DIR}/rootfs.cpio.xz" "${BINARIES_DIR}/p3/initrd-arpl"
|
|||||||
sudo cp -R "${BOARD_PATH}/p1/"* "${BINARIES_DIR}/p1"
|
sudo cp -R "${BOARD_PATH}/p1/"* "${BINARIES_DIR}/p1"
|
||||||
sudo cp -R "${BOARD_PATH}/p3/"* "${BINARIES_DIR}/p3"
|
sudo cp -R "${BOARD_PATH}/p3/"* "${BINARIES_DIR}/p3"
|
||||||
sync
|
sync
|
||||||
cp "${BINARIES_DIR}/bzImage" ~/bzImage-arpl
|
|
||||||
cp "${BINARIES_DIR}/rootfs.cpio.xz" ~/initrd-arpl
|
|
||||||
|
|
||||||
echo "Unmount image file"
|
echo "Unmount image file"
|
||||||
sudo umount "${BINARIES_DIR}/p1"
|
sudo umount "${BINARIES_DIR}/p1"
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
obey pam restrictions = yes
|
obey pam restrictions = yes
|
||||||
map to guest = Bad User
|
map to guest = Bad User
|
||||||
usershare allow guests = yes
|
usershare allow guests = yes
|
||||||
|
dfree command = /usr/bin/df
|
||||||
|
|
||||||
[arpl]
|
[arpl]
|
||||||
browseable = yes
|
browseable = yes
|
||||||
public = yes
|
public = yes
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
ARPL_VERSION="0.4-alpha7"
|
ARPL_VERSION="0.4-alpha8"
|
||||||
|
|
||||||
# Define paths
|
# Define paths
|
||||||
TMP_PATH="/tmp"
|
TMP_PATH="/tmp"
|
||||||
|
|||||||
@@ -180,6 +180,12 @@ echo -e "User config is on \033[1;32m${USER_CONFIG_FILE}\033[0m"
|
|||||||
echo -e "Default SSH Root password is \033[1;31mRedp1lL-1s-4weSomE\033[0m"
|
echo -e "Default SSH Root password is \033[1;31mRedp1lL-1s-4weSomE\033[0m"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
# Check memory
|
||||||
|
RAM=`free -m | awk '/Mem:/{print$2}'`
|
||||||
|
if [ ${RAM} -le 3500 ]; then
|
||||||
|
echo -e "\033[1;33mYou have less than 4GB of RAM, if errors occur in loader creation, please increase the amount of memory.\033[0m\n"
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir -p "${ADDONS_PATH}"
|
mkdir -p "${ADDONS_PATH}"
|
||||||
mkdir -p "${LKM_PATH}"
|
mkdir -p "${LKM_PATH}"
|
||||||
mkdir -p "${MODULES_PATH}"
|
mkdir -p "${MODULES_PATH}"
|
||||||
|
|||||||
@@ -925,6 +925,10 @@ function updateMenu() {
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
if [ "x$1" = "xb" -a -n "${MODEL}" -a -n "${BUILD}" -a loaderIsConfigured ]; then
|
||||||
|
make
|
||||||
|
boot
|
||||||
|
fi
|
||||||
# Main loop
|
# Main loop
|
||||||
NEXT="m"
|
NEXT="m"
|
||||||
while true; do
|
while true; do
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ synoinfo: &synoinfo
|
|||||||
support_disk_compatibility: "no"
|
support_disk_compatibility: "no"
|
||||||
support_memory_compatibility: "no"
|
support_memory_compatibility: "no"
|
||||||
supportraidgroup: "no"
|
supportraidgroup: "no"
|
||||||
supportssdcache: "no"
|
|
||||||
esataportcfg: "0x00"
|
esataportcfg: "0x00"
|
||||||
support_bde_internal_10g: "no"
|
support_bde_internal_10g: "no"
|
||||||
support_oob_ctl: "no"
|
support_oob_ctl: "no"
|
||||||
|
|||||||
@@ -109,6 +109,8 @@ echo -n "."
|
|||||||
mkdir -p "${RAMDISK_PATH}/addons"
|
mkdir -p "${RAMDISK_PATH}/addons"
|
||||||
echo "#!/bin/sh" > "${RAMDISK_PATH}/addons/addons.sh"
|
echo "#!/bin/sh" > "${RAMDISK_PATH}/addons/addons.sh"
|
||||||
echo 'echo "addons.sh called with params ${@}"' >> "${RAMDISK_PATH}/addons/addons.sh"
|
echo 'echo "addons.sh called with params ${@}"' >> "${RAMDISK_PATH}/addons/addons.sh"
|
||||||
|
chmod +x "${RAMDISK_PATH}/addons/addons.sh"
|
||||||
|
|
||||||
# Required eudev and dtbpatch/maxdisks
|
# Required eudev and dtbpatch/maxdisks
|
||||||
installAddon eudev
|
installAddon eudev
|
||||||
echo "/addons/eudev.sh \${1} " >> "${RAMDISK_PATH}/addons/addons.sh" 2>"${LOG_FILE}" || dieLog
|
echo "/addons/eudev.sh \${1} " >> "${RAMDISK_PATH}/addons/addons.sh" 2>"${LOG_FILE}" || dieLog
|
||||||
@@ -128,7 +130,6 @@ for ADDON in ${!ADDONS[@]}; do
|
|||||||
fi
|
fi
|
||||||
echo "/addons/${ADDON}.sh \${1} ${PARAMS}" >> "${RAMDISK_PATH}/addons/addons.sh" 2>"${LOG_FILE}" || dieLog
|
echo "/addons/${ADDON}.sh \${1} ${PARAMS}" >> "${RAMDISK_PATH}/addons/addons.sh" 2>"${LOG_FILE}" || dieLog
|
||||||
done
|
done
|
||||||
chmod +x "${RAMDISK_PATH}/addons/addons.sh"
|
|
||||||
|
|
||||||
# Build modules dependencies
|
# Build modules dependencies
|
||||||
/opt/arpl/depmod -a -b ${RAMDISK_PATH} 2>/dev/null
|
/opt/arpl/depmod -a -b ${RAMDISK_PATH} 2>/dev/null
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,8 +1,9 @@
|
|||||||
version: 1
|
version: 1
|
||||||
name: misc
|
name: misc
|
||||||
description: "Fix missing HW features dependencies"
|
description: "Miscellaneous functions"
|
||||||
all:
|
all:
|
||||||
install-script: "install.sh"
|
install-script: "install.sh"
|
||||||
|
copy: "all"
|
||||||
available-for:
|
available-for:
|
||||||
bromolow-3.10.108:
|
bromolow-3.10.108:
|
||||||
apollolake-4.4.180:
|
apollolake-4.4.180:
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user