mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-24 12:06:31 +01:00
refactor(script-generator): move resume init mount/network logic into helpers.sh
This commit is contained in:
parent
d7093313d7
commit
4af03590fb
4 changed files with 49 additions and 18 deletions
|
|
@ -12,17 +12,3 @@
|
|||
if test "$retval" = 0; then
|
||||
guix_cv_have_recent_guile_gcrypt="yes"
|
||||
else
|
||||
--- guix-1.5.0/configure
|
||||
+++ guix-1.5.0/configure
|
||||
@@ -8377,8 +8377,9 @@
|
||||
else
|
||||
|
||||
$GUILE -c "(use-modules (gcrypt hash))
|
||||
- (equal? (hash-algorithm sha256)
|
||||
- (lookup-hash-algorithm 'sha256))" > /dev/null 2>&1
|
||||
+ (let ((algorithm (lookup-hash-algorithm 'sha256)))
|
||||
+ (and algorithm
|
||||
+ (= 32 (hash-size algorithm))))" > /dev/null 2>&1
|
||||
retval=$?
|
||||
|
||||
if test "$retval" = 0; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue