David Cantrell (dcantrell@xxxxxxxxxx) said: > The primary use of --noformat is for people using a %pre script to > set up complex mount points and then direct anaconda to use then > as-is. A common pitfall is people passing --noformat for the / > volume definition, which can result in an unusable system. > > After discussing the issues for a while, we came up with: > > (1) Add a new option to the %pre script definition called > --mountpoint=PATH. A pre script defined this way would be treated > as a volume preparation script and would executed after other %pre > scripts lacking the --mountpoint parameter. > > (2) Volume preparation scripts must prepare only a single mount > point. On success, they should exit with a status of 0. > > (3) Any storage command used for / with the --noformat option would > require a '%pre --mountpoint=/' script. If the script is missing or > the exit code is non-zero, installation would stop. > > Obviously, this doesn't prevent people from creating '%pre > --mountpoint=/' scripts that just have "exit 0" as the only line, > but that's NOTABUG. I'm not clear here how you need this level of complexity just to get --noformat volumes mounted. I feel like I'm missing some critical underlying information. Bill _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list