这是indexloc提供的服务,不要输入任何密码
Skip to content

bump(root/below): 0.10.0 #25449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions root-packages/below/below-config-src-lib.rs.patch
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
--- a/below/config/src/lib.rs
+++ b/below/config/src/lib.rs
@@ -22,9 +22,9 @@
@@ -27,8 +27,8 @@
#[cfg(test)]
mod test;

-pub const BELOW_DEFAULT_CONF: &str = "/etc/below/below.conf";
-const BELOW_DEFAULT_LOG: &str = "/var/log/below";
-const BELOW_DEFAULT_STORE: &str = "/var/log/below/store";
+pub const BELOW_DEFAULT_CONF: &str = "@TERMUX_PREFIX@/etc/below/below.conf";
+const BELOW_DEFAULT_LOG: &str = "@TERMUX_PREFIX@/var/log/below";
+const BELOW_DEFAULT_STORE: &str = "@TERMUX_PREFIX@/var/log/below/store";

/// Global below config
pub static BELOW_CONFIG: OnceCell<BelowConfig> = OnceCell::new();
pub static BELOW_CONFIG: OnceLock<BelowConfig> = OnceLock::new();
4 changes: 2 additions & 2 deletions root-packages/below/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/facebookincubator/below
TERMUX_PKG_DESCRIPTION="An interactive tool to view and record historical system data"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.9.0"
TERMUX_PKG_VERSION="0.10.0"
TERMUX_PKG_SRCURL=https://github.com/facebookincubator/below/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=c51c202e9c15aafc1c741f053ba374c302dc0a737aef6a1120b5c7957ab013fe
TERMUX_PKG_SHA256=04d837417acbfbbbcf58f028a4e527f4c392a459b6c1bf0fcf91a837a6cbc1dc
TERMUX_PKG_DEPENDS="libelf, zlib"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_AUTO_UPDATE=true
Expand Down
Loading