make: get list of file and directory names from ls

* Remove the hardcoded 'shell-init' and 'etc' and settle for
  using `ls` to get a list of files and directories
  in the rootfs directory.