Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • alpine-conf alpine-conf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 39
    • Issues 39
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • alpine-confalpine-conf
  • Issues
  • #10494
Closed
Open
Issue created Nov 24, 2021 by Michael Raskey@mxjr

alpine-conf: setup-alpine typo breaks use of an answers file

A change to perform some minor clean up in the "setup-alpine" script introduced a typo on line 64 which interferes with the use of an answers file:

-- 8< --
esac
if [ -n "$USERANSERFILE" ] && [ -e "$USEANSWERFILE" ]; then
	. "$USEANSWERFILE"
fi
-- 8< --

The USERANSERFILE should be: USEANSWERFILE

Reference: https://gitlab.alpinelinux.org/alpine/alpine-conf/-/blob/master/setup-alpine.in#L64

This may be easily worked around by setting USERANSERFILE when invoking "setup-alpine":

USERANSERFILE=1 setup-alpine -f ./myanswerfile
Assignee
Assign to
Time tracking