Skip to content

Instantly share code, notes, and snippets.

@schlomo
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schlomo/94f9fc1bced49c8176cb to your computer and use it in GitHub Desktop.
Save schlomo/94f9fc1bced49c8176cb to your computer and use it in GitHub Desktop.
schlomo@brho:~/src/rpi-image-creator$ ./rpi-image-creator --chroot
Switching over to run as root
Fetching http://downloads.raspberrypi.org/raspbian/images/raspbian-2015-02-17/2015-02-16-raspbian-wheezy.zip
Checksum of download/2015-02-16-raspbian-wheezy.zip: OK
Loop-back mounting temp/2015-02-16-raspbian-wheezy.img
Raspbian Image Details:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/loop0p1 56M 15M 42M 26% mnt/img_root/boot
/dev/mapper/loop0p2 2.9G 2.3G 462M 84% mnt/img_root
Modifying Image
Installed SSH keys from /home/schlomo, disabling password access
Removing unwanted packages wolfram-engine
| Can not write log, openpty() failed (/dev/pts not mounted?)
| (Reading database ... 76938 files and directories currently installed.)
| Removing wolfram-engine ...
| Purging configuration files for wolfram-engine ...
| Processing triggers for shared-mime-info ...
| Processing triggers for man-db ...
| Processing triggers for hicolor-icon-theme ...
| Processing triggers for desktop-file-utils ...
Installing Updates
| Can not write log, openpty() failed (/dev/pts not mounted?)
| (Reading database ... 70527 files and directories currently installed.)
| Preparing to replace xdg-utils 1.1.0~rc1+git20111210-6+deb7u2 (using .../xdg-utils_1.1.0~rc1+git20111210-6+deb7u3_all.deb) ...
| Unpacking replacement xdg-utils ...
| Processing triggers for man-db ...
| Can not write log, openpty() failed (/dev/pts not mounted?)
| Setting up xdg-utils (1.1.0~rc1+git20111210-6+deb7u3) ...
Starting interactive Shell in image chroot
root@brho:/#
root@brho:/# uname -a
Linux brho 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:06:37 UTC 2015 armv7l GNU/Linux
root@brho:/#
root@brho:/# exit
Script execution time: 66 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment