Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Commit

Permalink
Add hypriot-resize-rootdisk.service
Browse files Browse the repository at this point in the history
  • Loading branch information
DieterReuter committed Jan 16, 2016
1 parent e2d9cea commit f176e44
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion builder/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ mount -t sysfs none $BUILD_PATH/sys

#---modify image---
# modify/add image files directly
cp /builder/resize-disk-odroid.sh $BUILD_PATH/root/
cp -R /builder/files/* $BUILD_PATH/

# modify image in chroot environment
chroot $BUILD_PATH /bin/bash </builder/chroot-script.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Unit]
Description=Resize root disk to maximum size

[Service]
Type=oneshot
ExecStart=/usr/local/bin/hypriot-resize-rootdisk

[Install]
WantedBy=multi-user.target

0 comments on commit f176e44

Please sign in to comment.