Merge pull request #1646 from fewtarius/dev

Fix missing export.
This commit is contained in:
fewtarius 2023-06-29 17:17:28 -04:00 committed by GitHub
commit 9d0da0e33b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 31 deletions

View file

@ -1,34 +1,5 @@
#!/bin/bash
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
# Copyright (C) 2023-present Fewtarius (https://github.com/fewtarius)
### If you add a variable that should persist across processes,
### remember to export it here.
export SLOW_CORES \
FAST_CORES \
CPU_FREQ \
DMC_FREQ \
GPU_FREQ \
DEVICE_AUDIO_MIXER \
DEVICE_BRIGHTNESS \
DEVICE_FAKE_JACKSENSE \
DEVICE_FUNC_KEYA_MODIFIER \
DEVICE_FUNC_KEYB_MODIFIER \
DEVICE_HAS_FAN \
DEVICE_HEADPHONE_DEV \
DEVICE_INTERNAL_WIFI \
DEVICE_JACK \
DEVICE_KEY_VOLUMEDOWN \
DEVICE_KEY_VOLUMEUP \
DEVICE_LED_CONTROL \
DEVICE_PLAYBACK_PATH_HP \
DEVICE_PLAYBACK_PATH_SPK \
DEVICE_POWER_LED \
DEVICE_PWM_FAN \
DEVICE_PWM_MOTOR \
DEVICE_TEMP_SENSOR \
DEVICE_VOLUMECTL \
DEVICE_WIFI \
DEVICE_WIFI_MODULE \
UI_SERVICE
ln -sf /etc/profile.d/999-export /storage/.config/profile.d

View file

@ -0,0 +1,34 @@
#!/bin/bash
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
### If you add a variable that should persist across processes,
### remember to export it here.
export SLOW_CORES \
FAST_CORES \
CPU_FREQ \
DMC_FREQ \
GPU_FREQ \
DEVICE_AUDIO_MIXER \
DEVICE_BRIGHTNESS \
DEVICE_FAKE_JACKSENSE \
DEVICE_FUNC_KEYA_MODIFIER \
DEVICE_FUNC_KEYB_MODIFIER \
DEVICE_HAS_FAN \
DEVICE_HEADPHONE_DEV \
DEVICE_INTERNAL_WIFI \
DEVICE_JACK \
DEVICE_KEY_VOLUMEDOWN \
DEVICE_KEY_VOLUMEUP \
DEVICE_LED_CONTROL \
DEVICE_PLAYBACK_PATH_HP \
DEVICE_PLAYBACK_PATH_SPK \
DEVICE_POWER_LED \
DEVICE_PWM_FAN \
DEVICE_PWM_MOTOR \
DEVICE_TEMP_SENSOR \
DEVICE_VOLUMECTL \
DEVICE_WIFI \
DEVICE_WIFI_MODULE \
UI_SERVICE

View file

@ -83,6 +83,7 @@ if [ "${TARGET}" = "target" ] ; then
if [ -d ${PKG_TMP_DIR}/autostart ]; then
mkdir -p ${INSTALL}/usr/lib/autostart/common
cp ${PKG_TMP_DIR}/autostart/* ${INSTALL}/usr/lib/autostart/common
chmod 0755 ${INSTALL}/usr/lib/autostart/common/*
fi
if [ -d ${PKG_TMP_DIR}/daemons ]; then