btashton opened a new issue #1363: URL: https://github.com/apache/incubator-nuttx/issues/1363
@liuguo09 noticed this issue with the 9.1.0 RC1 release tarball. We are removing important files like the rcS initd file from the sim:nsh build. When I ran a diff against the tarball and the git repo (excluding gitignore) I found other files including the asm for the z80 port that are being stripped. The output is this: ``` ❯ diff -rq nuttx/ ../incubator-nuttx | grep -v gitignore Only in ../incubator-nuttx/arch/z80/src/ez80: ez80f91_handlers.asm Only in ../incubator-nuttx/arch/z80/src/ez80: ez80f91_init.asm Only in ../incubator-nuttx/arch/z80/src/ez80: ez80f92_handlers.asm Only in ../incubator-nuttx/arch/z80/src/ez80: ez80f92_init.asm Only in ../incubator-nuttx/arch/z80/src/ez80: ez80f92_loader.asm Only in ../incubator-nuttx/arch/z80/src/ez80: ez80f92_program.asm Only in ../incubator-nuttx/arch/z80/src/ez80: ez80_getsp.asm Only in ../incubator-nuttx/arch/z80/src/ez80: ez80_io.asm Only in ../incubator-nuttx/arch/z80/src/ez80: ez80_irqcommon.asm Only in ../incubator-nuttx/arch/z80/src/ez80: ez80_irqsave.asm Only in ../incubator-nuttx/arch/z80/src/ez80: ez80_progentry.asm Only in ../incubator-nuttx/arch/z80/src/ez80: ez80_reset.asm Only in ../incubator-nuttx/arch/z80/src/ez80: ez80_restorecontext.asm Only in ../incubator-nuttx/arch/z80/src/ez80: ez80_saveusercontext.asm Only in ../incubator-nuttx/arch/z80/src/ez80: ez80_startup.asm Only in ../incubator-nuttx/arch/z80/src/z180: z180_head.asm Only in ../incubator-nuttx/arch/z80/src/z180: z180_restoreusercontext.asm Only in ../incubator-nuttx/arch/z80/src/z180: z180_rom.asm Only in ../incubator-nuttx/arch/z80/src/z180: z180_romvectors.asm Only in ../incubator-nuttx/arch/z80/src/z180: z180_saveusercontext.asm Only in ../incubator-nuttx/arch/z80/src/z180: z180_vectcommon.asm Only in ../incubator-nuttx/arch/z80/src/z180: z180_vectors.asm Only in ../incubator-nuttx/arch/z80/src/z80: z80_head.asm Only in ../incubator-nuttx/arch/z80/src/z80: z80_restoreusercontext.asm Only in ../incubator-nuttx/arch/z80/src/z80: z80_rom.asm Only in ../incubator-nuttx/arch/z80/src/z80: z80_saveusercontext.asm Only in ../incubator-nuttx: .asf.yaml Only in ../incubator-nuttx/boards/arm/samd5e5/metro-m4/scripts: nvm.srec Only in ../incubator-nuttx/boards/arm/samd5e5/same54-xplained-pro/scripts: nvm.srec Only in ../incubator-nuttx/boards/sim/sim/sim/src/etc: init.d Only in ../incubator-nuttx: .git Only in ../incubator-nuttx: .github Only in nuttx/: .version ``` Note that the zipme.sh calls tar with these options ``` + tar --exclude=.github --exclude=.asf.yaml --exclude-vcs-ignores --exclude-vcs -czf apache-nuttx-9.1.0-incubating.tar.gz nuttx ``` The `.asm` files are striped because of the `.asm` file in the `.gitignore file in the base directory triggered by `--exclude-vcs-ignores` The missing `init.d` I suspect is caused because inside that folder is a `rcS` file. RCS (unclear if it is case sensitive) is removed by the `--exclude-vcs` flag (RCS is an old version control system) see https://www.gnu.org/software/tar/manual/html_node/exclude.html ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org