makechrootpkg: Create more functions