Skip to content

Commit 52bc0d0

Browse files
committed
fix: correct typo 10-10-build.sh to 10-build.sh in documentation
- Fix all references in README.md - Fix all references in .github/copilot-instructions.md - Fix all references in custom/ujust/README.md - Fix all references in custom/flatpaks/README.md Corrects duplicate '10-' prefix introduced in previous commit.
1 parent c1b7e90 commit 52bc0d0

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/copilot-instructions.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This repository is a Universal Blue bootc image template for creating custom Lin
2929
├── README.md # User documentation
3030
├── artifacthub-repo.yml # Optional ArtifactHub metadata
3131
├── build/
32-
│ └── build.sh # Script for installing packages and system modifications
32+
│ └── 10-build.sh # Script for installing packages and system modifications
3333
├── custom/ # User customization files
3434
│ ├── brew/ # Homebrew Brewfiles for package installation
3535
│ │ ├── default.Brewfile
@@ -354,7 +354,7 @@ owners:
354354

355355
### 9. ADVANCED CONTAINERFILE MODIFICATIONS
356356

357-
**When**: User needs advanced customization beyond build.sh.
357+
**When**: User needs advanced customization beyond 10-build.sh.
358358

359359
**Scenarios**:
360360

@@ -370,7 +370,7 @@ RUN rm /opt && mkdir /opt
370370
```dockerfile
371371
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
372372
--mount=type=cache,dst=/var/cache \
373-
/ctx/build.sh && \
373+
/ctx/10-build.sh && \
374374
/ctx/post-install.sh
375375
```
376376

@@ -384,7 +384,7 @@ COPY --from=ctx /custom-configs /etc/
384384
Files in `build_files/` are available at `/ctx/` during build.
385385

386386
**Decision Logic**:
387-
- Use build.sh for 95% of customizations
387+
- Use 10-build.sh for 95% of customizations
388388
- Only edit Containerfile for:
389389
- Changing base image
390390
- Multi-stage builds
@@ -426,7 +426,7 @@ just build-iso
426426

427427
**Decision Logic**:
428428
- Always test locally before pushing to main branch
429-
- Use `just build` for quick iteration on build.sh changes
429+
- Use `just build` for quick iteration on 10-build.sh changes
430430
- Use `just build-qcow2` to test full boot process
431431
- Use `just run-vm-qcow2` to test in actual VM environment
432432

@@ -545,14 +545,14 @@ cosign.key # Must be present
545545
## Critical Rules
546546

547547
1. **NEVER** commit `cosign.key` to the repository
548-
2. **ALWAYS** disable COPRs after use in build.sh
549-
3. **ALWAYS** use `dnf5` (not dnf or yum) in build.sh
548+
2. **ALWAYS** disable COPRs after use in 10-build.sh
549+
3. **ALWAYS** use `dnf5` (not dnf or yum) in 10-build.sh
550550
4. **ALWAYS** use `-y` flag for non-interactive package installs
551551
5. **ALWAYS** set `COSIGN_PASSWORD=""` when generating keys
552552
6. **ALWAYS** update the bootc switch URL in iso.toml to match user's repo
553553
7. **ALWAYS** test base image syntax (common error: typos in image URLs)
554-
8. **NEVER** add passwords or secrets to build.sh or Containerfile
555-
9. **ALWAYS** keep build.sh modifications minimal for faster builds
554+
8. **NEVER** add passwords or secrets to 10-build.sh or Containerfile
555+
9. **ALWAYS** keep 10-build.sh modifications minimal for faster builds
556556
10. **ALWAYS** run `bootc container lint` is in Containerfile (catches many errors)
557557
11. **NEVER** install packages via dnf5 in ujust files - only use Brewfile shortcuts or Flatpak for runtime software installation
558558

@@ -582,7 +582,7 @@ Users should reference `latest` tag unless they need pinned versions.
582582
→ Verify bootc switch URL in iso.toml points to correct ghcr.io URL
583583

584584
**systemd service not enabled after install**:
585-
→ Add `systemctl enable service.name` to build.sh
585+
→ Add `systemctl enable service.name` to 10-build.sh
586586

587587
**COPR packages missing after boot**:
588588
→ COPR wasn't disabled - repos don't transfer to final image
@@ -606,7 +606,7 @@ When user requests customization, modify in this order:
606606
## Performance Optimization Notes
607607

608608
- Each RUN layer in Containerfile creates overhead
609-
- Combine commands in build.sh rather than multiple RUN directives
609+
- Combine commands in 10-build.sh rather than multiple RUN directives
610610
- Use build caches (already configured in Containerfile)
611611
- Enable rechunk for better layer distribution
612612
- Minimize installed packages for faster builds and smaller images

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,5 +264,5 @@ For more details, see the [flatpaks directory README](/custom/flatpaks/README.md
264264

265265
For packages that must be in the base image:
266266

267-
- **Package Installation**: Edit [`build/10-10-build.sh`](build/10-10-build.sh) to install system packages using dnf5
268-
- **System Services**: Enable or disable systemd services in [`build/10-10-build.sh`](build/10-10-build.sh)
267+
- **Package Installation**: Edit [`build/10-build.sh`](build/10-build.sh) to install system packages using dnf5
268+
- **System Services**: Enable or disable systemd services in [`build/10-build.sh`](build/10-build.sh)

custom/ujust/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ clean-containers:
145145

146146
## Important: Package Installation
147147

148-
**Do not install packages via dnf5/rpm in ujust commands.** Bootc images are immutable and package installation should happen at build time in [`build/10-10-build.sh`](../../build/10-10-build.sh).
148+
**Do not install packages via dnf5/rpm in ujust commands.** Bootc images are immutable and package installation should happen at build time in [`build/10-build.sh`](../../build/10-build.sh).
149149

150150
For runtime package installation, use:
151151
- **Brewfiles** - Create shortcuts to Brewfiles in [`custom/brew/`](../brew/)
@@ -192,7 +192,7 @@ just --justfile custom/ujust/custom-apps.just install-something
192192
- `custom-media.just` - Media editing workflows
193193
- `custom-dev.just` - Development environment setups
194194

195-
All `.just` files in this directory are automatically included. See [`build/10-10-build.sh`](../../build/10-10-build.sh) for the consolidation logic.
195+
All `.just` files in this directory are automatically included. See [`build/10-build.sh`](../../build/10-build.sh) for the consolidation logic.
196196

197197
## Groups for Organization
198198

0 commit comments

Comments
 (0)