[-] [email protected] 4 points 13 hours ago

Ok, if MacGyver did it then it'll hold for ages.

[-] [email protected] 4 points 13 hours ago

mecha hitler!

So someone fed it Cards Against Humanity, huh?

[-] [email protected] 1 points 2 days ago

You mean Sweeden?

[-] [email protected] 2 points 3 days ago

There's the red scare, and there's the nuke scare...

[-] [email protected] 21 points 3 days ago

Ready or not, censorship is rolling out across the internet

There, FTFY.

[-] [email protected] 5 points 3 days ago

While some parents will advocate for this bullshit (and to them i'd answer the same as you: how about you raise your kids?), when it comes from politicians the goal is control and censorship, for which Think of the children!™ is the usual excuse.

[-] [email protected] 5 points 3 days ago

How about jailing poachers?
In a cage with a rhino.

[-] [email protected] 3 points 3 days ago

It's still on my to-do list.

[-] [email protected] 12 points 3 days ago
[-] [email protected] 5 points 3 days ago

...but if you mix it with ME and NT you have a solid OS.

[-] [email protected] 9 points 4 days ago

without individual mailboxes so we could just see each other’s power bills.

Really? Them bills didn't come in named envelopes?

13
submitted 1 week ago by [email protected] to c/[email protected]
271
submitted 1 month ago by [email protected] to c/[email protected]
815
race conditions (lemmy.zip)
submitted 1 month ago by [email protected] to c/[email protected]
680
submitted 2 months ago by [email protected] to c/[email protected]

Just a little bit more privacy invasion. C'mon, juuuust a little.. 'till you no longer notice.

769
life choices (lemmy.zip)
submitted 2 months ago by [email protected] to c/[email protected]
2
submitted 3 months ago* (last edited 1 month ago) by [email protected] to c/[email protected]

I know it's not directly Debian, but...

I'm currently running a Zorin 17 x86_64 vm (in virtualbox, windows 11 host), which uses wayland.
In it i have a Debian 9 stretch aarch64 chroot, which comes with X.

I'd like to test the GUI app i compiled in that chroot, how is that feasible?

For reference, this is how i setup initially:

$ sudo apt install debootstrap qemu-user-static
$ sudo mkdir -p /opt/deb9/sysroot && sudo chown -R myuser:myuser /opt/deb9
$ sudo /usr/sbin/debootstrap --arch=arm64 --foreign --variant=minbase stretch /opt/deb9/sysroot http://archive.debian.org/debian-archive/debian/
$ sudo cp /usr/bin/qemu-aarch64-static /opt/deb9/sysroot/usr/bin/
$ sudo chroot /opt/deb9/sysroot qemu-aarch64-static /bin/bash
	# /debootstrap/debootstrap --second-stage
	# echo 'APT::Install-Recommends "0";' >> /etc/apt/apt.conf.d/99noExtras
	# echo 'APT::Install-Suggests "0";'   >> /etc/apt/apt.conf.d/99noExtras
	# echo 'deb http://archive.debian.org/debian-archive/debian/ stretch main contrib'      > /etc/apt/sources.list
	# echo 'deb-src http://archive.debian.org/debian-archive/debian/ stretch main contrib' >> /etc/apt/sources.list
	# uname -nm | sed -e 's/ /-/' > /etc/debian_chroot
	# apt update
	# apt install -y g++ make cmake automake autoconf libtool git vim pax-utils tree
	# adduser myuser
	$ su myuser
		> do stuff

~~Network isn't really configured so any git push or similar is done outside the chroot.~~

Edit: turns out i needed Debian 11 instead and it was a matter of mapping a lot of env onto the chroot, creating necessary dirs and rbinding.

Script to chroot:

#!/usr/bin/env bash

sudo mount --rbind /proc ${SYSROOT}/proc/
sudo mount --rbind /sys ${SYSROOT}/sys/
sudo mount --rbind /dev ${SYSROOT}/dev/
sudo mount --rbind /run/systemd/resolve ${SYSROOT}/run/systemd/resolve
sudo mount --rbind /run/user/1000 ${SYSROOT}/run/user/1000
sudo mount --rbind /run/mysqld ${SYSROOT}/run/mysqld
sudo mount --rbind /etc/xdg ${SYSROOT}/etc/xdg
sudo chroot ${SYSROOT} qemu-aarch64-static /bin/bash
exit 0

The caveats being MariaDB runs on the host and user 1000 isn't a portable solution.
~/.bashrc of the chrooted user:

export XDG_SESSION_DESKTOP=zorin
export XDG_SESSION_TYPE=wayland
export XDG_CURRENT_DESKTOP=zorin:GNOME
export XDG_SESSION_CLASS=user
export XDG_RUNTIME_DIR=/run/user/1000
export XDG_CONFIG_DIRS=/etc/xdg
export XAUTHORITY=$(ls -a /run/user/1000/.mutter*)
export WAYLAND_DISPLAY=wayland-0
-1
submitted 3 months ago by [email protected] to c/[email protected]

TL;DR don't restart old plants, build new ones.

47
how to leak to a journalist (www.niemanlab.org)
submitted 3 months ago by [email protected] to c/[email protected]

TL;DR

— Personal devices only
— Don’t leak from work, on a work device, or from work Wi-Fi
— Use Signal and Signal’s camera
— The reporter should recreate any image you leak before displaying it to the public

view more: next ›

0x0

0 post score
0 comment score
joined 4 months ago