SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had in the past build it and it was running with this command: /usr/bin/waydroid -w container start
I search and found my old slackbuilds for this packages, i build and install ok but it not running because it need a dependency python3-gbinder
But i tried to build from ponce repo as i m in current and I have errors. Give me some time ...
edit: take the Slackbuild maybe you have better luck before me
Code:
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=waydroid
VERSION=${VERSION:-1.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_rtz}
PKGTYPE=${PKGTYPE:-txz}
LINK=https://github.com/waydroid/waydroid/archive/refs/tags/
GVERS=$VERSION.tar.gz
wget -c "$LINK""$GVERS"
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
TMP=${TMP:-/tmp/rtz}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
JOBS=-j$(getconf _NPROCESSORS_ONLN)
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make "$JOBS"
make install DESTDIR=$PKG
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CODE_OF_CONDUCT.md LICENSE* README* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l n -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
[02:25:19] Failed to load binder driver
[02:25:19] modprobe: FATAL: Module binder_linux not found in directory /lib/modules/6.8.7
[02:25:19] ERROR: Binder node "binder" for waydroid not found
[02:25:19] See also: <https://github.com/waydroid>
[02:25:19] Failed to load binder driver
[02:25:19] modprobe: FATAL: Module binder_linux not found in directory /lib/modules/6.8.7
[02:25:19] ERROR: Binder node "binder" for waydroid not found
[02:25:19] See also: <https://github.com/waydroid>
You rebuild the entire kernel?
Can't you just build the binder kernel module?
there are multiple options for this, since "Building a kernel" failed 3 times, I decided to build the zen kernel and not only use zen headers... sometimes we want a stable good result even if more time needed than a forth failure at 4:00 AM
I'm not familiar with zen kernel. Why'd you chose that one?
It was a spur of the moment decision. First because I knew waydroid will finally run for sure, and then I test it on the specific laptop (cpu)...
Builded using my oldconfig just edit and add
It was a spur of the moment decision. First because I knew waydroid will finally run for sure, and then I test it on the specific laptop (cpu)...
Builded using my oldconfig just edit and add
I have two differences. I enabled binderfs and I used an initrd. And I can't get it working.
Running
Code:
./waydroid.py show-full-ui
as non-root user in Weston, I get:
Code:
WayDroid container is not listening.
Code:
./waydroid.py container start
still hangs.
What do you think I should change?
Update: I noticed that I didn't have a "CONFIG_ANDROID=y" line in my .config. I'm rebuilding now and will let you know if that helps. It probably will.
But its not working properly imo...
And its not slackware problem... there are Waydroid bugs which effects lot of distros.
In other words I m not happy with it... there are better solutions out there...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.