NAS are more or less ?Computers, some of them support debian

if not, then chroot can be an option too...