From 630394b86985b0c728b1aa05731624b0a3165f88 Mon Sep 17 00:00:00 2001 From: Antoni Villalonga Date: Sat, 26 Feb 2022 00:15:12 +0000 Subject: [PATCH] Debianize paths --- toys/other/devmem.c | 2 +- toys/other/i2ctools.c | 8 ++++---- toys/other/watchdog.c | 2 +- toys/posix/df.c | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/toys/other/devmem.c b/toys/other/devmem.c index 920d8563..9c4dd871 100644 --- a/toys/other/devmem.c +++ b/toys/other/devmem.c @@ -2,7 +2,7 @@ * * Copyright 2019 The Android Open Source Project -USE_DEVMEM(NEWTOY(devmem, "<1>3", TOYFLAG_USR|TOYFLAG_BIN)) +USE_DEVMEM(NEWTOY(devmem, "<1>3", TOYFLAG_USR|TOYFLAG_SBIN)) config DEVMEM bool "devmem" diff --git a/toys/other/i2ctools.c b/toys/other/i2ctools.c index bce160df..d49f66f2 100644 --- a/toys/other/i2ctools.c +++ b/toys/other/i2ctools.c @@ -11,10 +11,10 @@ * TODO: i2cget non-byte modes? default to current read address? * TODO: i2cset -r? -m MASK? c/s modes, p mode modifier? -USE_I2CDETECT(NEWTOY(i2cdetect, ">3aFlqry[!qr]", TOYFLAG_USR|TOYFLAG_BIN)) -USE_I2CDUMP(NEWTOY(i2cdump, "<2>2fy", TOYFLAG_USR|TOYFLAG_BIN)) -USE_I2CGET(NEWTOY(i2cget, "<3>3fy", TOYFLAG_USR|TOYFLAG_BIN)) -USE_I2CSET(NEWTOY(i2cset, "<4fy", TOYFLAG_USR|TOYFLAG_BIN)) +USE_I2CDETECT(NEWTOY(i2cdetect, ">3aFlqry[!qr]", TOYFLAG_USR|TOYFLAG_SBIN)) +USE_I2CDUMP(NEWTOY(i2cdump, "<2>2fy", TOYFLAG_USR|TOYFLAG_SBIN)) +USE_I2CGET(NEWTOY(i2cget, "<3>3fy", TOYFLAG_USR|TOYFLAG_SBIN)) +USE_I2CSET(NEWTOY(i2cset, "<4fy", TOYFLAG_USR|TOYFLAG_SBIN)) config I2CDETECT bool "i2cdetect" diff --git a/toys/other/watchdog.c b/toys/other/watchdog.c index 0402d3ee..c3268a14 100644 --- a/toys/other/watchdog.c +++ b/toys/other/watchdog.c @@ -4,7 +4,7 @@ * * See kernel.org/doc/Documentation/watchdog/watchdog-api.txt -USE_WATCHDOG(NEWTOY(watchdog, "<1>1Ft#=4<1T#=60<1", TOYFLAG_NEEDROOT|TOYFLAG_BIN)) +USE_WATCHDOG(NEWTOY(watchdog, "<1>1Ft#=4<1T#=60<1", TOYFLAG_NEEDROOT|TOYFLAG_SBIN)) config WATCHDOG bool "watchdog" diff --git a/toys/posix/df.c b/toys/posix/df.c index caf8cf89..9e3adbab 100644 --- a/toys/posix/df.c +++ b/toys/posix/df.c @@ -4,7 +4,7 @@ * * See http://opengroup.org/onlinepubs/9699919799/utilities/df.html -USE_DF(NEWTOY(df, "HPkhit*a[-HPh]", TOYFLAG_SBIN)) +USE_DF(NEWTOY(df, "HPkhit*a[-HPh]", TOYFLAG_BIN)) config DF bool "df" -- 2.39.2