Commit Graph

  • 9843f8a9c3 Add support for hook files in the initramfs-extra archive (MR 19) Clayton Craft 2022-03-30 22:33:38 -07:00
  • 4b8a0a0d18 copyUbootFiles: don't continue if deviceinfo_ubootboardname is unset (MR 18) 1.4.1 Clayton Craft 2022-01-24 21:25:25 -08:00
  • 338c89504f Add btrfs from btrfs-progs to initramfs-extra (MR 17) 1.4 Marian Stramm 2022-01-13 00:14:17 +01:00
  • c07eafd087 main: copy u-boot files to working directory (MR 16) Dzmitry Sankouski 2022-01-09 14:45:10 +03:00
  • 91529b736e main: Mock file system and add getFile tests feature/test-get-file Johannes Marbach 2021-12-30 14:25:37 +01:00
  • 206e75c597 get(Hook)Files: Use getFile, handle globs and dirs (MR 14) 1.3 Johannes Marbach 2021-12-06 21:09:49 +01:00
  • 7a61e5126c Add /usr/bin/unudhcpd to initfs (MR 13) 1.2 Clayton Craft 2021-11-21 12:51:13 -08:00
  • 2104f9adcb bootDeploy: ignore suffixes added by boot-deploy when copying kernel (MR 11) 1.1.2 1.1.x Clayton Craft 2021-09-16 15:15:43 -07:00
  • 0925cbd8ac bootDeploy: ignore suffixes added by boot-deploy when copying kernel (MR 11) Clayton Craft 2021-09-16 15:15:43 -07:00
  • d62180f9d6 getModuleDeps: replace Split() loop with ReplaceAllString() (MR 12) 1.1.1 Minecrell 2021-09-21 00:02:01 +02:00
  • b7f02ff970 getModulesDep: disallow regex submatches (MR 12) Minecrell 2021-09-20 23:53:38 +02:00
  • 866f17b86f getModuleDeps: replace Split() loop with ReplaceAllString() (MR 12) Minecrell 2021-09-21 00:02:01 +02:00
  • 15e99c3658 getModulesDep: disallow regex submatches (MR 12) Minecrell 2021-09-20 23:53:38 +02:00
  • 6400871749 CI: rename ci folder to consistent naming (MR 10) bo41 2021-09-14 18:28:50 +02:00
  • 829009250c tests: add getModuleDep testing 1.1 Clayton Craft 2021-09-13 14:30:44 -07:00
  • d2fe03affc getModulesDep: use regex for searching module names in modules.dep Clayton Craft 2021-09-13 14:03:21 -07:00
  • febc162491 deviceinfo: add tests for new parser (MR 4) Clayton Craft 2021-09-04 18:04:28 -07:00
  • d9f29af446 deviceinfo: implement a new simple parser (MR 4) Clayton Craft 2021-09-04 18:01:17 -07:00
  • 003e04eaf2 Remove redundant nil check (MR 8) Newbyte 2021-09-06 10:37:09 +00:00
  • 723517eb57 getInitfsModules: don't fail if kernel modules dir does not exist (MR 7) Clayton Craft 2021-09-05 14:22:07 -07:00
  • 8f53926fb5 getInitfsModules: don't fail if kernel modules dir does not exist 1.0.2 1.0.x Clayton Craft 2021-09-05 14:22:07 -07:00
  • 5dfd1e3787 use flag module from std lib for parsing cmdline args Clayton Craft 2021-09-04 23:45:44 -07:00
  • b9bea671fa main/getInitfsModules: remove superfluous continues Clayton Craft 2021-09-04 23:05:53 -07:00
  • bcced6bc10 fix lint issues from staticcheck Clayton Craft 2021-09-04 22:41:34 -07:00
  • 9b4b1c3320 createInitfsRootDirs: remove unused function Clayton Craft 2021-09-04 22:33:11 -07:00
  • 7e3268a9c8 ci: add staticcheck to linting Clayton Craft 2021-09-04 18:13:31 -07:00
  • 8128877bcb ci: use alpine linux edge image for linting/building Clayton Craft 2021-09-04 22:20:24 -07:00
  • adec7cfe07 main: replace os.exit with return Clayton Craft 2021-09-03 22:41:34 -07:00
  • 5b6cf42e10 main: add context for fatal errors Clayton Craft 2021-09-03 22:37:28 -07:00
  • 001baa29bf main/stripExts: simplify implementation Clayton Craft 2021-09-03 22:31:45 -07:00
  • 7bf5ce967f archive: remove unused checksum function Clayton Craft 2021-09-03 22:26:38 -07:00
  • 4293c887f8 Deviceinfo: replace toml lib, improve struct member names Clayton Craft 2021-09-03 22:16:47 -07:00
  • dc586f61fc archive/AddFile: add missing error check Clayton Craft 2021-09-03 21:35:29 -07:00
  • 4538e7d46b Fix copyright text in Go source files Clayton Craft 2021-09-03 21:33:31 -07:00
  • 13a3ba36bd archive/checksum: do not try to close fd if open() failed Clayton Craft 2021-09-03 21:19:11 -07:00
  • 9c7e647f9e archive: remove testing of gzip archive Clayton Craft 2021-09-03 16:27:40 -07:00
  • 155a7bc17f stripExts: don't use a cutset when removing extension 1.0.1 Clayton Craft 2021-09-01 11:03:38 -07:00
  • ad2ffc4191 getModule: handle cases where module name may have an underscore/hyphen 1.0 Clayton Craft 2021-08-18 21:55:26 -07:00
  • 666abc323e main: add call to boot-deploy after archives are generated Clayton Craft 2021-08-17 23:10:56 -07:00
  • 5256e4848a add function for calling boot-deploy to finalize/install boot files Clayton Craft 2021-08-17 23:08:17 -07:00
  • d3829af9e4 main: use a temporary work dir for writing archives into Clayton Craft 2021-08-17 23:05:16 -07:00
  • 0643ae37b2 main: tweak some log messages to user Clayton Craft 2021-08-17 23:04:15 -07:00
  • 77b2455b91 archive: replace extract test with call to gzip -t Clayton Craft 2021-08-17 15:31:40 -07:00
  • 1b9f0744b3 main: return 0 if deviceinfo is missing Clayton Craft 2021-08-16 22:32:32 -07:00
  • 217360b400 DeviceInfo: don't kill app when deviceinfo is not found Clayton Craft 2021-08-16 22:20:14 -07:00
  • 66b86cc363 archive:write: simplify verification steps Clayton Craft 2021-08-16 17:44:17 -07:00
  • 321cebff76 main: drop generating init.sh Clayton Craft 2021-08-12 15:05:22 -07:00
  • d77de3b91a main: remove support for generating initfs with kernel 'flavor' in name Clayton Craft 2021-08-12 14:50:04 -07:00
  • 58a7575848 pkgs/misc: fix linting Clayton Craft 2021-08-10 19:13:53 -07:00
  • 93333dbb25 pkgs/archive: fix linting Clayton Craft 2021-08-10 19:13:32 -07:00
  • 49cf99f4d9 ci: add initial config for gitlab CI Clayton Craft 2021-08-10 19:02:37 -07:00
  • 206020c3f1 main: drop ununsed functions Clayton Craft 2021-08-10 18:09:30 -07:00
  • 40ae9e83dd main: remove checksumFile Clayton Craft 2021-08-10 18:06:55 -07:00
  • fda793fdb4 main/generateInitfs: create init.sh in a temp dir Clayton Craft 2021-08-10 17:34:17 -07:00
  • a928314ffb include go.sum Clayton Craft 2021-08-10 14:05:58 -07:00
  • a381516e53 rename project to postmarketos-mkinitfs Clayton Craft 2021-08-10 14:02:46 -07:00
  • f0bf13c9f2 pkg/archive/Write: implement writing of archive with verification Clayton Craft 2021-08-10 13:23:56 -07:00
  • 1716445e9d pkg/archive: drop renameio dependency Clayton Craft 2021-08-10 13:22:22 -07:00
  • 2633f0bde9 pkg/archive: add function to extract archive Clayton Craft 2021-08-10 13:21:42 -07:00
  • 766da6a0dc pkg/archive: add function for checksumming a file Clayton Craft 2021-08-10 13:18:18 -07:00
  • 896d4fa0d0 pkg/misc: add function to return free space for given path Clayton Craft 2021-08-10 13:02:44 -07:00
  • 7a92fb1608 main: add log msgs for writing initfs archives Clayton Craft 2021-08-10 13:02:01 -07:00
  • 64195a5f83 initial commit Clayton Craft 2021-08-09 14:45:28 -07:00
  • d6a85fd8a0 add gitignore Clayton Craft 2021-08-09 12:49:57 -07:00