Commit Graph

  • 7c1a4697ee
    Merge pull request #1 from bobcassels/fix-for-raspberry-pi-imager master lisanet 2024-07-02 10:42:16 +02:00
  • f76a6dcad0 Fix image size so that Raspberry Pi Imager will write them. - Don't add one to size; Raspberry Pi Imager checks that image size is a multiple of 512. - Update e2fsprogs and coreutils to latest versions. Bob Cassels 2023-01-12 11:47:49 -05:00
  • 33ec6ef8d1 Xcode replaces a tab in Makefile with space. aargh! use tab again. Simone Karin Lehmann 2018-03-16 22:26:27 +01:00
  • b24a244894 calculate extra space properly on depending on blocksize Simone Karin Lehmann 2018-03-16 22:18:15 +01:00
  • b7fd6adc6f fix typos Simone Karin Lehmann 2018-03-14 00:00:52 +01:00
  • a3f6405441 add copyright notice Simone Karin Lehmann 2018-03-13 23:44:55 +01:00
  • 24e089636e fix a typo Simone Karin Lehmann 2018-03-13 23:43:41 +01:00
  • af82904390 update README to reflect the changes on macOS. Simone Karin Lehmann 2018-03-13 23:42:33 +01:00
  • 668127a2c6 some Xcode shared data Simone Karin Lehmann 2018-03-13 22:55:52 +01:00
  • 0945eb2b94 add truncate to Makefile, add uninstall target to Makefile Simone Karin Lehmann 2018-03-13 22:43:49 +01:00
  • a9b0244e29 fix the calculation again to be used by truncate. use truncate instead of dd. add build instructions for truncate to the helper script to build it on macOS Simone Karin Lehmann 2018-03-13 22:29:56 +01:00
  • 9ec17c9c1d fix the calculation of the total new image size Simone Karin Lehmann 2018-03-13 22:23:31 +01:00
  • 39de57246b add Makefile to build e2fs tools and install everything in /usr/local/bin Simone Karin Lehmann 2018-03-13 22:04:54 +01:00
  • 35e91edc75 rename to pishrink,since we move this in /usr/local/bin and chmod a+x, add a Makefile Simone Karin Lehmann 2018-03-13 22:02:43 +01:00
  • ea26712efe add a helper script to build the e2fs tools we need. Simone Karin Lehmann 2018-03-13 21:12:47 +01:00
  • 97181f9a21 on macOS use fdisk instead of parted, hdiutil instead of losetup and dd instead of truncate. Changed the logic of adding extra space, now always use 200 MB extra space Simone Karin Lehmann 2018-03-13 20:53:36 +01:00
  • afe05729d8 no need to run as root on macOS, cause we're installing the needed ext2 tools in a user readable path Simone Karin Lehmann 2018-03-13 20:36:14 +01:00
  • b4cd7ec07a ignore more xcuserdata Simone Karin Lehmann 2018-03-13 20:32:34 +01:00
  • da1480e329 ignore xcuserdata Simone Karin Lehmann 2018-03-13 20:22:40 +01:00
  • 5f0b9f83fa as long as there's no reliable ext2 file system driver on macOS, drop the auto_expanding feature to avoid data corruption Simone Karin Lehmann 2018-03-13 20:14:32 +01:00
  • 7abc57518b README: this is a port to run on macOS Simone Karin Lehmann 2018-03-13 20:10:49 +01:00
  • 82ecbde789 place sources under Xcode Simone Karin Lehmann 2018-03-13 19:57:53 +01:00
  • 83e72eeec3
    Add NOOBS warning to README Drew Bonasera 2018-02-03 18:00:44 -05:00
  • eac933beb8 Add -a minimal to parted call to fix errors with some images Drew Bonasera 2018-02-03 17:38:31 -05:00
  • 54051ea2e3
    Merge pull request #43 from framps/master Drew Bonasera 2018-02-03 17:03:32 -05:00
  • 551e9950ac
    Reorder Readme Drew Bonasera 2018-02-03 17:02:23 -05:00
  • 8dccf7d154
    Merge pull request #40 from lurch/various-tweaks Drew Bonasera 2018-02-03 16:53:34 -05:00
  • 3568798dd4 Give the new file the same ownership as the old file (instead of having it always owned just by root) Andrew Scheller 2018-01-22 03:41:45 +00:00
  • 201db16c93 Replace expr with bash built-in arithmetic, and tidy up free-space calculation Andrew Scheller 2018-01-22 03:31:19 +00:00
  • 8331faf8f3 Check for additional required commands Andrew Scheller 2018-01-22 03:05:31 +00:00
  • e3ff4d20aa Double-quote all the filenames Andrew Scheller 2018-01-22 02:50:41 +00:00
  • ec95ba8097 ls doesn't need -a flag when passed a filename Andrew Scheller 2018-01-22 02:39:33 +00:00
  • c69f57affe Tighten up grep matches Andrew Scheller 2018-01-22 02:34:58 +00:00
  • 8784bda989 Avoid calling identical commands multiple times Andrew Scheller 2018-01-22 02:33:33 +00:00
  • 49964b512c Remove the unnecessary tr -d '\n' parts Andrew Scheller 2018-01-22 02:28:49 +00:00
  • 0b19d6c6ea Add the -s flag to all parted commands Andrew Scheller 2018-01-22 01:45:17 +00:00
  • b787dd4e66 Always quote echo strings Andrew Scheller 2018-01-22 01:37:05 +00:00
  • b11de9a8ee Remove unused variables Andrew Scheller 2018-01-22 01:34:46 +00:00
  • 9d6392d0c2 Use $() for command-substitution instead of backticks Andrew Scheller 2018-01-22 01:23:54 +00:00
  • 2d2c4d5802 Added installation instructions in README framp 2018-01-27 20:45:32 +01:00
  • 2aa44f0ecd
    Fix error return value Drew Bonasera 2018-01-27 00:03:04 -05:00
  • e7857ff47c
    Merge pull request #38 from lurch/patch-1 Drew Bonasera 2018-01-21 17:58:56 -05:00
  • 2229ae89a6
    Don't allow a directory to be selected Andrew Scheller 2018-01-21 22:08:43 +00:00
  • c40b443072
    Merge pull request #34 from framps/master Drew Bonasera 2018-01-16 00:52:54 -05:00
  • 5a89ff4262
    Fix typos in README Drew Bonasera 2018-01-16 00:40:29 -05:00
  • f83e3f341d Autorepair fsck errors framp 2017-12-29 18:03:11 +01:00
  • da3bf15dac
    Merge pull request #31 from framps/master Drew Bonasera 2017-12-07 00:17:18 -05:00
  • 4af698457e Accept filenames with spaces framp 2017-12-02 23:18:54 +01:00
  • ff89083249 Update auto expanding script Drew Bonasera 2017-10-24 03:50:46 -04:00
  • 63b7509ade Merge pull request #15 from shatteredsword/master Drew Bonasera 2017-07-15 00:40:28 -04:00
  • e326f426bb Merge pull request #17 from raspberrycoulis/patch-1 Drew Bonasera 2017-07-12 22:34:09 -04:00
  • f5246e8898 Update README.md Wesley Archer 2017-07-12 16:35:15 +01:00
  • 0b04de8118 reverted to using raspi-config to be used for automatic image resizing Sean Mayo 2017-07-07 15:53:20 -07:00
  • e1966ab967 Merge pull request #9 from cskiraly/master dev Drew Bonasera 2016-12-03 21:25:03 -05:00
  • 900eab7b05 more README Csaba Kiraly 2016-11-24 15:40:23 +01:00
  • ae83ca90ef add -i flag to shrink first and copy after Csaba Kiraly 2016-11-24 15:38:11 +01:00
  • bb3982edfd if shrinking from device, copy only the relevant part Csaba Kiraly 2016-11-24 15:37:39 +01:00
  • e8bf195453 explicitly list device usage in README Csaba Kiraly 2016-11-24 12:00:20 +01:00
  • 57a69657c8 do not truncate if used directly on the SD Csaba Kiraly 2016-11-24 11:59:51 +01:00
  • 9b55197d9b Remove need for raspi-config to be installed on the image for resizing. Drew Bonasera 2016-10-31 01:42:34 -04:00
  • 75dafa2801 Fix spacing Drew Bonasera 2016-08-22 04:11:37 -04:00
  • ba76ae0063 Merge pull request #7 from carlfj/fix-indents-for-md5sum Drew Bonasera 2016-08-17 21:22:06 -04:00
  • 8388774c3e New indents broke rc.local md5sum, startup script Carl Jensen 2016-08-18 03:01:14 +02:00
  • abb17e217e Merge pull request #5 from rbaumbach/master Drew Bonasera 2016-07-13 15:44:08 -04:00
  • cad2e0e11a
    Add getops to script to provide user the ability to skip autoexpanding process of the script rbaumbach 2016-07-09 20:45:54 -07:00
  • 816e1efa15 update readme Drew Bonasera 2016-07-07 01:33:43 -04:00
  • c519a658c7 Fix issue #4 where the script tries to resize to a larger or equal size Drew Bonasera 2016-07-07 01:28:32 -04:00
  • 0b8020ac18 Change parameters to cp for image copy Drew Bonasera 2016-04-28 02:10:01 -04:00
  • ed4bcea683 Add option to copy to new file before script executes While not the most efficient method it will at least work for now Drew Bonasera 2016-04-28 01:35:12 -04:00
  • 1f91ea1f87 Add warning to backup Drew Bonasera 2016-04-27 04:38:35 -04:00
  • f45603840e Change to pull partition number from the image rather than hardcoded Drew Bonasera 2016-04-27 04:33:21 -04:00
  • e3b321a9d7 Remove bc dependency by replacing with expr Drew Bonasera 2016-04-27 04:32:22 -04:00
  • f4282842da Remove the use of awk Drew Bonasera 2016-04-27 02:10:23 -04:00
  • 33aeacb375 Add checks for parted and bc being installed. These are most likely to be missing on distros. Drew Bonasera 2016-04-26 12:03:43 -04:00
  • 62ba3fb3b7 Update README.md Drew Bonasera 2016-04-22 02:25:31 -04:00
  • 2c6f069c2f Add safeties Drew Bonasera 2016-04-19 04:21:22 -04:00
  • 28ce07ba0c Fix readme Drew Bonasera 2016-04-11 23:05:45 -04:00
  • ca4de5aa4e Initial Commit Drew Bonasera 2016-04-11 23:05:00 -04:00